v29

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: 55 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
	ControlPlaneAWSClients aws.Clients
	G8sClient              versioned.Interface
	HostAWSConfig          aws.Config
	K8sClient              kubernetes.Interface
	Locker                 locker.Interface
	Logger                 micrologger.Logger
	RandomKeysSearcher     randomkeys.Interface

	AccessLogsExpiration       int
	AdvancedMonitoringEC2      bool
	APIWhitelist               adapter.APIWhitelist
	CalicoCIDR                 int
	CalicoMTU                  int
	CalicoSubnet               string
	ClusterIPRange             string
	DockerDaemonCIDR           string
	EncrypterBackend           string
	GuestAvailabilityZones     []string
	GuestPrivateSubnetMaskBits int
	GuestPublicSubnetMaskBits  int
	GuestSubnetMaskBits        int
	IncludeTags                bool
	IgnitionPath               string
	ImagePullProgressDeadline  string
	InstallationName           string
	IPAMNetworkRange           net.IPNet
	DeleteLoggingBucket        bool
	NetworkSetupDockerImage    string
	OIDC                       cloudconfig.ConfigOIDC
	Route53Enabled             bool
	RouteTables                string
	PodInfraContainerImage     string
	RegistryDomain             string
	SSHUserList                string
	SSOPublicKey               string
	VaultAddress               string
	VPCPeerID                  string
}

func (ClusterResourceSetConfig) GetEncrypterBackend

func (c ClusterResourceSetConfig) GetEncrypterBackend() string

func (ClusterResourceSetConfig) GetInstallationName

func (c ClusterResourceSetConfig) GetInstallationName() string

func (ClusterResourceSetConfig) GetLogger

func (ClusterResourceSetConfig) GetVaultAddress

func (c ClusterResourceSetConfig) GetVaultAddress() string

type DrainerResourceSetConfig

type DrainerResourceSetConfig struct {
	CMAClient              clientset.Interface
	ControlPlaneAWSClients aws.Clients
	G8sClient              versioned.Interface
	K8sClient              kubernetes.Interface
	Logger                 micrologger.Logger

	HostAWSConfig  aws.Config
	ProjectName    string
	Route53Enabled bool
}

type EncrypterConfigGetter

type EncrypterConfigGetter interface {
	GetEncrypterBackend() string
	GetInstallationName() string
	GetLogger() micrologger.Logger
	GetVaultAddress() string
}

type MachineDeploymentResourceSetConfig

type MachineDeploymentResourceSetConfig struct {
	CMAClient              clientset.Interface
	ControlPlaneAWSClients aws.Clients
	G8sClient              versioned.Interface
	K8sClient              kubernetes.Interface
	Locker                 locker.Interface
	Logger                 micrologger.Logger

	EncrypterBackend           string
	GuestPrivateSubnetMaskBits int
	GuestPublicSubnetMaskBits  int
	GuestSubnetMaskBits        int
	HostAWSConfig              aws.Config
	InstallationName           string
	IPAMNetworkRange           net.IPNet
	ProjectName                string
	Route53Enabled             bool
	VaultAddress               string
}

func (MachineDeploymentResourceSetConfig) GetEncrypterBackend

func (c MachineDeploymentResourceSetConfig) GetEncrypterBackend() string

func (MachineDeploymentResourceSetConfig) GetInstallationName

func (c MachineDeploymentResourceSetConfig) GetInstallationName() string

func (MachineDeploymentResourceSetConfig) GetLogger

func (MachineDeploymentResourceSetConfig) GetVaultAddress

func (c MachineDeploymentResourceSetConfig) GetVaultAddress() 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
clusterazs
Package clusterazs implements a resource to gather all distinct availability zones for a tenant cluster.
Package clusterazs implements a resource to gather all distinct availability zones for a tenant cluster.
cpf
cpi
machinedeployment
Package machinedeployment implements a temporary resource to fetch the single MachineDeployment of a tenant cluster.
Package machinedeployment implements a temporary resource to fetch the single MachineDeployment of a tenant cluster.
machinedeploymentazs
Package machinedeploymentazs implements a resource to gather all private subnets for the configured availability zones of a node pool.
Package machinedeploymentazs implements a resource to gather all private subnets for the configured availability zones of a node pool.
region
Package region implements an operatorkit resource that addresses a problem where the tcnp resource would need to fetch the Cluster CR even though the MachineDeployment CR is reconciled.
Package region implements an operatorkit resource that addresses a problem where the tcnp resource would need to fetch the Cluster CR even though the MachineDeployment CR is reconciled.

Jump to

Keyboard shortcuts

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