ensurecpcrs

package
v8.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "ensurecpcrs"
)

Variables

This section is empty.

Functions

func IsIDSpaceExhausted

func IsIDSpaceExhausted(err error) bool

IsIDSpaceExhausted asserts idSpaceExhaustedError.

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Config

type Config struct {
	K8sClient k8sclient.Interface
	Logger    micrologger.Logger
}

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) (*Resource, error)

New provides an operatorkit resource implementation in order to ensure existing Node Pool clusters have proper G8sControlPlane CRs on AWS. This includes AWSControlPlane CRs which are linked in the infrastructure reference of the G8sControlPlane CR. Note that this resource implementation does only exist for migration purposes and can be removed in major versions 9.x.x of aws-operator.

https://github.com/giantswarm/giantswarm/issues/9172

func (*Resource) EnsureCreated

func (r *Resource) EnsureCreated(ctx context.Context, obj interface{}) error

func (*Resource) EnsureDeleted

func (r *Resource) EnsureDeleted(ctx context.Context, obj interface{}) error

func (*Resource) Name

func (r *Resource) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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