Documentation ¶
Index ¶
- func IsInvalidConfig(err error) bool
- type Cluster
- type ClusterConfig
- type ClusterConfigAPIWhitelist
- type ClusterConfigAPIWhitelistConfig
- type ClusterConfigAWSConfig
- type ClusterConfigLabelSelector
- type ClusterConfigOIDC
- type Drainer
- type DrainerConfig
- type DrainerConfigAWS
- type DrainerConfigLabelSelector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Cluster ¶
type Cluster struct {
*controller.Controller
}
func NewCluster ¶
func NewCluster(config ClusterConfig) (*Cluster, error)
type ClusterConfig ¶
type ClusterConfig struct { K8sClient k8sclient.Interface Logger micrologger.Logger NetworkAllocator network.Allocator AccessLogsExpiration int AdvancedMonitoringEC2 bool APIWhitelist ClusterConfigAPIWhitelist DeleteLoggingBucket bool EncrypterBackend string GuestAWSConfig ClusterConfigAWSConfig GuestPrivateSubnetMaskBits int GuestPublicSubnetMaskBits int GuestSubnetMaskBits int GuestUpdateEnabled bool HostAWSConfig ClusterConfigAWSConfig IgnitionPath string ImagePullProgressDeadline string IncludeTags bool InstallationName string IPAMNetworkRange net.IPNet LabelSelector ClusterConfigLabelSelector OIDC ClusterConfigOIDC PodInfraContainerImage string ProjectName string RegistryDomain string Route53Enabled bool RouteTables string SSOPublicKey string VaultAddress string }
type ClusterConfigAPIWhitelist ¶
type ClusterConfigAPIWhitelist struct { Private ClusterConfigAPIWhitelistConfig Public ClusterConfigAPIWhitelistConfig }
ClusterConfigAPIWhitelist defines guest cluster k8s API whitelisting types.
type ClusterConfigAPIWhitelistConfig ¶
ClusterConfigAPIWhitelistConfig defines guest cluster k8s API whitelisting.
type ClusterConfigAWSConfig ¶
type ClusterConfigOIDC ¶
type ClusterConfigOIDC struct { ClientID string IssuerURL string UsernameClaim string GroupsClaim string }
ClusterConfigOIDC represents the configuration of the OIDC authorization provider.
type Drainer ¶
type Drainer struct {
*controller.Controller
}
func NewDrainer ¶
func NewDrainer(config DrainerConfig) (*Drainer, error)
type DrainerConfig ¶
type DrainerConfig struct { K8sClient k8sclient.Interface Logger micrologger.Logger GuestAWSConfig DrainerConfigAWS GuestUpdateEnabled bool HostAWSConfig DrainerConfigAWS LabelSelector DrainerConfigLabelSelector ProjectName string Route53Enabled bool }
type DrainerConfigAWS ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
adapter
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. |
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. |
Click to show internal directories.
Click to hide internal directories.