Documentation ¶
Index ¶
- Constants
- func BuildUpstreamClusterState(cluster *gkeapi.Cluster) (*gkev1.GKEClusterConfigSpec, error)
- func GetCluster(ctx context.Context, secretsCache wranglerv1.SecretCache, ...) (*gkeapi.Cluster, error)
- func GetTokenSource(ctx context.Context, secretsCache wranglerv1.SecretCache, ...) (oauth2.TokenSource, error)
- func Register(ctx context.Context, secrets wranglerv1.SecretController, ...)
- type Handler
Constants ¶
View Source
const ( // ClusterStatusRunning The RUNNING state indicates the cluster has been // created and is fully usable ClusterStatusRunning = "RUNNING" // ClusterStatusError The ERROR state indicates the cluster is unusable ClusterStatusError = "ERROR" // ClusterStatusReconciling The RECONCILING state indicates that some work is // actively being done on the cluster, such as upgrading the master or // node software. ClusterStatusReconciling = "RECONCILING" )
Cluster Status
View Source
const ( // NodePoolStatusProvisioning The PROVISIONING state indicates the node pool is // being created. NodePoolStatusProvisioning = "PROVISIONING" // NodePoolStatusReconciling The RECONCILING state indicates that some work is // actively being done on the node pool, such as upgrading node software. NodePoolStatusReconciling = "RECONCILING" // NodePoolStatusStopping The STOPPING state indicates the node pool is being // deleted. NodePoolStatusStopping = "STOPPING" )
Node Pool Status
Variables ¶
This section is empty.
Functions ¶
func BuildUpstreamClusterState ¶
func BuildUpstreamClusterState(cluster *gkeapi.Cluster) (*gkev1.GKEClusterConfigSpec, error)
func GetCluster ¶
func GetCluster(ctx context.Context, secretsCache wranglerv1.SecretCache, configSpec *gkev1.GKEClusterConfigSpec) (*gkeapi.Cluster, error)
func GetTokenSource ¶
func GetTokenSource(ctx context.Context, secretsCache wranglerv1.SecretCache, configSpec *gkev1.GKEClusterConfigSpec) (oauth2.TokenSource, error)
func Register ¶
func Register( ctx context.Context, secrets wranglerv1.SecretController, gke gkecontrollers.GKEClusterConfigController)
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) OnGkeConfigChanged ¶
func (h *Handler) OnGkeConfigChanged(_ string, config *gkev1.GKEClusterConfig) (*gkev1.GKEClusterConfig, error)
func (*Handler) OnGkeConfigRemoved ¶
func (h *Handler) OnGkeConfigRemoved(_ string, config *gkev1.GKEClusterConfig) (*gkev1.GKEClusterConfig, error)
Click to show internal directories.
Click to hide internal directories.