eks

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePatch added in v0.11.0

func CreatePatch(in *eks.Cluster, target *v1beta1.ClusterParameters) (*v1beta1.ClusterParameters, error)

CreatePatch creates a *v1beta1.ClusterParameters that has only the changed values between the target *v1beta1.ClusterParameters and the current *eks.Cluster.

func GenerateCreateClusterInput added in v0.11.0

func GenerateCreateClusterInput(name string, p *v1beta1.ClusterParameters) *eks.CreateClusterInput

GenerateCreateClusterInput from ClusterParameters.

func GenerateCreateFargateProfileInput added in v0.16.0

func GenerateCreateFargateProfileInput(name string, p v1alpha1.FargateProfileParameters) *eks.CreateFargateProfileInput

GenerateCreateFargateProfileInput from FargateProfileInputParameters.

func GenerateCreateNodeGroupInput added in v0.11.0

func GenerateCreateNodeGroupInput(name string, p *v1alpha1.NodeGroupParameters) *eks.CreateNodegroupInput

GenerateCreateNodeGroupInput from NodeGroupParameters.

func GenerateFargateProfileObservation added in v0.16.0

func GenerateFargateProfileObservation(fp *eks.FargateProfile) v1alpha1.FargateProfileObservation

GenerateFargateProfileObservation is used to produce v1alpha1.FargateProfileObservation from eks.FargateProfile.

func GenerateNodeGroupObservation added in v0.11.0

func GenerateNodeGroupObservation(ng *eks.Nodegroup) v1alpha1.NodeGroupObservation

GenerateNodeGroupObservation is used to produce v1alpha1.NodeGroupObservation from eks.Nodegroup.

func GenerateObservation added in v0.11.0

func GenerateObservation(cluster *eks.Cluster) v1beta1.ClusterObservation

GenerateObservation is used to produce v1beta1.ClusterObservation from eks.Cluster.

func GenerateUpdateClusterConfigInput added in v0.11.0

func GenerateUpdateClusterConfigInput(name string, p *v1beta1.ClusterParameters) *eks.UpdateClusterConfigInput

GenerateUpdateClusterConfigInput from ClusterParameters.

func GenerateUpdateNodeGroupConfigInput added in v0.11.0

func GenerateUpdateNodeGroupConfigInput(name string, p *v1alpha1.NodeGroupParameters, ng *eks.Nodegroup) *eks.UpdateNodegroupConfigInput

GenerateUpdateNodeGroupConfigInput from NodeGroupParameters.

func GetConnectionDetails added in v0.11.0

func GetConnectionDetails(cluster *eks.Cluster, stsClient STSClient) managed.ConnectionDetails

GetConnectionDetails extracts managed.ConnectionDetails out of eks.Cluster.

func IsErrorInUse added in v0.11.0

func IsErrorInUse(err error) bool

IsErrorInUse helper function to test for ErrCodeResourceInUseException error.

func IsErrorInvalidRequest added in v0.11.0

func IsErrorInvalidRequest(err error) bool

IsErrorInvalidRequest helper function to test for ErrCodeInvalidRequestException error.

func IsErrorNotFound

func IsErrorNotFound(err error) bool

IsErrorNotFound helper function to test for ErrCodeResourceNotFoundException error.

func IsFargateProfileUpToDate added in v0.16.0

func IsFargateProfileUpToDate(p v1alpha1.FargateProfileParameters, fp *eks.FargateProfile) bool

IsFargateProfileUpToDate checks whether there is a change in the tags. Any other field is immutable and can't be updated.

func IsNodeGroupUpToDate added in v0.11.0

func IsNodeGroupUpToDate(p *v1alpha1.NodeGroupParameters, ng *eks.Nodegroup) bool

IsNodeGroupUpToDate checks whether there is a change in any of the modifiable fields.

func IsUpToDate added in v0.11.0

func IsUpToDate(p *v1beta1.ClusterParameters, cluster *eks.Cluster) (bool, error)

IsUpToDate checks whether there is a change in any of the modifiable fields.

func LateInitialize added in v0.11.0

func LateInitialize(in *v1beta1.ClusterParameters, cluster *eks.Cluster)

LateInitialize fills the empty fields in *v1beta1.ClusterParameters with the values seen in eks.Cluster.

func LateInitializeFargateProfile added in v0.16.0

func LateInitializeFargateProfile(in *v1alpha1.FargateProfileParameters, fp *eks.FargateProfile)

LateInitializeFargateProfile fills the empty fields in *v1alpha1.FargateProfileParameters with the values seen in eks.FargateProfile.

func LateInitializeNodeGroup added in v0.11.0

func LateInitializeNodeGroup(in *v1alpha1.NodeGroupParameters, ng *eks.Nodegroup)

LateInitializeNodeGroup fills the empty fields in *v1alpha1.NodeGroupParameters with the values seen in eks.Nodegroup.

Types

type Client

type Client eksiface.ClientAPI

Client defines EKS Client operations

func NewEKSClient added in v0.12.0

func NewEKSClient(cfg aws.Config) Client

NewEKSClient creates new EKS Client with provided AWS Configurations/Credentials.

type STSClient added in v0.11.0

type STSClient stsiface.ClientAPI

STSClient defines STS Client operations

func NewSTSClient added in v0.12.0

func NewSTSClient(cfg aws.Config) STSClient

NewSTSClient creates a new STS Client.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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