MCPcopy
hub / github.com/kubernetes/kops / Instance

Interface Instance

pkg/resources/spotinst/interfaces.go:53–62  ·  view source on GitHub ↗

Instance wraps a cloud-specific instance object.

Source from the content-addressed store, hash-verified

51
52 // Instance wraps a cloud-specific instance object.
53 Instance interface {
54 // Id returns the ID of the instance.
55 Id() string
56
57 // CreatedAt returns the timestamp when the Instance has been created.
58 CreatedAt() time.Time
59
60 // Obj returns the raw object which is a cloud-specific implementation.
61 Obj() interface{}
62 }
63
64 // LaunchSpec wraps a cloud-specific launch specification object.
65 LaunchSpec interface {

Callers 17

listInstanceGroupsFunction · 0.65
listLaunchSpecsFunction · 0.65
DeleteInstanceGroupFunction · 0.65
DeleteInstanceFunction · 0.65
registerCloudInstancesFunction · 0.65
instanceGroupDeleterFunction · 0.65
registerCloudInstancesFunction · 0.65
CreateMethod · 0.65
UpdateMethod · 0.65
CreateMethod · 0.65

Implementers 5

awsElastigroupInstanceGrouppkg/resources/spotinst/aws.go
awsElastigroupInstancepkg/resources/spotinst/aws.go
awsOceanInstanceGrouppkg/resources/spotinst/aws.go
awsOceanInstancepkg/resources/spotinst/aws.go
awsOceanLaunchSpecpkg/resources/spotinst/aws.go

Calls

no outgoing calls

Tested by

no test coverage detected