Documentation ¶
Index ¶
- Constants
- func New(ctx context.Context) Interface
- func NewConnector(ctx context.Context, cluster *api.Cluster) (*cloudConnector, error)
- func NewGKEAdminClient(ctx context.Context, cluster *api.Cluster) (kubernetes.Interface, error)
- type ClusterManager
- func (cm *ClusterManager) Apply(in *api.Cluster, dryRun bool) ([]api.Action, error)
- func (cm *ClusterManager) GetAdminClient() (kubernetes.Interface, error)
- func (cm *ClusterManager) GetDefaultNodeSpec(cluster *api.Cluster, sku string) (api.NodeSpec, error)
- func (cm *ClusterManager) GetKubeConfig(cluster *api.Cluster) (*api.KubeConfig, error)
- func (cm *ClusterManager) GetSSHConfig(cluster *api.Cluster, node *core.Node) (*api.SSHConfig, error)
- func (cm *ClusterManager) IsValid(cluster *api.Cluster) (bool, error)
- func (cm *ClusterManager) SetDefaults(cluster *api.Cluster) error
- func (cm *ClusterManager) StoreCertificate(cluster *container.Cluster) error
- type GKENodeGroupManager
Constants ¶
View Source
const (
ProviderName = "gke"
)
View Source
const (
UID = "gke"
)
Variables ¶
This section is empty.
Functions ¶
func NewConnector ¶
func NewGKEAdminClient ¶
Types ¶
type ClusterManager ¶
type ClusterManager struct {
// contains filtered or unexported fields
}
func (*ClusterManager) GetAdminClient ¶
func (cm *ClusterManager) GetAdminClient() (kubernetes.Interface, error)
func (*ClusterManager) GetDefaultNodeSpec ¶
func (*ClusterManager) GetKubeConfig ¶
func (cm *ClusterManager) GetKubeConfig(cluster *api.Cluster) (*api.KubeConfig, error)
func (*ClusterManager) GetSSHConfig ¶
func (*ClusterManager) IsValid ¶
func (cm *ClusterManager) IsValid(cluster *api.Cluster) (bool, error)
func (*ClusterManager) SetDefaults ¶
func (cm *ClusterManager) SetDefaults(cluster *api.Cluster) error
func (*ClusterManager) StoreCertificate ¶
func (cm *ClusterManager) StoreCertificate(cluster *container.Cluster) error
type GKENodeGroupManager ¶
type GKENodeGroupManager struct {
// contains filtered or unexported fields
}
func NewGKENodeGroupManager ¶
func NewGKENodeGroupManager(ctx context.Context, conn *cloudConnector, ng *api.NodeGroup) *GKENodeGroupManager
Source Files ¶
Click to show internal directories.
Click to hide internal directories.