v27

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: 53 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
	ControlPlaneAWSClients aws.Clients
	CMAClient              clientset.Interface
	G8sClient              versioned.Interface
	HostAWSConfig          aws.Config
	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
	IncludeTags                bool
	IgnitionPath               string
	InstallationName           string
	IPAMNetworkRange           net.IPNet
	DeleteLoggingBucket        bool
	OIDC                       cloudconfig.OIDCConfig
	ProjectName                string
	Route53Enabled             bool
	RouteTables                string
	PodInfraContainerImage     string
	RegistryDomain             string
	SSOPublicKey               string
	VaultAddress               string
	VPCPeerID                  string
}

type DrainerResourceSetConfig

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

	ProjectName    string
	Route53Enabled bool
}

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
cpf
cpi
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