Documentation ¶
Index ¶
- Constants
- type ClusterConfiguration
- func (*ClusterConfiguration) Dependencies() []asset.Asset
- func (cc *ClusterConfiguration) Files() []*asset.File
- func (cc *ClusterConfiguration) Generate(_ context.Context, dependencies asset.Parents) error
- func (cc *ClusterConfiguration) Load(f asset.FileFetcher) (bool, error)
- func (*ClusterConfiguration) Name() string
- type ClusterID
- type ConfigImage
- func (ci *ConfigImage) Dependencies() []asset.Asset
- func (ci *ConfigImage) Files() []*asset.File
- func (ci *ConfigImage) Generate(_ context.Context, dependencies asset.Parents) error
- func (ci *ConfigImage) Load(f asset.FileFetcher) (bool, error)
- func (ci *ConfigImage) Name() string
- func (ci *ConfigImage) PersistToFile(directory string) error
- type ExtraManifests
- func (em *ExtraManifests) Dependencies() []asset.Asset
- func (em *ExtraManifests) Files() []*asset.File
- func (em *ExtraManifests) Generate(_ context.Context, dependencies asset.Parents) error
- func (em *ExtraManifests) Load(f asset.FileFetcher) (found bool, err error)
- func (em *ExtraManifests) Name() string
- type ImageBasedConfig
- func (*ImageBasedConfig) Dependencies() []asset.Asset
- func (i *ImageBasedConfig) Files() []*asset.File
- func (i *ImageBasedConfig) Generate(_ context.Context, dependencies asset.Parents) error
- func (i *ImageBasedConfig) Load(f asset.FileFetcher) (bool, error)
- func (*ImageBasedConfig) Name() string
- func (i *ImageBasedConfig) PersistToFile(directory string) error
- type ImageBasedKubeAPIServerCompleteCABundle
- type ImageDigestSources
- func (*ImageDigestSources) Dependencies() []asset.Asset
- func (ids *ImageDigestSources) Files() []*asset.File
- func (ids *ImageDigestSources) Generate(_ context.Context, dependencies asset.Parents) error
- func (ids *ImageDigestSources) Load(f asset.FileFetcher) (bool, error)
- func (*ImageDigestSources) Name() string
- type IngressOperatorCABundle
- type IngressOperatorSignerCertKey
- type InstallConfig
Constants ¶
const (
// InstallConfigFilename is the file containing the install-config.
InstallConfigFilename = "install-config.yaml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterConfiguration ¶
type ClusterConfiguration struct { File *asset.File Config *imagebased.SeedReconfiguration }
ClusterConfiguration generates the image-based installer cluster configuration asset.
func (*ClusterConfiguration) Dependencies ¶
func (*ClusterConfiguration) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*ClusterConfiguration) Files ¶
func (cc *ClusterConfiguration) Files() []*asset.File
Files returns the files generated by the asset.
func (*ClusterConfiguration) Generate ¶
Generate generates the Image-based Installer ClusterConfiguration manifest.
func (*ClusterConfiguration) Load ¶
func (cc *ClusterConfiguration) Load(f asset.FileFetcher) (bool, error)
Load returns ClusterConfiguration asset from the disk.
func (*ClusterConfiguration) Name ¶
func (*ClusterConfiguration) Name() string
Name returns a human friendly name for the asset.
type ClusterID ¶
type ClusterID struct {
installconfig.ClusterID
}
ClusterID is the unique ID of the cluster, immutable during the cluster's life.
func (*ClusterID) Dependencies ¶
Dependencies returns install-config.
type ConfigImage ¶
type ConfigImage struct {
// contains filtered or unexported fields
}
ConfigImage is an asset that generates a configuration ISO that can be used to configure image-based installer provisioned hosts.
func (*ConfigImage) Dependencies ¶
func (ci *ConfigImage) Dependencies() []asset.Asset
Dependencies returns the assets on which the Config asset depends.
func (*ConfigImage) Files ¶
func (ci *ConfigImage) Files() []*asset.File
Files returns the files generated by the asset.
func (*ConfigImage) Load ¶
func (ci *ConfigImage) Load(f asset.FileFetcher) (bool, error)
Load returns the ISO from disk.
func (*ConfigImage) Name ¶
func (ci *ConfigImage) Name() string
Name returns the human-friendly name of the asset.
func (*ConfigImage) PersistToFile ¶
func (ci *ConfigImage) PersistToFile(directory string) error
PersistToFile writes the ISO image in the assets folder.
type ExtraManifests ¶
ExtraManifests reads the additional manifests for cluster customization.
func (*ExtraManifests) Dependencies ¶
func (em *ExtraManifests) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed by the asset.
func (*ExtraManifests) Files ¶
func (em *ExtraManifests) Files() []*asset.File
Files returns the files generated by the asset.
func (*ExtraManifests) Load ¶
func (em *ExtraManifests) Load(f asset.FileFetcher) (found bool, err error)
Load reads the asset files from disk.
func (*ExtraManifests) Name ¶
func (em *ExtraManifests) Name() string
Name returns a human friendly name for the asset.
type ImageBasedConfig ¶
type ImageBasedConfig struct { File *asset.File Config *imagebased.Config Template string }
ImageBasedConfig reads the image-based-config.yaml file.
func (*ImageBasedConfig) Dependencies ¶
func (*ImageBasedConfig) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*ImageBasedConfig) Files ¶
func (i *ImageBasedConfig) Files() []*asset.File
Files returns the files generated by the asset.
func (*ImageBasedConfig) Load ¶
func (i *ImageBasedConfig) Load(f asset.FileFetcher) (bool, error)
Load returns the image-based config asset from the disk.
func (*ImageBasedConfig) Name ¶
func (*ImageBasedConfig) Name() string
Name returns a human friendly name for the asset.
func (*ImageBasedConfig) PersistToFile ¶
func (i *ImageBasedConfig) PersistToFile(directory string) error
PersistToFile writes the image-based-config.yaml file to the assets folder.
type ImageBasedKubeAPIServerCompleteCABundle ¶
type ImageBasedKubeAPIServerCompleteCABundle struct {
tls.CertBundle
}
ImageBasedKubeAPIServerCompleteCABundle is the asset the generates the kube-apiserver-complete-server-ca-bundle, which contains all the certs that are valid to confirm the kube-apiserver identity and it also contains the Ingress Operator CA certificate.
func (*ImageBasedKubeAPIServerCompleteCABundle) Dependencies ¶
func (a *ImageBasedKubeAPIServerCompleteCABundle) Dependencies() []asset.Asset
Dependencies returns the dependency of the cert bundle.
func (*ImageBasedKubeAPIServerCompleteCABundle) Generate ¶
func (a *ImageBasedKubeAPIServerCompleteCABundle) Generate(ctx context.Context, deps asset.Parents) error
Generate generates the cert bundle based on its dependencies.
func (*ImageBasedKubeAPIServerCompleteCABundle) Name ¶
func (a *ImageBasedKubeAPIServerCompleteCABundle) Name() string
Name returns the human-friendly name of the asset.
type ImageDigestSources ¶
type ImageDigestSources struct { File *asset.File Config []types.ImageDigestSource }
ImageDigestSources generates the image-based installer image digest sources asset.
func (*ImageDigestSources) Dependencies ¶
func (*ImageDigestSources) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed to generate the asset.
func (*ImageDigestSources) Files ¶
func (ids *ImageDigestSources) Files() []*asset.File
Files returns the files generated by the asset.
func (*ImageDigestSources) Generate ¶
Generate generates the Image-based Installer ImageDigestSources manifest.
func (*ImageDigestSources) Load ¶
func (ids *ImageDigestSources) Load(f asset.FileFetcher) (bool, error)
Load returns ImageDigestSources asset from the disk.
func (*ImageDigestSources) Name ¶
func (*ImageDigestSources) Name() string
Name returns a human friendly name for the asset.
type IngressOperatorCABundle ¶
type IngressOperatorCABundle struct {
tls.CertBundle
}
IngressOperatorCABundle is the asset the generates the ingress-operator-signer-ca-bundle, which contains all the ingrees operator signer CA.
func (*IngressOperatorCABundle) Dependencies ¶
func (a *IngressOperatorCABundle) Dependencies() []asset.Asset
Dependencies returns the dependency of the cert bundle.
func (*IngressOperatorCABundle) Generate ¶
Generate generates the cert bundle based on its dependencies.
func (*IngressOperatorCABundle) Name ¶
func (a *IngressOperatorCABundle) Name() string
Name returns the human-friendly name of the asset.
type IngressOperatorSignerCertKey ¶
type IngressOperatorSignerCertKey struct {
tls.SelfSignedCertKey
}
IngressOperatorSignerCertKey is the asset that generates the ingress operator key/cert pair.
func (*IngressOperatorSignerCertKey) Dependencies ¶
func (a *IngressOperatorSignerCertKey) Dependencies() []asset.Asset
Dependencies returns the dependency of the the cert/key pair.
func (*IngressOperatorSignerCertKey) Generate ¶
func (a *IngressOperatorSignerCertKey) Generate(ctx context.Context, dependencies asset.Parents) error
Generate generates the cert/key pair based on its dependencies.
func (*IngressOperatorSignerCertKey) Name ¶
func (a *IngressOperatorSignerCertKey) Name() string
Name returns the human-friendly name of the asset.
type InstallConfig ¶
type InstallConfig struct {
installconfig.AssetBase
}
InstallConfig is an InstallConfig where the default is empty, rather than generated from running the survey.
func (*InstallConfig) ClusterName ¶
func (i *InstallConfig) ClusterName() string
ClusterName returns the name of the cluster, or a default name if no InstallConfig is supplied.
func (*InstallConfig) ClusterNamespace ¶
func (i *InstallConfig) ClusterNamespace() string
ClusterNamespace returns the namespace of the cluster.
func (*InstallConfig) Dependencies ¶
func (i *InstallConfig) Dependencies() []asset.Asset
Dependencies returns all of the dependencies directly needed by an InstallConfig asset.
func (*InstallConfig) Load ¶
func (i *InstallConfig) Load(f asset.FileFetcher) (bool, error)
Load returns the installconfig from disk.