linodeclient

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodebalancerIDParam = "nodebalancerID"
	ConfigIDParam       = "configID"
	DomainIDParam       = "domainID"
	DiskIDParam         = "diskID"
	NodeIDParam         = "nodeID"
	DomainRecordIDParam = "domainRecordID"
	LinodeIDParam       = "linodeID"
	KeyIDParam          = "keyID"
	VpcIDParam          = "vpcID"
	ImageIDParam        = "imageID"
	ClusterParam        = "cluster"
	LabelParam          = "label"
	RegionIDParam       = "regionID"
	TypeIDParam         = "typeID"
	SizeParam           = "size"
	RecordReqParam      = "recordReq"
)

Variables

This section is empty.

Functions

func DefaultDecorator added in v0.6.0

func DefaultDecorator() func(span trace.Span, params, results map[string]interface{})

Types

type LinodeClientWithTracing

type LinodeClientWithTracing struct {
	_sourceClients.LinodeClient
	// contains filtered or unexported fields
}

LinodeClientWithTracing implements _sourceClients.LinodeClient interface instrumented with opentracing spans

func NewLinodeClientWithTracing

func NewLinodeClientWithTracing(base _sourceClients.LinodeClient, spanDecorator ...func(span trace.Span, params, results map[string]interface{})) LinodeClientWithTracing

NewLinodeClientWithTracing returns LinodeClientWithTracing

func (LinodeClientWithTracing) AssignPlacementGroupLinodes added in v0.6.0

func (_d LinodeClientWithTracing) AssignPlacementGroupLinodes(ctx context.Context, id int, options linodego.PlacementGroupAssignOptions) (pp1 *linodego.PlacementGroup, err error)

AssignPlacementGroupLinodes implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) BootInstance

func (_d LinodeClientWithTracing) BootInstance(ctx context.Context, linodeID int, configID int) (err error)

BootInstance implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreateDomainRecord

func (_d LinodeClientWithTracing) CreateDomainRecord(ctx context.Context, domainID int, recordReq linodego.DomainRecordCreateOptions) (dp1 *linodego.DomainRecord, err error)

CreateDomainRecord implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreateFirewall added in v0.6.1

CreateFirewall implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreateInstance

CreateInstance implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreateInstanceDisk

func (_d LinodeClientWithTracing) CreateInstanceDisk(ctx context.Context, linodeID int, opts linodego.InstanceDiskCreateOptions) (ip1 *linodego.InstanceDisk, err error)

CreateInstanceDisk implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreateNodeBalancer

CreateNodeBalancer implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreateNodeBalancerConfig

func (_d LinodeClientWithTracing) CreateNodeBalancerConfig(ctx context.Context, nodebalancerID int, opts linodego.NodeBalancerConfigCreateOptions) (np1 *linodego.NodeBalancerConfig, err error)

CreateNodeBalancerConfig implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreateNodeBalancerNode

func (_d LinodeClientWithTracing) CreateNodeBalancerNode(ctx context.Context, nodebalancerID int, configID int, opts linodego.NodeBalancerNodeCreateOptions) (np1 *linodego.NodeBalancerNode, err error)

CreateNodeBalancerNode implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreateObjectStorageBucket

CreateObjectStorageBucket implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreateObjectStorageKey

CreateObjectStorageKey implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreatePlacementGroup added in v0.6.0

CreatePlacementGroup implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreateStackscript

CreateStackscript implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) CreateVPC

func (_d LinodeClientWithTracing) CreateVPC(ctx context.Context, opts linodego.VPCCreateOptions) (vp1 *linodego.VPC, err error)

CreateVPC implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) DeleteDomainRecord

func (_d LinodeClientWithTracing) DeleteDomainRecord(ctx context.Context, domainID int, domainRecordID int) (err error)

DeleteDomainRecord implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) DeleteFirewall added in v0.6.1

func (_d LinodeClientWithTracing) DeleteFirewall(ctx context.Context, firewallID int) (err error)

DeleteFirewall implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) DeleteFirewallDevice added in v0.6.1

func (_d LinodeClientWithTracing) DeleteFirewallDevice(ctx context.Context, firewallID int, deviceID int) (err error)

DeleteFirewallDevice implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) DeleteInstance

func (_d LinodeClientWithTracing) DeleteInstance(ctx context.Context, linodeID int) (err error)

DeleteInstance implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) DeleteNodeBalancer

func (_d LinodeClientWithTracing) DeleteNodeBalancer(ctx context.Context, nodebalancerID int) (err error)

DeleteNodeBalancer implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) DeleteNodeBalancerNode

func (_d LinodeClientWithTracing) DeleteNodeBalancerNode(ctx context.Context, nodebalancerID int, configID int, nodeID int) (err error)

DeleteNodeBalancerNode implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) DeleteObjectStorageKey

func (_d LinodeClientWithTracing) DeleteObjectStorageKey(ctx context.Context, keyID int) (err error)

DeleteObjectStorageKey implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) DeletePlacementGroup added in v0.6.0

func (_d LinodeClientWithTracing) DeletePlacementGroup(ctx context.Context, id int) (err error)

DeletePlacementGroup implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) DeleteVPC

func (_d LinodeClientWithTracing) DeleteVPC(ctx context.Context, vpcID int) (err error)

DeleteVPC implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetFirewall added in v0.6.1

func (_d LinodeClientWithTracing) GetFirewall(ctx context.Context, firewallID int) (fp1 *linodego.Firewall, err error)

GetFirewall implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetFirewallDevice added in v0.6.1

func (_d LinodeClientWithTracing) GetFirewallDevice(ctx context.Context, firewallID int, deviceID int) (fp1 *linodego.FirewallDevice, err error)

GetFirewallDevice implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetFirewallRules added in v0.6.1

func (_d LinodeClientWithTracing) GetFirewallRules(ctx context.Context, firewallID int) (fp1 *linodego.FirewallRuleSet, err error)

GetFirewallRules implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetImage

func (_d LinodeClientWithTracing) GetImage(ctx context.Context, imageID string) (ip1 *linodego.Image, err error)

GetImage implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetInstance

func (_d LinodeClientWithTracing) GetInstance(ctx context.Context, linodeID int) (ip1 *linodego.Instance, err error)

GetInstance implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetInstanceDisk

func (_d LinodeClientWithTracing) GetInstanceDisk(ctx context.Context, linodeID int, diskID int) (ip1 *linodego.InstanceDisk, err error)

GetInstanceDisk implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetInstanceIPAddresses

func (_d LinodeClientWithTracing) GetInstanceIPAddresses(ctx context.Context, linodeID int) (ip1 *linodego.InstanceIPAddressResponse, err error)

GetInstanceIPAddresses implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetNodeBalancer added in v0.5.0

func (_d LinodeClientWithTracing) GetNodeBalancer(ctx context.Context, nodebalancerID int) (np1 *linodego.NodeBalancer, err error)

GetNodeBalancer implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetNodeBalancerConfig added in v0.5.0

func (_d LinodeClientWithTracing) GetNodeBalancerConfig(ctx context.Context, nodebalancerID int, configID int) (np1 *linodego.NodeBalancerConfig, err error)

GetNodeBalancerConfig implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetObjectStorageBucket

func (_d LinodeClientWithTracing) GetObjectStorageBucket(ctx context.Context, regionID string, label string) (op1 *linodego.ObjectStorageBucket, err error)

GetObjectStorageBucket implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetObjectStorageBucketAccess added in v0.6.1

func (_d LinodeClientWithTracing) GetObjectStorageBucketAccess(ctx context.Context, clusterOrRegionID string, label string) (op1 *linodego.ObjectStorageBucketAccess, err error)

GetObjectStorageBucketAccess implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetObjectStorageKey

func (_d LinodeClientWithTracing) GetObjectStorageKey(ctx context.Context, keyID int) (op1 *linodego.ObjectStorageKey, err error)

GetObjectStorageKey implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetPlacementGroup added in v0.6.0

func (_d LinodeClientWithTracing) GetPlacementGroup(ctx context.Context, id int) (pp1 *linodego.PlacementGroup, err error)

GetPlacementGroup implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetRegion

func (_d LinodeClientWithTracing) GetRegion(ctx context.Context, regionID string) (rp1 *linodego.Region, err error)

GetRegion implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetType

func (_d LinodeClientWithTracing) GetType(ctx context.Context, typeID string) (lp1 *linodego.LinodeType, err error)

GetType implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) GetVPC

func (_d LinodeClientWithTracing) GetVPC(ctx context.Context, vpcID int) (vp1 *linodego.VPC, err error)

GetVPC implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) ListDomainRecords

func (_d LinodeClientWithTracing) ListDomainRecords(ctx context.Context, domainID int, opts *linodego.ListOptions) (da1 []linodego.DomainRecord, err error)

ListDomainRecords implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) ListDomains

func (_d LinodeClientWithTracing) ListDomains(ctx context.Context, opts *linodego.ListOptions) (da1 []linodego.Domain, err error)

ListDomains implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) ListInstanceConfigs

func (_d LinodeClientWithTracing) ListInstanceConfigs(ctx context.Context, linodeID int, opts *linodego.ListOptions) (ia1 []linodego.InstanceConfig, err error)

ListInstanceConfigs implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) ListInstances

func (_d LinodeClientWithTracing) ListInstances(ctx context.Context, opts *linodego.ListOptions) (ia1 []linodego.Instance, err error)

ListInstances implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) ListNodeBalancerNodes added in v0.6.1

func (_d LinodeClientWithTracing) ListNodeBalancerNodes(ctx context.Context, nodebalancerID int, configID int, opts *linodego.ListOptions) (na1 []linodego.NodeBalancerNode, err error)

ListNodeBalancerNodes implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) ListPlacementGroups added in v0.6.0

func (_d LinodeClientWithTracing) ListPlacementGroups(ctx context.Context, options *linodego.ListOptions) (pa1 []linodego.PlacementGroup, err error)

ListPlacementGroups implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) ListStackscripts

func (_d LinodeClientWithTracing) ListStackscripts(ctx context.Context, opts *linodego.ListOptions) (sa1 []linodego.Stackscript, err error)

ListStackscripts implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) ListVPCs

func (_d LinodeClientWithTracing) ListVPCs(ctx context.Context, opts *linodego.ListOptions) (va1 []linodego.VPC, err error)

ListVPCs implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) ResizeInstanceDisk

func (_d LinodeClientWithTracing) ResizeInstanceDisk(ctx context.Context, linodeID int, diskID int, size int) (err error)

ResizeInstanceDisk implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) UnassignPlacementGroupLinodes added in v0.6.0

func (_d LinodeClientWithTracing) UnassignPlacementGroupLinodes(ctx context.Context, id int, options linodego.PlacementGroupUnAssignOptions) (pp1 *linodego.PlacementGroup, err error)

UnassignPlacementGroupLinodes implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) UpdateDomainRecord

func (_d LinodeClientWithTracing) UpdateDomainRecord(ctx context.Context, domainID int, domainRecordID int, recordReq linodego.DomainRecordUpdateOptions) (dp1 *linodego.DomainRecord, err error)

UpdateDomainRecord implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) UpdateFirewall added in v0.6.1

func (_d LinodeClientWithTracing) UpdateFirewall(ctx context.Context, firewallID int, opts linodego.FirewallUpdateOptions) (fp1 *linodego.Firewall, err error)

UpdateFirewall implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) UpdateFirewallRules added in v0.6.1

func (_d LinodeClientWithTracing) UpdateFirewallRules(ctx context.Context, firewallID int, rules linodego.FirewallRuleSet) (fp1 *linodego.FirewallRuleSet, err error)

UpdateFirewallRules implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) UpdateInstanceConfig

func (_d LinodeClientWithTracing) UpdateInstanceConfig(ctx context.Context, linodeID int, configID int, opts linodego.InstanceConfigUpdateOptions) (ip1 *linodego.InstanceConfig, err error)

UpdateInstanceConfig implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) UpdateObjectStorageBucketAccess added in v0.6.1

func (_d LinodeClientWithTracing) UpdateObjectStorageBucketAccess(ctx context.Context, clusterOrRegionID string, label string, opts linodego.ObjectStorageBucketUpdateAccessOptions) (err error)

UpdateObjectStorageBucketAccess implements _sourceClients.LinodeClient

func (LinodeClientWithTracing) UpdatePlacementGroup added in v0.6.0

func (_d LinodeClientWithTracing) UpdatePlacementGroup(ctx context.Context, id int, options linodego.PlacementGroupUpdateOptions) (pp1 *linodego.PlacementGroup, err error)

UpdatePlacementGroup implements _sourceClients.LinodeClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL