Documentation ¶
Index ¶
- func IsInvalidConfig(err error) bool
- func IsNotFound(err error) bool
- func IsTooManyCRsError(err error) bool
- type Config
- type Images
- func (i *Images) AMI(ctx context.Context, obj interface{}, flatcarReleaseVersion string) (string, error)
- func (i *Images) AWSCNI(ctx context.Context, obj interface{}) (string, error)
- func (i *Images) CC(ctx context.Context, obj interface{}) (k8scloudconfig.Images, error)
- func (i *Images) Versions(ctx context.Context, obj interface{}) (k8scloudconfig.Versions, error)
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsTooManyCRsError ¶
IsTooManyCRsError asserts tooManyCRsError.
Types ¶
type Images ¶
type Images struct {
// contains filtered or unexported fields
}
type Interface ¶
type Interface interface { // AMI looks up necessary information to compute the relevant EC2 AMI for the // given object's region and release version. Paramter obj must be a // metav1.Object and contain the Giant Swarm specific cluster ID label and // release version label. AMI(ctx context.Context, obj interface{}, flatcarReleaseVersion string) (string, error) // AWSCNI looks up aws-cni version to compute the relevant Cloud Config // images for the given object's release version. Paramter obj must be a // metav1.Object and contain the Giant Swarm specific release version label. AWSCNI(ctx context.Context, obj interface{}) (string, error) // CC looks up necessary information to compute the relevant Cloud Config // images for the given object's release version. Paramter obj must be a // metav1.Object and contain the Giant Swarm specific release version label. CC(ctx context.Context, obj interface{}) (k8scloudconfig.Images, error) // Versions looks up necessary information to compute the relevant Cloud Config // images versions for the given object's release version. Paramter obj must be a // metav1.Object and contain the Giant Swarm specific release version label. Versions(ctx context.Context, obj interface{}) (k8scloudconfig.Versions, error) }
Click to show internal directories.
Click to hide internal directories.