Documentation ¶
Index ¶
Constants ¶
View Source
const ( FileOwnerUserName = "root" FileOwnerGroupName = "root" FilePermission = 0700 )
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { Encrypter encrypter.Interface Logger micrologger.Logger APIExtraArgs []string CalicoCIDR int CalicoMTU int CalicoSubnet string ClusterIPRange string DockerDaemonCIDR string IgnitionPath string ImagePullProgressDeadline string KubeletExtraArgs []string ClusterDomain string NetworkSetupDockerImage string PodInfraContainerImage string RegistryDomain string SSHUserList string SSOPublicKey string }
type Interface ¶
type Interface interface {
Render(ctx context.Context, cr infrastructurev1alpha2.AWSCluster, clusterCerts certs.Cluster, clusterKeys randomkeys.Cluster, labels string) ([]byte, error)
}
type MasterExtension ¶
type MasterExtension struct {
// contains filtered or unexported fields
}
func (*MasterExtension) Files ¶
func (e *MasterExtension) Files() ([]k8scloudconfig.FileAsset, error)
func (*MasterExtension) Units ¶
func (e *MasterExtension) Units() ([]k8scloudconfig.UnitAsset, error)
func (*MasterExtension) VerbatimSections ¶
func (e *MasterExtension) VerbatimSections() []k8scloudconfig.VerbatimSection
type RandomKeyTmplSet ¶
type RandomKeyTmplSet struct {
APIServerEncryptionKey string
}
randomKeyTmplSet holds a collection of rendered templates for random key encryption via KMS.
type TCCP ¶
type TCCP struct {
// contains filtered or unexported fields
}
func NewTCCP ¶
func NewTCCP(config TCCPConfig) (*TCCP, error)
func (*TCCP) Render ¶
func (t *TCCP) Render(ctx context.Context, cr infrastructurev1alpha2.AWSCluster, clusterCerts certs.Cluster, clusterKeys randomkeys.Cluster, labels string) ([]byte, error)
type TCCPConfig ¶
type TCCPConfig struct {
Config Config
}
type TCNP ¶
type TCNP struct {
// contains filtered or unexported fields
}
func NewTCNP ¶
func NewTCNP(config TCNPConfig) (*TCNP, error)
func (*TCNP) Render ¶
func (t *TCNP) Render(ctx context.Context, cr infrastructurev1alpha2.AWSCluster, clusterCerts certs.Cluster, clusterKeys randomkeys.Cluster, labels string) ([]byte, error)
type TCNPConfig ¶
type TCNPConfig struct {
Config Config
}
type WorkerExtension ¶
type WorkerExtension struct {
// contains filtered or unexported fields
}
func (*WorkerExtension) Files ¶
func (e *WorkerExtension) Files() ([]k8scloudconfig.FileAsset, error)
func (*WorkerExtension) Units ¶
func (e *WorkerExtension) Units() ([]k8scloudconfig.UnitAsset, error)
func (*WorkerExtension) VerbatimSections ¶
func (e *WorkerExtension) VerbatimSections() []k8scloudconfig.VerbatimSection
Source Files ¶
Click to show internal directories.
Click to hide internal directories.