Categorygithub.com/linode/linodego
modulepackage
1.46.0
Repository: https://github.com/linode/linodego.git
Documentation: pkg.go.dev

# README

linodego

Tests Release GoDoc Go Report Card

Go client for Linode REST v4 API

Installation

go get -u github.com/linode/linodego

Documentation

See godoc for a complete reference.

The API generally follows the naming patterns prescribed in the OpenAPIv3 document for Linode APIv4.

Deviations in naming have been made to avoid using "Linode" and "Instance" redundantly or inconsistently.

A brief summary of the features offered in this API client are shown here.

Examples

General Usage

package main

import (
	"context"
	"fmt"
	"log"
	"net/http"
	"os"

	"github.com/linode/linodego"
	"golang.org/x/oauth2"
)

func main() {
	apiKey, ok := os.LookupEnv("LINODE_TOKEN")
	if !ok {
		log.Fatal("Could not find LINODE_TOKEN, please assert it is set.")
	}
	tokenSource := oauth2.StaticTokenSource(&oauth2.Token{AccessToken: apiKey})

	oauth2Client := &http.Client{
		Transport: &oauth2.Transport{
			Source: tokenSource,
		},
	}

	linodeClient := linodego.NewClient(oauth2Client)
	linodeClient.SetDebug(true)

	res, err := linodeClient.GetInstance(context.Background(), 4090913)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Printf("%v", res)
}

Pagination

Auto-Pagination Requests

kernels, err := linodego.ListKernels(context.Background(), nil)
// len(kernels) == 218

Or, use a page value of "0":

opts := linodego.NewListOptions(0,"")
kernels, err := linodego.ListKernels(context.Background(), opts)
// len(kernels) == 218

Single Page

opts := linodego.NewListOptions(2,"")
// or opts := linodego.ListOptions{PageOptions: &linodego.PageOptions{Page: 2}, PageSize: 500}
kernels, err := linodego.ListKernels(context.Background(), opts)
// len(kernels) == 100

ListOptions are supplied as a pointer because the Pages and Results values are set in the supplied ListOptions.

// opts.Results == 218

NOTES:

  • The ListOptions will be mutated by list endpoint functions.
  • Instances of ListOptions should NOT be shared across multiple list endpoint functions.
  • The resulting number of results and pages can be accessed through the user-supplied ListOptions instance.

Filtering

f := linodego.Filter{}
f.AddField(linodego.Eq, "mine", true)
fStr, err := f.MarshalJSON()
if err != nil {
    log.Fatal(err)
}
opts := linodego.NewListOptions(0, string(fStr))
stackscripts, err := linodego.ListStackscripts(context.Background(), opts)

Error Handling

Getting Single Entities

linode, err := linodego.GetInstance(context.Background(), 555) // any Linode ID that does not exist or is not yours
// linode == nil: true
// err.Error() == "[404] Not Found"
// err.Code == "404"
// err.Message == "Not Found"

Lists

For lists, the list is still returned as [], but err works the same way as on the Get request.

linodes, err := linodego.ListInstances(context.Background(), linodego.NewListOptions(0, "{\"foo\":bar}"))
// linodes == []
// err.Error() == "[400] [X-Filter] Cannot filter on foo"

Otherwise sane requests beyond the last page do not trigger an error, just an empty result:

linodes, err := linodego.ListInstances(context.Background(), linodego.NewListOptions(9999, ""))
// linodes == []
// err = nil

Response Caching

By default, certain endpoints with static responses will be cached into memory. Endpoints with cached responses are identified in their accompanying documentation.

The default cache entry expiry time is 15 minutes. Certain endpoints may override this value to allow for more frequent refreshes (e.g. client.GetRegion(...)). The global cache expiry time can be customized using the client.SetGlobalCacheExpiration(...) method.

Response caching can be globally disabled or enabled for a client using the client.UseCache(...) method.

The global cache can be cleared and refreshed using the client.InvalidateCache() method.

Writes

When performing a POST or PUT request, multiple field related errors will be returned as a single error, currently like:

// err.Error() == "[400] [field1] foo problem; [field2] bar problem; [field3] baz problem"

Tests

Run make testunit to run the unit tests.

Run make testint to run the integration tests. The integration tests use fixtures.

To update the test fixtures, run make fixtures. This will record the API responses into the fixtures/ directory. Be careful about committing any sensitive account details. An attempt has been made to sanitize IP addresses and dates, but no automated sanitization will be performed against fixtures/*Account*.yaml, for example.

To prevent disrupting unaffected fixtures, target fixture generation like so: make ARGS="-run TestListVolumes" fixtures.

Discussion / Help

Join us at #linodego on the gophers slack

License

MIT License

# Functions

No description provided by the author
ErrHasStatus checks if err is an error from the Linode API, and whether it contains the given HTTP status code.
No description provided by the author
IsNotFound indicates if err indicates a 404 Not Found error from the Linode API.
NewClient factory to create new Client struct.
NewClientFromEnv creates a Client and initializes it with values from the LINODE_CONFIG file and the LINODE_TOKEN environment variable.
NewError creates a linodego.Error with a Code identifying the source err type, - ErrorFromString (1) from a string - ErrorFromError (2) for an error - ErrorFromStringer (3) for a Stringer - HTTP Status Codes (100-600) for a resty.Response object.
NewListOptions simplified construction of ListOptions using only the two writable properties, Page and Filter.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
AccountServiceTransferStatus constants reflect the current status of an AccountServiceTransfer.
AccountServiceTransferStatus constants reflect the current status of an AccountServiceTransfer.
AccountServiceTransferStatus constants reflect the current status of an AccountServiceTransfer.
AccountServiceTransferStatus constants reflect the current status of an AccountServiceTransfer.
AccountServiceTransferStatus constants reflect the current status of an AccountServiceTransfer.
AccountServiceTransferStatus constants reflect the current status of an AccountServiceTransfer.
ObjectStorageACL options represent the access control level of a bucket.
ObjectStorageACL options represent the access control level of a bucket.
ObjectStorageACL options represent the access control level of a bucket.
ObjectStorageACL options represent the access control level of a bucket.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
Deprecated: incorrect spelling, to be removed in the next major version.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
#nosec G101.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
Deprecated: incorrect spelling, to be removed in the next major version release.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
EventAction constants represent the actions that cause an Event.
ConfigAlgorithm constants reflect the NodeBalancer Config Algorithm.
ConfigAlgorithm constants reflect the NodeBalancer Config Algorithm.
ConfigAlgorithm constants reflect the NodeBalancer Config Algorithm.
APIConfigEnvVar environment var to get path to Linode config.
APIConfigProfileEnvVar specifies the profile to use when loading from a Linode config.
No description provided by the author
APIEnvVar environment var to check for API token.
APIHost Linode API hostname.
APIHostCert environment var containing path to CA cert to validate against.
APIHostVar environment var to check for alternate API URL.
APIProto connect to API with http(s).
Maximum wait time for retries.
APISecondsPerPoll how frequently to poll for new Events or Status in WaitFor functions.
APIVersion Linode API version.
APIVersionVar environment var to check for alternate API Version.
No description provided by the author
LishAuthMethod constants are the methods of authentication allowed when connecting via Lish.
LishAuthMethod constants are the methods of authentication allowed when connecting via Lish.
LishAuthMethod constants are the methods of authentication allowed when connecting via Lish.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
Deprecated: CapabilityObjectStorageRegions constant has been renamed to `CapabilityObjectStorageAccessKeyRegions`.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
This is an enumeration of Capabilities Linode offers that can be referenced through the user-facing parts of the application.
ConfigCheck constants reflect the node health status checking method for a NodeBalancer Config.
ConfigCheck constants reflect the node health status checking method for a NodeBalancer Config.
ConfigCheck constants reflect the node health status checking method for a NodeBalancer Config.
ConfigCheck constants reflect the node health status checking method for a NodeBalancer Config.
ConfigCipher constants reflect the preferred cipher set for a NodeBalancer Config.
ConfigCipher constants reflect the preferred cipher set for a NodeBalancer Config.
LinodeTypeClass contants are the Instance Type Classes that an Instance Type can be assigned.
LinodeTypeClass contants are the Instance Type Classes that an Instance Type can be assigned.
LinodeTypeClass contants are the Instance Type Classes that an Instance Type can be assigned.
LinodeTypeClass contants are the Instance Type Classes that an Instance Type can be assigned.
LinodeTypeClass contants are the Instance Type Classes that an Instance Type can be assigned.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DiskStatus constants represent the status values an Instance Disk may have.
DiskStatus constants represent the status values an Instance Disk may have.
DiskStatus constants represent the status values an Instance Disk may have.
DomainStatus constants reflect the current status of a Domain.
DomainStatus constants reflect the current status of a Domain.
DomainStatus constants reflect the current status of a Domain.
DomainStatus constants reflect the current status of a Domain.
DomainType constants reflect the DNS zone type of a Domain.
DomainType constants reflect the DNS zone type of a Domain.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
EntityType contants are the entities an Event can be related to.
No description provided by the author
ErrorFromError is the Code identifying Errors created by error types.
ErrorFromString is the Code identifying Errors created by string types.
ErrorFromStringer is the Code identifying Errors created by fmt.Stringer types.
No description provided by the author
EventStatus constants reflect the current status of an Event.
EventStatus constants reflect the current status of an Event.
EventStatus constants reflect the current status of an Event.
EventStatus constants reflect the current status of an Event.
EventStatus constants reflect the current status of an Event.
DiskFilesystem constants represent the filesystems types an Instance Disk may use.
DiskFilesystem constants represent the filesystems types an Instance Disk may use.
DiskFilesystem constants represent the filesystems types an Instance Disk may use.
DiskFilesystem constants represent the filesystems types an Instance Disk may use.
DiskFilesystem constants represent the filesystems types an Instance Disk may use.
FirewallStatus enums start with Firewall.
FirewallDeviceType constants start with FirewallDevice.
FirewallDeviceType constants start with FirewallDevice.
FirewallStatus enums start with Firewall.
FirewallStatus enums start with Firewall.
No description provided by the author
No description provided by the author
NetworkProtocol enum values.
ImageRegionStatus options start with ImageRegionStatus and include all Image replica statuses.
ImageRegionStatus options start with ImageRegionStatus and include all Image replica statuses.
ImageRegionStatus options start with ImageRegionStatus and include all Image replica statuses.
ImageRegionStatus options start with ImageRegionStatus and include all Image replica statuses.
ImageRegionStatus options start with ImageRegionStatus and include all Image replica statuses.
ImageRegionStatus options start with ImageRegionStatus and include all Image replica statuses.
ImageStatus options start with ImageStatus and include all Image statuses.
ImageStatus options start with ImageStatus and include all Image statuses.
ImageStatus options start with ImageStatus and include all Image statuses.
InstanceStatus constants reflect the current status of an Instance.
InstanceStatus constants reflect the current status of an Instance.
InstanceStatus constants reflect the current status of an Instance.
No description provided by the author
No description provided by the author
InstanceStatus constants reflect the current status of an Instance.
InstanceStatus constants reflect the current status of an Instance.
InstanceStatus constants reflect the current status of an Instance.
InstanceStatus constants reflect the current status of an Instance.
InstanceStatus constants reflect the current status of an Instance.
InstanceStatus constants reflect the current status of an Instance.
InstanceStatus constants reflect the current status of an Instance.
InstanceStatus constants reflect the current status of an Instance.
InstanceStatus constants reflect the current status of an Instance.
No description provided by the author
No description provided by the author
No description provided by the author
NetworkProtocol enum values.
InstanceIPType constants represent the IP types an Instance IP may be.
InstanceIPType constants represent the IP types an Instance IP may be.
InstanceIPType constants represent the IP types an Instance IP may be.
InstanceIPType constants represent the IP types an Instance IP may be.
LKEClusterStatus enums start with LKECluster.
LKEClusterStatus enums start with LKECluster.
LKENodePoolStatus constants reflect the current status of an LKENodePool.
LKENodePoolStatus constants reflect the current status of an LKENodePool.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NotificationSeverity constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
NotificationSeverity constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
NotificationSeverity constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
OAuthClientStatus constants reflect the current status of an OAuth Client.
OAuthClientStatus constants reflect the current status of an OAuth Client.
OAuthClientStatus constants reflect the current status of an OAuth Client.
NotificationType constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
NotificationType constants represent the actions that cause a Notification.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConfigProtocol constants reflect the protocol used by a NodeBalancer Config.
ConfigProtocol constants reflect the protocol used by a NodeBalancer Config.
ConfigProtocol constants reflect the protocol used by a NodeBalancer Config.
ConfigProxyProtocol constatns reflect the proxy protocol version used by a NodeBalancer Config.
ConfigProxyProtocol constatns reflect the proxy protocol version used by a NodeBalancer Config.
ConfigProxyProtocol constatns reflect the proxy protocol version used by a NodeBalancer Config.
DomainRecordType contants are the DNS record types a DomainRecord can assign.
DomainRecordType contants are the DNS record types a DomainRecord can assign.
DomainRecordType contants are the DNS record types a DomainRecord can assign.
DomainRecordType contants are the DNS record types a DomainRecord can assign.
DomainRecordType contants are the DNS record types a DomainRecord can assign.
DomainRecordType contants are the DNS record types a DomainRecord can assign.
DomainRecordType contants are the DNS record types a DomainRecord can assign.
DomainRecordType contants are the DNS record types a DomainRecord can assign.
DomainRecordType contants are the DNS record types a DomainRecord can assign.
ConfigStickiness constants reflect the node stickiness method for a NodeBalancer Config.
ConfigStickiness constants reflect the node stickiness method for a NodeBalancer Config.
ConfigStickiness constants reflect the node stickiness method for a NodeBalancer Config.
NetworkProtocol enum values.
TicketStatus constants reflect the current status of a Ticket.
TicketStatus constants reflect the current status of a Ticket.
TicketStatus constants reflect the current status of a Ticket.
NetworkProtocol enum values.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
VolumeActive indicates the Volume is online and available for use.
VolumeContactSupport indicates there is a problem with the Volume.
VolumeCreating indicates the Volume is being created and is not yet available for use.
VolumeResizing indicates the Volume is in the process of upgrading its current capacity.
No description provided by the author

# Variables

No description provided by the author
DefaultUserAgent is the default User-Agent sent in HTTP request headers.
ModeAccept is the NodeMode indicating a NodeBalancer Node is accepting traffic.
ModeBackup is the NodeMode indicating a NodeBalancer Node will only receive traffic if all "accept" Nodes are down.
ModeDrain is the NodeMode indicating a NodeBalancer Node is not receiving new traffic, but may continue receiving traffic from pinned connections.
ModeReject is the NodeMode indicating a NodeBalancer Node is not receiving traffic.
InstanceSnapshotStatus constants reflect the current status of an Instance Snapshot.
InstanceSnapshotStatus constants reflect the current status of an Instance Snapshot.
InstanceSnapshotStatus constants reflect the current status of an Instance Snapshot.
InstanceSnapshotStatus constants reflect the current status of an Instance Snapshot.
InstanceSnapshotStatus constants reflect the current status of an Instance Snapshot.
InstanceSnapshotStatus constants reflect the current status of an Instance Snapshot.
InstanceSnapshotStatus constants reflect the current status of an Instance Snapshot.
No description provided by the author

# Structs

Account associated with the token in use.
AccountAgreements represents the agreements and their acceptance status for an Account.
AccountAgreementsUpdateOptions fields are those accepted by UpdateAccountAgreements.
AccountAvailability returns the resources availability in a region to an account.
The details and enrollment information of a Beta program that an account is enrolled in.
AccountBetaProgramCreateOpts fields are those accepted by JoinBetaProgram.
AccountMaintenance represents a Maintenance object for any entity a user has permissions to view.
AccountServiceTransfer represents a request to transfer a service on an Account.
AccountServiceTransferEntity represents a collection of the services to include in a transfer request, separated by type.
No description provided by the author
AccountSettings are the account wide flags or plans that effect new resources.
AccountSettingsUpdateOptions are the updateable account wide flags or plans that effect new resources.
AccountTransfer represents an Account's network utilization for the current month.
AccountTransferRegion represents an Account's network utilization for the current month in a given region.
AccountUpdateOptions fields are those accepted by UpdateAccount.
No description provided by the author
APIError is the error-set returned by the Linode API when presented with an invalid request.
APIErrorReason is an individual invalid request message returned by the Linode API.
Beta Program is a new product or service that is not generally available to all Akamai customers.
Client is a wrapper around the Resty client.
No description provided by the author
ClusterPrice for Hourly and Monthly price models.
No description provided by the author
No description provided by the author
ConfirmTwoFactorOptions contains fields used by ConfirmTwoFactor.
ConfirmTwoFactorResponse contains fields returned by ConfirmTwoFactor.
CreditCard information associated with the Account.
A Database is a instance of Linode Managed Databases.
DatabaseEngine is information about Engines supported by Linode Managed Databases.
DatabaseFork describes the source and restore time for the fork for forked DBs.
DatabaseHost for Primary/Secondary of Database.
DatabaseMaintenanceWindow stores information about a MySQL cluster's maintenance window.
No description provided by the author
DatabaseType is information about the supported Database Types by Linode Managed Databases.
DatabaseTypeEngine Sizes and Prices.
DatabaseTypeEngineMap stores a list of Database Engine types by engine.
DevicesCreationOptions fields are used when adding devices during the Firewall creation process.
Domain represents a Domain object.
No description provided by the author
DomainCreateOptions fields are those accepted by CreateDomain.
No description provided by the author
DomainRecord represents a DomainRecord object.
DomainRecordCreateOptions fields are those accepted by CreateDomainRecord.
DomainRecordUpdateOptions fields are those accepted by UpdateDomainRecord.
DomainUpdateOptions converts a Domain to DomainUpdateOptions for use in UpdateDomain.
DomainZoneFile represents the Zone File of a Domain.
The entity being affected by maintenance.
No description provided by the author
No description provided by the author
Error wraps the LinodeGo error with the relevant http.Response.
Event represents an action taken on the Account.
EventEntity provides detailed information about the Event's associated entity, including ID, Type, Label, and a URL that can be used to access it.
No description provided by the author
No description provided by the author
A Firewall is a set of networking rules (iptables) applied to Devices with which it is associated.
FirewallCreateOptions fields are those accepted by CreateFirewall.
FirewallDevice represents a device governed by a Firewall.
FirewallDeviceCreateOptions fields are those accepted by CreateFirewallDevice.
FirewallDeviceEntity contains information about a device associated with a Firewall.
A FirewallRule is a whitelist of ports, protocols, and addresses for which traffic should be allowed.
FirewallRuleSet is a pair of inbound and outbound rules that specify what network traffic should be allowed.
FirewallUpdateOptions is an options struct used when Updating a Firewall.
No description provided by the author
No description provided by the author
Image represents a deployable Image object for use with Linode Instances.
ImageCreateOptions fields are those accepted by CreateImage.
ImageCreateUploadOptions fields are those accepted by CreateImageUpload.
ImageCreateUploadResponse fields are those returned by CreateImageUpload.
ImageRegion represents the status of an Image object in a given Region.
ImageReplicateOptions represents the options accepted by the ReplicateImage(...) function.
ImageUpdateOptions fields are those accepted by UpdateImage.
ImageUploadOptions fields are those accepted by UploadImage.
Instance represents a linode object.
InstanceAlert represents a metric alert.
InstanceBackup represents backup settings for an instance.
InstanceBackupSnapshotResponse fields are those representing Instance Backup Snapshots.
InstanceBackupsResponse response struct for backup snapshot.
InstanceCloneOptions is an options struct sent when Cloning an Instance.
InstanceConfig represents all of the settings that control the boot and run configuration of a Linode Instance.
InstanceConfigCreateOptions are InstanceConfig settings that can be used at creation.
InstanceConfigDevice contains either the DiskID or VolumeID assigned to a Config Device.
InstanceConfigDeviceMap contains SDA-SDH InstanceConfigDevice settings.
InstanceConfigHelpers are Instance Config options that control Linux distribution specific tweaks.
InstanceConfigInterface contains information about a configuration's network interface.
No description provided by the author
No description provided by the author
No description provided by the author
InstanceConfigUpdateOptions are InstanceConfig settings that can be used in updates.
InstanceCreateOptions require only Region and Type.
InstanceCreatePlacementGroupOptions represents the placement group to create this Linode under.
InstanceDisk represents an Instance Disk object.
No description provided by the author
InstanceDiskCreateOptions are InstanceDisk settings that can be used at creation.
InstanceDiskUpdateOptions are InstanceDisk settings that can be used in updates.
InstanceIP represents an Instance IP with additional DNS and networking details.
InstanceIPAddressResponse contains the IPv4 and IPv6 details for an Instance.
InstanceIPNAT1To1 contains information about the NAT 1:1 mapping of a public IP address to a VPC subnet.
InstanceIPv4Response contains the details of all IPv4 addresses associated with an Instance.
InstanceIPv6Response contains the IPv6 addresses and ranges for an Instance.
InstanceMetadataOptions specifies various Instance creation fields that relate to the Linode Metadata service.
InstanceMigrateOptions is an options struct used when migrating an instance.
InstancePasswordResetOptions specifies the new password for the Linode.
InstancePlacementGroup represents information about the placement group this Linode is a part of.
InstanceRebuildOptions is a struct representing the options to send to the rebuild linode endpoint.
InstanceRescueOptions fields are those accepted by RescueInstance.
No description provided by the author
InstanceResizeOptions is an options struct used when resizing an instance.
InstanceSnapshot represents a linode backup snapshot.
InstanceSnapshotDisk fields represent the source disk of a Snapshot.
InstanceSpec represents a linode spec.
InstanceStats represents an instance stats object.
InstanceStatsData represents an instance stats data object.
InstanceTransfer pool stats for a Linode Instance during the current billing month.
InstanceUpdateOptions is an options struct used when Updating an Instance.
InstanceUpgradeOptions is a struct representing the options for upgrading a Linode.
Invoice structs reflect an invoice for billable activity on the account.
InvoiceItem structs reflect a single billable activity associate with an Invoice.
No description provided by the author
IPAddressesShareOptions fields are those accepted by ShareIPAddresses.
IPAddressUpdateOptions fields are those accepted by UpdateIPAddress.
IPAddressUpdateOptionsV2 fields are those accepted by UpdateIPAddress.
IPv6Range represents a range of IPv6 addresses routed to a single Linode in a given Region.
IPv6RangeCreateOptions fields are those accepted by CreateIPv6Range.
LastLogin represents a LastLogin object.
LinodeAddons represent the linode addons object.
LinodeBackupsAddon represents a linode backups addon object.
LinodeIPAssignment stores an assignment between an IP address and a Linode instance.
LinodeKernel represents a Linode Instance kernel object.
LinodePrice represents a linode type price object.
LinodeRegionPrice represents an individual type or addon price exception for a region.
LinodesAssignIPsOptions fields are those accepted by InstancesAssignIPs.
LinodeType represents a linode type object.
ListIPAddressesQuery fields are those accepted as query params for the ListIPAddresses function.
ListOptions are the pagination and filtering (TODO) parameters for endpoints nolint.
LKECluster represents a LKECluster object.
LKEClusterAPIEndpoint fields are those returned by ListLKEClusterAPIEndpoints.
LKEClusterControlPlane fields contained within the `control_plane` attribute of an LKE cluster.
LKEClusterControlPlaneACL describes the ACL configuration for an LKE cluster's control plane.
LKEClusterControlPlaneACLAddresses describes the allowed IP ranges for an LKE cluster's control plane.
LKEClusterControlPlaneACLAddressesOptions are the options used to specify the allowed IP ranges for an LKE cluster's control plane.
LKEClusterControlPlaneACLOptions represents the options used when configuring an LKE cluster's control plane ACL policy.
LKEClusterControlPlaneACLResponse represents the response structure for the Client.GetLKEClusterControlPlaneACL(...) method.
LKEClusterControlPlaneACLUpdateOptions represents the options available when updating the ACL configuration of an LKE cluster's control plane.
LKEClusterControlPlaneOptions represents the options used when configuring an LKE cluster's control plane.
LKEClusterCreateOptions fields are those accepted by CreateLKECluster.
LKEClusterDashboard fields are those returned by GetLKEClusterDashboard.
LKEClusterKubeconfig fields are those returned by GetLKEClusterKubeconfig.
LKEClusterPollOptions configures polls against LKE Clusters.
LKEClusterRegenerateOptions fields are those accepted by RegenerateLKECluster.
LKEClusterUpdateOptions fields are those accepted by UpdateLKECluster.
LKENodePool represents a LKENodePool object.
No description provided by the author
LKENodePoolCreateOptions fields are those accepted by CreateLKENodePool.
LKENodePoolDisk represents a Node disk in an LKENodePool object.
LKENodePoolLinode represents a LKENodePoolLinode object.
LKENodePoolTaint represents a corev1.Taint to add to an LKENodePool.
LKENodePoolUpdateOptions fields are those accepted by UpdateLKENodePoolUpdate.
LKEType represents a single valid LKE type.
LKETypePrice represents the base hourly and monthly prices for an LKE type entry.
LKETypeRegionPrice represents the regional hourly and monthly prices for an LKE type entry.
LKEVersion fields are those returned by GetLKEVersion.
No description provided by the author
No description provided by the author
LongviewClient represents a LongviewClient object.
LongviewClientCreateOptions is an options struct used when Creating a Longview Client.
LongviewClientCreateOptions is an options struct used when Updating a Longview Client.
LongviewPlan represents a Longview Plan object.
LongviewPlanUpdateOptions is an options struct used when Updating a Longview Plan.
LongviewSubscription represents a LongviewSubscription object.
MonthlyInstanceTransferStats pool stats for a Linode Instance network transfer statistics for a specific month.
MySQLBackupCreateOptions are options used for CreateMySQLDatabaseBackup(...) Deprecated: MySQLBackupCreateOptions is a deprecated struct, as the backup endpoints are no longer supported in DBaaS V2.
MySQLCreateOptions fields are used when creating a new MySQL Database.
A MySQLDatabase is an instance of Linode MySQL Managed Databases.
MySQLDatabaseBackup is information for interacting with a backup for the existing MySQL Database Deprecated: MySQLDatabaseBackup is a deprecated struct, as the backup endpoints are no longer supported in DBaaS V2.
MySQLDatabaseCredential is the Root Credentials to access the Linode Managed Database.
MySQLDatabaseSSL is the SSL Certificate to access the Linode Managed MySQL Database.
MySQLUpdateOptions fields are used when altering the existing MySQL Database.
NetworkAddresses are arrays of ipv4 and v6 addresses.
NetworkTransferPrice represents a single valid network transfer price.
NetworkTransferTypePrice represents the base hourly and monthly prices for a network transfer price entry.
NetworkTransferTypeRegionPrice represents the regional hourly and monthly prices for a network transfer price entry.
NodeBalancer represents a NodeBalancer object.
NodeBalancerConfig objects allow a NodeBalancer to accept traffic on a new port.
NodeBalancerConfigCreateOptions are permitted by CreateNodeBalancerConfig.
NodeBalancerConfigRebuildNodeOptions represents a node defined when rebuilding a NodeBalancer config.
NodeBalancerConfigRebuildOptions used by RebuildNodeBalancerConfig.
NodeBalancerCreateOptions are the options permitted for CreateNodeBalancer.
NodeBalancerNode objects represent a backend that can accept traffic for a NodeBalancer Config.
NodeBalancerNodeCreateOptions fields are those accepted by CreateNodeBalancerNode.
NodeBalancerNodeStatus represents the total number of nodes whose status is Up or Down.
NodeBalancerNodeUpdateOptions fields are those accepted by UpdateNodeBalancerNode.
NodeBalancerStats represents a nodebalancer stats object.
NodeBalancerStatsData represents a nodebalancer stats data object.
NodeBalancerTransfer contains information about the amount of transfer a NodeBalancer has had in the current month.
NodeBalancerType represents a single valid NodeBalancer type.
NodeBalancerTypePrice represents the base hourly and monthly prices for a NodeBalancer type entry.
NodeBalancerTypeRegionPrice represents the regional hourly and monthly prices for a NodeBalancer type entry.
NodeBalancerUpdateOptions are the options permitted for UpdateNodeBalancer.
Notification represents a notification on an Account.
NotificationEntity adds detailed information about the Notification.
OAuthClient represents a OAuthClient object.
OAuthClientCreateOptions fields are those accepted by CreateOAuthClient.
OAuthClientUpdateOptions fields are those accepted by UpdateOAuthClient.
ObjectStorageBucket represents a ObjectStorage object.
ObjectStorageBucketAccess holds Object Storage access info.
No description provided by the author
Deprecated: Please use ObjectStorageBucketCertV2 for all new implementations.
No description provided by the author
No description provided by the author
ObjectStorageBucketContent holds the content of an ObjectStorageBucket.
ObjectStorageBucketContentData holds the data of the content of an ObjectStorageBucket.
ObjectStorageBucketCreateOptions fields are those accepted by CreateObjectStorageBucket.
ObjectStorageBucketListContentsParams fields are the query parameters for ListObjectStorageBucketContents.
ObjectStorageBucketUpdateAccessOptions fields are those accepted by UpdateObjectStorageBucketAccess.
ObjectStorageCluster represents a linode object storage cluster object.
ObjectStorageEndpoint represents a linode object storage endpoint object.
ObjectStorageKey represents a linode object storage key object.
ObjectStorageKeyBucketAccess represents a linode limited object storage key's bucket access.
ObjectStorageKeyCreateOptions fields are those accepted by CreateObjectStorageKey.
No description provided by the author
ObjectStorageKeyUpdateOptions fields are those accepted by UpdateObjectStorageKey.
Deprecated: Please use ObjectStorageObjectACLConfigV2 for all new implementations.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ObjectStorageTransfer is an object matching the response of object-storage/transfer.
PageOptions are the pagination parameters for List endpoints.
Payment represents a Payment object.
PaymentCreateOptions fields are those accepted by CreatePayment.
PaymentMethod represents a PaymentMethod object.
PaymentMethodCreateOptions fields are those accepted by CreatePaymentMethod.
No description provided by the author
PaymentMethodDataCreditCard represents a PaymentMethodDataCreditCard object.
PaymentMethodDataGooglePay represents a PaymentMethodDataGooglePay object.
PaymentMethodDataPaypal represents a PaymentMethodDataPaypal object.
PlacementGroup represents a Linode placement group.
PlacementGroupAssignOptions represents options used when assigning Linodes to a placement group.
PlacementGroupCreateOptions represents the options to use when creating a placement group.
PlacementGroupMember represents a single Linode assigned to a placement group.
PlacementGroupMigrationInstance represents the unique identifier for a compute instance being migrated to/from the placement group.
PlacementGroupMigrations represent the instances that are being migrated to or from the placement group.
PlacementGroupUnAssignOptions represents options used when unassigning Linodes from a placement group.
PlacementGroupUpdateOptions represents the options to use when updating a placement group.
PostgresBackupCreateOptions are options used for CreatePostgresDatabaseBackup(...) Deprecated: PostgresBackupCreateOptions is a deprecated struct, as the backup endpoints are no longer supported in DBaaS V2.
PostgresCreateOptions fields are used when creating a new Postgres Database.
A PostgresDatabase is an instance of Linode Postgres Managed Databases.
PostgresDatabaseBackup is information for interacting with a backup for the existing Postgres Database Deprecated: PostgresDatabaseBackup is a deprecated struct, as the backup endpoints are no longer supported in DBaaS V2.
PostgresDatabaseCredential is the Root Credentials to access the Linode Managed Database.
PostgresDatabaseSSL is the SSL Certificate to access the Linode Managed Postgres Database.
PostgresUpdateOptions fields are used when altering the existing Postgres Database.
Profile represents a Profile object.
ProfileApp represents a ProfileApp object.
ProfileDevice represents a ProfileDevice object.
Profile represents a Profile object.
ProfileReferrals represent a User's status in the Referral Program.
ProfileUpdateOptions fields are those accepted by UpdateProfile.
PromoCodeCreateOptions fields are those accepted by AddPromoCode.
Promotion represents a Promotion object.
Region represents a linode region object.
Region represents a linode region object.
RegionPlacementGroupLimits contains information about the placement group limits for the current user in the current region.
RegionResolvers contains the DNS resolvers of a region.
No description provided by the author
ReserveIPOptions represents the options for reserving an IP address NOTE: Reserved IP feature may not currently be available to all users.
RestoreInstanceOptions fields are those accepted by InstanceRestore.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SendPhoneNumberVerificationCodeOptions fields are those accepted by SendPhoneNumberVerificationCode.
SortedObjects currently only includes Instances.
SSHKey represents a SSHKey object.
SSHKeyCreateOptions fields are those accepted by CreateSSHKey.
SSHKeyUpdateOptions fields are those accepted by UpdateSSHKey.
Stackscript represents a Linode StackScript.
StackscriptCreateOptions fields are those accepted by CreateStackscript.
StackscriptUDF define a single variable that is accepted by a Stackscript.
StatsIO represents an IO stats object.
StatsNet represents a network stats object.
StatsTraffic represents a Traffic stats object.
Tag represents a Tag object.
TagCreateOptions fields are those accepted by CreateTag.
TaggedObject represents a Tagged Object object.
Ticket represents a support ticket object.
TicketEntity refers a ticket to a specific entity.
Token represents a Token object.
TokenCreateOptions fields are those accepted by CreateToken.
TokenUpdateOptions fields are those accepted by UpdateToken.
TwoFactorSecret contains fields returned by CreateTwoFactorSecret.
User represents a User object.
UserCreateOptions fields are those accepted by CreateUser.
No description provided by the author
No description provided by the author
UserUpdateOptions fields are those accepted by UpdateUser.
VerifyPhoneNumberOptions fields are those accepted by VerifyPhoneNumber.
No description provided by the author
Volume represents a linode volume object.
VolumeAttachOptions fields are those accepted by AttachVolume.
VolumeCreateOptions fields are those accepted by CreateVolume.
VolumeType represents a single valid Volume type.
VolumeTypePrice represents the base hourly and monthly prices for a volume type entry.
VolumeTypeRegionPrice represents the regional hourly and monthly prices for a volume type entry.
VolumeUpdateOptions fields are those accepted by UpdateVolume.
No description provided by the author
No description provided by the author
VPCIP represents a private IP address in a VPC subnet with additional networking details.
No description provided by the author
No description provided by the author
No description provided by the author
VPCSubnetLinode represents a Linode currently assigned to a VPC subnet.
VPCSubnetLinodeInterface represents an interface on a Linode that is currently assigned to this VPC subnet.
No description provided by the author
No description provided by the author

# Interfaces

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

# Type aliases

AccountServiceTransferStatus constants start with AccountServiceTransfer and include Linode API Account Service Transfer Status values.
ChildAccount represents an account under the current account.
ChildAccountToken represents a short-lived token created using the CreateChildAccountToken(...) function.
ClusterConditionFunc represents a function that tests a condition against an LKE cluster, returns true if the condition has been reached, false if it has not yet been reached.
ConfigAlgorithm constants start with Algorithm and include Linode API NodeBalancer Config Algorithms.
ConfigCheck constants start with Check and include Linode API NodeBalancer Config Check methods.
ConfigCipher constants start with Cipher and include Linode API NodeBalancer Config Cipher values.
ConfigInterfacePurpose options start with InterfacePurpose and include all known interface purpose types.
ConfigProtocol constants start with Protocol and include Linode API Nodebalancer Config protocols.
ConfigProxyProtocol constants start with ProxyProtocol and include Linode API NodeBalancer Config proxy protocol versions.
ConfigStickiness constants start with Stickiness and include Linode API NodeBalancer Config Stickiness.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DiskFilesystem constants start with Filesystem and include Linode API Filesystems.
DiskStatus constants have the prefix "Disk" and include Linode API Instance Disk Status.
DomainRecordType constants start with RecordType and include Linode API Domain Record Types.
DomainStatus constants start with DomainStatus and include Linode API Domain Status values.
DomainType constants start with DomainType and include Linode API Domain Type values.
EntityType constants start with Entity and include Linode API Event Entity Types.
EventAction constants start with Action and include all known Linode API Event Actions.
EventStatus constants start with Event and include Linode API Event Status values.
No description provided by the author
FirewallDeviceType represents the different kinds of devices governable by a Firewall.
FirewallStatus enum type.
No description provided by the author
No description provided by the author
ImageRegionStatus represents the status of an Image's replica.
ImageStatus represents the status of an Image.
No description provided by the author
InstanceIPType constants start with IPType and include Linode Instance IP Types.
No description provided by the author
InstanceSnapshotStatus constants start with Snapshot and include Linode API Instance Backup Snapshot status values.
InstanceStatus constants start with Instance and include Linode API Instance Status values.
LinodeTypeClass constants start with Class and include Linode API Instance Type Classes.
LishAuthMethod constants start with AuthMethod and include Linode API Lish Authentication Methods.
Deprecated: LKEClusterPool represents a LKEClusterPool object.
Deprecated: LKEClusterPoolAutoscaler represents an AutoScaler configuration.
Deprecated: LKEClusterPoolCreateOptions fields are those accepted by CreateLKEClusterPool.
Deprecated: LKEClusterPoolDisk represents a Node disk in an LKEClusterPool object.
Deprecated: LKEClusterPoolLinode represents a LKEClusterPoolLinode object.
Deprecated: LKEClusterPoolsPagedResponse exists for historical compatibility and should not be used.
Deprecated: LKEClusterPoolUpdateOptions fields are those accepted by UpdateLKEClusterPool.
LKEClusterStatus represents the status of an LKECluster.
LKELinodeStatus constants start with LKELinode and include Linode API LKENodePool Linode Status values.
LKENodePoolLabels represents Kubernetes labels to add to an LKENodePool.
LKENodePoolTaintEffect represents the effect value of a taint.
No description provided by the author
No description provided by the author
No description provided by the author
NetworkProtocol enum type.
NodeBalancerConfigUpdateOptions are permitted by UpdateNodeBalancerConfig.
NodeMode is the mode a NodeBalancer should use when sending traffic to a NodeBalancer Node.
NotificationSeverity constants start with Notification and include all known Linode API Notification Severities.
NotificationType constants start with Notification and include all known Linode API Notification Types.
OAuthClientStatus constants start with OAuthClient and include Linode API Instance Status values.
ObjectStorageACL options start with ACL and include all known ACL types.
NotificationType constants start with Notification and include all known Linode API Notification Types.
PlacementGroupPolicy is an enum for the policy that determines whether a Linode can be assigned to a Placement Group.
PlacementGroupType is an enum that determines the affinity policy for Linodes in a placement group.
No description provided by the author
No description provided by the author
No description provided by the author
ProfilePreferences represents the user's preferences.
No description provided by the author
No description provided by the author
type RetryAfter func(c *resty.Client, r *resty.Response) (time.Duration, error).
type RetryConditional func(r *resty.Response) (shouldRetry bool).
StackscriptUpdateOptions fields are those accepted by UpdateStackscript.
TaggedObjectList are a list of TaggedObjects, as returning by ListTaggedObjects.
TicketStatus constants start with Ticket and include Linode API Ticket Status values.
No description provided by the author
VolumeStatus indicates the status of the Volume.