Documentation ¶
Index ¶
- type Cluster
- func (c *Cluster) GetAWSClient() (*session.Session, error)
- func (c *Cluster) GetBootstrapCommand(nodePoolName, url string, urlInsecure bool, token string, labels []string, ...) (string, error)
- func (c *Cluster) GetID() uint
- func (c *Cluster) GetK8sConfig() ([]byte, error)
- func (c *Cluster) GetK8sUserConfig() ([]byte, error)
- func (c *Cluster) GetKubernetesContainerRuntime() (string, error)
- func (c *Cluster) GetKubernetesNetworkProvider() (string, error)
- func (c *Cluster) GetKubernetesVersion() (string, error)
- func (c *Cluster) GetNetworkCloudProvider() (cloudProvider, vpcID string, subnets []string, err error)
- func (c *Cluster) GetNodePools() []pkeworkflow.NodePool
- func (c *Cluster) GetOrganizationId() uint
- func (c *Cluster) GetSshPublicKey() (string, error)
- func (c *Cluster) SaveNetworkApiServerAddress(host, port string) error
- func (c *Cluster) SaveNetworkCloudProvider(cloudProvider, vpcID string, subnets []string) error
- type ClusterManagerAdapter
- type InternalSecretStore
- type SecretStore
- type TokenGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
cluster.CommonCluster
}
func (*Cluster) GetBootstrapCommand ¶
func (*Cluster) GetK8sConfig ¶
func (*Cluster) GetK8sUserConfig ¶
func (*Cluster) GetKubernetesContainerRuntime ¶
func (*Cluster) GetKubernetesNetworkProvider ¶
func (*Cluster) GetKubernetesVersion ¶
func (*Cluster) GetNetworkCloudProvider ¶
func (*Cluster) GetNodePools ¶
func (c *Cluster) GetNodePools() []pkeworkflow.NodePool
func (*Cluster) GetOrganizationId ¶
func (*Cluster) GetSshPublicKey ¶
func (*Cluster) SaveNetworkApiServerAddress ¶
type ClusterManagerAdapter ¶
type ClusterManagerAdapter struct {
// contains filtered or unexported fields
}
ClusterManagerAdapter provides an adapter for pkeworkflow.Clusters.
func NewClusterManagerAdapter ¶
func NewClusterManagerAdapter(clusterManager *cluster.Manager) *ClusterManagerAdapter
NewClusterManagerAdapter creates a new ClusterManagerAdapter.
func (*ClusterManagerAdapter) GetCluster ¶
func (a *ClusterManagerAdapter) GetCluster(ctx context.Context, id uint) (pkeworkflow.Cluster, error)
GetCluster returns a Cluster.
type InternalSecretStore ¶
type InternalSecretStore interface { // Get retrieves a secret from the store. Get(organizationID uint, secretID string) (*secret.SecretItemResponse, error) }
InternalSecretStore is an interface for the internal secret store.
type SecretStore ¶
type SecretStore struct {
// contains filtered or unexported fields
}
SecretStore is a wrapper for the internal secret store.
func NewSecretStore ¶
func NewSecretStore(secrets InternalSecretStore) *SecretStore
NewSecretStore returns a wrapper for the internal secret store.
func (*SecretStore) GetSecret ¶
func (s *SecretStore) GetSecret(organizationID uint, secretID string) (pkeworkflow.Secret, error)
Click to show internal directories.
Click to hide internal directories.