package
0.16.0
Repository: https://github.com/threefoldtech/tfgrid-sdk-go.git
Documentation: pkg.go.dev

# Functions

DefaultLimit returns the default values for the pagination.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
Capacity is the resources needed for workload(cpu, memory, SSD disk, HDD disks).
CapacityResult is the NodeData capacity results to unmarshal json in it.
Contract represents a contract and its details after decoding to one of Details structs.
ContractBilling is contract billing info.
ContractFilter contract filters.
Dmi holds hardware dmi info for a node used as both gorm model and server json response.
Farm info about the farm.
FarmFilter farm filters.
HasIpv6 holds the state of node having ipv6 used as gorm model.
Health represent the healthiness of the server and connections.
HealthReport holds the state of node healthiness used as gorm model.
No description provided by the author
No description provided by the author
Limit used for pagination.
Location represent the geographic info about the node.
No description provided by the author
NameContractDetails name contract details.
Node is a struct holding the data for a Node for the nodes view.
NodeContractDetails node contract details.
No description provided by the author
NodeFilter node filters.
NodeGpu holds info for a node gpu used as both gorm model and server json response.
NodePower struct is the farmerbot report for node status.
NodeStatistics node statistics info.
NodeStatisticsResources resources returned on node statistics.
NodeStatisticsUsers users info returned on node statistics.
NodeStatus is used for status endpoint to decode json in.
NodesWorkloads holds the number of workloads on a node.
Node to be compatible with old view.
No description provided by the author
PublicConfig node public config.
PublicIP info about public ip in the farm.
No description provided by the author
RawContract represents a contract and its details in json RawMessage before decoding.
RentContractDetails rent contract details.
Speed holds upload/download speeds in `bit/sec` for a node used as both gorm model and server json response.
Stats contains aggregate info about the grid.
StatsFilter statistics filters.
Twin is the twin info.
TwinConsumption show a report of user spent in TFT.
TwinFilter twin filters.
Version represent the deployed version of gridproxy.

# Interfaces

ContractDetails represent details for all contract types.

# Type aliases

SortBy is the sorted by field.
SortOrder is the direction of sorting.