Documentation ¶
Index ¶
- Constants
- Variables
- type CertificatesRenewer
- type ClusterCreator
- func (c *ClusterCreator) Create(startFrom string, _, _ int) error
- func (*ClusterCreator) GetPhasePath(phase string) (string, error)
- func (c *ClusterCreator) RenderConfig() (map[string]any, error)
- func (c *ClusterCreator) SetProperties(props []cluster.CreatorProperty)
- func (c *ClusterCreator) SetProperty(name string, value any)
- type ClusterDeleter
- type ExtraSchemaValidator
- type KubeconfigGetter
Constants ¶
View Source
const ( DistributionPhaseSchemaPath = ".spec.distribution" PluginsPhaseSchemaPath = ".spec.plugins" AllPhaseSchemaPath = "" StartFromFlagNotSet = "" )
Variables ¶
View Source
var ( ErrUnsupportedPhase = errors.New("unsupported phase") ErrAbortedByUser = errors.New("operation aborted by user") )
View Source
var ErrKubeconfigNotSet = errors.New("KUBECONFIG env variable is not set")
View Source
var ErrRenewNotSupported = errors.New("you can't renew certificates for KFDDistribution")
Functions ¶
This section is empty.
Types ¶
type CertificatesRenewer ¶ added in v0.29.4
type CertificatesRenewer struct{}
func (*CertificatesRenewer) Renew ¶ added in v0.29.4
func (*CertificatesRenewer) Renew() error
func (*CertificatesRenewer) SetProperties ¶ added in v0.29.4
func (*CertificatesRenewer) SetProperties(_ []cluster.CertificatesRenewerProperty)
func (*CertificatesRenewer) SetProperty ¶ added in v0.29.4
func (*CertificatesRenewer) SetProperty(_ string, _ any)
type ClusterCreator ¶
type ClusterCreator struct {
// contains filtered or unexported fields
}
func (*ClusterCreator) GetPhasePath ¶
func (*ClusterCreator) GetPhasePath(phase string) (string, error)
func (*ClusterCreator) RenderConfig ¶
func (c *ClusterCreator) RenderConfig() (map[string]any, error)
func (*ClusterCreator) SetProperties ¶
func (c *ClusterCreator) SetProperties(props []cluster.CreatorProperty)
func (*ClusterCreator) SetProperty ¶
func (c *ClusterCreator) SetProperty(name string, value any)
type ClusterDeleter ¶
type ClusterDeleter struct {
// contains filtered or unexported fields
}
func (*ClusterDeleter) Delete ¶
func (d *ClusterDeleter) Delete() error
func (*ClusterDeleter) SetProperties ¶
func (d *ClusterDeleter) SetProperties(props []cluster.DeleterProperty)
func (*ClusterDeleter) SetProperty ¶
func (d *ClusterDeleter) SetProperty(name string, value any)
type ExtraSchemaValidator ¶
type ExtraSchemaValidator struct{}
func (*ExtraSchemaValidator) Validate ¶
func (*ExtraSchemaValidator) Validate(_ string) error
type KubeconfigGetter ¶ added in v0.29.1
type KubeconfigGetter struct {
// contains filtered or unexported fields
}
func (*KubeconfigGetter) Get ¶ added in v0.29.1
func (k *KubeconfigGetter) Get() error
func (*KubeconfigGetter) SetProperties ¶ added in v0.29.1
func (k *KubeconfigGetter) SetProperties(props []cluster.KubeconfigProperty)
func (*KubeconfigGetter) SetProperty ¶ added in v0.29.1
func (k *KubeconfigGetter) SetProperty(name string, value any)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.