Documentation
¶
Index ¶
- type AWSIAMConfig
- type AzureIAMConfig
- type Creator
- type GCPIAMConfig
- type IAMConfig
- type IAMCreator
- type Terminator
- type Upgrader
- func (u *Upgrader) CurrentHelmVersion(release string) (string, error)
- func (u *Upgrader) GetCurrentImage(ctx context.Context) (*unstructured.Unstructured, string, error)
- func (u *Upgrader) KubernetesVersion() (string, error)
- func (u *Upgrader) Upgrade(ctx context.Context, imageReference, imageVersion string, ...) error
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSIAMConfig ¶ added in v2.3.0
AWSIAMConfig holds the necessary values for AWS IAM configuration.
type AzureIAMConfig ¶ added in v2.3.0
AzureIAMConfig holds the necessary values for Azure IAM configuration.
type Creator ¶
type Creator struct {
// contains filtered or unexported fields
}
Creator creates cloud resources.
type GCPIAMConfig ¶ added in v2.3.0
GCPIAMConfig holds the necessary values for GCP IAM configuration.
type IAMConfig ¶ added in v2.3.0
type IAMConfig struct {
GCP GCPIAMConfig
Azure AzureIAMConfig
AWS AWSIAMConfig
}
IAMConfig holds the necessary values for IAM configuration.
type IAMCreator ¶ added in v2.3.0
type IAMCreator struct {
// contains filtered or unexported fields
}
IAMCreator creates the IAM configuration on the cloud provider.
func NewIAMCreator ¶ added in v2.3.0
func NewIAMCreator(out io.Writer) *IAMCreator
NewIAMCreator creates a new IAM creator.
type Terminator ¶
type Terminator struct {
// contains filtered or unexported fields
}
Terminator deletes cloud provider resources.
type Upgrader ¶
type Upgrader struct {
// contains filtered or unexported fields
}
Upgrader handles upgrading the cluster's components using the CLI.
func NewUpgrader ¶
NewUpgrader returns a new Upgrader.
func (*Upgrader) CurrentHelmVersion ¶ added in v2.3.0
CurrentHelmVersion returns the version of the currently installed helm release.
func (*Upgrader) GetCurrentImage ¶
func (u *Upgrader) GetCurrentImage(ctx context.Context) (*unstructured.Unstructured, string, error)
GetCurrentImage returns the currently used image version of the cluster.
func (*Upgrader) KubernetesVersion ¶ added in v2.3.0
KubernetesVersion returns the version of Kubernetes the Constellation is currently running on.
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator validates Platform Configuration Registers (PCRs).
func NewValidator ¶
NewValidator creates a new Validator.
func (*Validator) PCRS ¶
func (v *Validator) PCRS() measurements.M
PCRS returns the validator's PCR map.
func (*Validator) UpdateInitPCRs ¶
UpdateInitPCRs sets the owner and cluster PCR values.