Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=eks.cattle.io
+k8s:deepcopy-gen=package +groupName=eks.cattle.io
+k8s:deepcopy-gen=package +groupName=eks.cattle.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var (
EKSClusterConfigResourceName = "eksclusterconfigs"
)
var SchemeGroupVersion = schema.GroupVersion{Group: eks.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type EKSClusterConfig ¶
type EKSClusterConfig struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec EKSClusterConfigSpec `json:"spec"`
Status EKSClusterConfigStatus `json:"status"`
}
func NewEKSClusterConfig ¶
func NewEKSClusterConfig(namespace, name string, obj EKSClusterConfig) *EKSClusterConfig
func (*EKSClusterConfig) DeepCopy ¶
func (in *EKSClusterConfig) DeepCopy() *EKSClusterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterConfig.
func (*EKSClusterConfig) DeepCopyInto ¶
func (in *EKSClusterConfig) DeepCopyInto(out *EKSClusterConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EKSClusterConfig) DeepCopyObject ¶
func (in *EKSClusterConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EKSClusterConfigList ¶
type EKSClusterConfigList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []EKSClusterConfig `json:"items"`
}
EKSClusterConfigList is a list of EKSClusterConfig resources
func (*EKSClusterConfigList) DeepCopy ¶
func (in *EKSClusterConfigList) DeepCopy() *EKSClusterConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterConfigList.
func (*EKSClusterConfigList) DeepCopyInto ¶
func (in *EKSClusterConfigList) DeepCopyInto(out *EKSClusterConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EKSClusterConfigList) DeepCopyObject ¶
func (in *EKSClusterConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EKSClusterConfigSpec ¶
type EKSClusterConfigSpec struct {
AmazonCredentialSecret string `json:"amazonCredentialSecret"`
DisplayName string `json:"displayName" norman:"noupdate"`
Region string `json:"region" norman:"noupdate"`
Imported bool `json:"imported" norman:"noupdate"`
KubernetesVersion *string `json:"kubernetesVersion"`
Tags map[string]string `json:"tags"`
SecretsEncryption *bool `json:"secretsEncryption" norman:"noupdate"`
KmsKey *string `json:"kmsKey" norman:"noupdate"`
PublicAccess *bool `json:"publicAccess"`
PrivateAccess *bool `json:"privateAccess"`
PublicAccessSources []string `json:"publicAccessSources"`
LoggingTypes []string `json:"loggingTypes"`
Subnets []string `json:"subnets" norman:"noupdate"`
SecurityGroups []string `json:"securityGroups" norman:"noupdate"`
ServiceRole *string `json:"serviceRole" norman:"noupdate"`
NodeGroups []NodeGroup `json:"nodeGroups"`
}
EKSClusterConfigSpec is the spec for a EKSClusterConfig resource
func (*EKSClusterConfigSpec) DeepCopy ¶
func (in *EKSClusterConfigSpec) DeepCopy() *EKSClusterConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterConfigSpec.
func (*EKSClusterConfigSpec) DeepCopyInto ¶
func (in *EKSClusterConfigSpec) DeepCopyInto(out *EKSClusterConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EKSClusterConfigStatus ¶
type EKSClusterConfigStatus struct {
Phase string `json:"phase"`
VirtualNetwork string `json:"virtualNetwork"`
Subnets []string `json:"subnets"`
SecurityGroups []string `json:"securityGroups"`
ManagedLaunchTemplateID string `json:"managedLaunchTemplateID"`
ManagedLaunchTemplateVersions map[string]string `json:"managedLaunchTemplateVersions"`
TemplateVersionsToDelete []string `json:"templateVersionsToDelete"`
// describes how the above network fields were provided. Valid values are provided and generated
NetworkFieldsSource string `json:"networkFieldsSource"`
FailureMessage string `json:"failureMessage"`
}
func (*EKSClusterConfigStatus) DeepCopy ¶
func (in *EKSClusterConfigStatus) DeepCopy() *EKSClusterConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSClusterConfigStatus.
func (*EKSClusterConfigStatus) DeepCopyInto ¶
func (in *EKSClusterConfigStatus) DeepCopyInto(out *EKSClusterConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LaunchTemplate ¶ added in v1.0.6
type LaunchTemplate struct {
ID *string `json:"id"`
Name *string `json:"name"`
Version *int64 `json:"version"`
}
func (*LaunchTemplate) DeepCopy ¶ added in v1.0.6
func (in *LaunchTemplate) DeepCopy() *LaunchTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LaunchTemplate.
func (*LaunchTemplate) DeepCopyInto ¶ added in v1.0.6
func (in *LaunchTemplate) DeepCopyInto(out *LaunchTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeGroup ¶
type NodeGroup struct {
Gpu *bool `json:"gpu"`
ImageID *string `json:"imageId"`
NodegroupName *string `json:"nodegroupName" norman:"required" wrangler:"required"`
DiskSize *int64 `json:"diskSize"`
InstanceType *string `json:"instanceType"`
Labels map[string]*string `json:"labels"`
Ec2SshKey *string `json:"ec2SshKey"`
DesiredSize *int64 `json:"desiredSize"`
MaxSize *int64 `json:"maxSize"`
MinSize *int64 `json:"minSize"`
Subnets []string `json:"subnets"`
Tags map[string]*string `json:"tags"`
ResourceTags map[string]*string `json:"resourceTags"`
UserData *string `json:"userData"`
Version *string `json:"version"`
LaunchTemplate *LaunchTemplate `json:"launchTemplate"`
RequestSpotInstances *bool `json:"requestSpotInstances"`
SpotInstanceTypes []*string `json:"spotInstanceTypes"`
}
func (*NodeGroup) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeGroup.
func (*NodeGroup) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.