v22

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func NewClusterResourceSet

func NewClusterResourceSet(config ClusterResourceSetConfig) (*controller.ResourceSet, error)

func NewDrainerResourceSet

func NewDrainerResourceSet(config DrainerResourceSetConfig) (*controller.ResourceSet, error)

func VersionBundle

func VersionBundle() versionbundle.Bundle

Types

type ClusterResourceSetConfig

type ClusterResourceSetConfig struct {
	CertsSearcher      certs.Interface
	CMAClient          clientset.Interface
	G8sClient          versioned.Interface
	HostAWSConfig      aws.Config
	HostAWSClients     aws.Clients
	K8sClient          kubernetes.Interface
	Logger             micrologger.Logger
	NetworkAllocator   network.Allocator
	RandomKeysSearcher randomkeys.Interface

	AccessLogsExpiration       int
	AdvancedMonitoringEC2      bool
	APIWhitelist               adapter.APIWhitelist
	EncrypterBackend           string
	GuestAvailabilityZones     []string
	GuestPrivateSubnetMaskBits int
	GuestPublicSubnetMaskBits  int
	GuestSubnetMaskBits        int
	GuestUpdateEnabled         bool
	IncludeTags                bool
	IgnitionPath               string
	InstallationName           string
	IPAMNetworkRange           net.IPNet
	DeleteLoggingBucket        bool
	OIDC                       cloudconfig.OIDCConfig
	ProjectName                string
	PublicRouteTables          string
	Route53Enabled             bool
	PodInfraContainerImage     string
	RegistryDomain             string
	SSOPublicKey               string
	VaultAddress               string
}

type DrainerResourceSetConfig

type DrainerResourceSetConfig struct {
	G8sClient     versioned.Interface
	HostAWSConfig aws.Config
	K8sClient     kubernetes.Interface
	Logger        micrologger.Logger

	GuestUpdateEnabled bool
	ProjectName        string
}

Directories

Path Synopsis
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
Package adapter contains the required logic for creating data structures used for feeding CloudFormation templates.
kms
resource
migration
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.
Package migration provides an operatorkit resource that migrates awsconfig CRs to reference the default credential secret if they do not already.

Jump to

Keyboard shortcuts

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