Documentation ¶
Index ¶
- Constants
- func BastionLabel(clusterName string) string
- type Bastions
- type GCPCluster
- func (g *GCPCluster) AddFinalizer(ctx context.Context, capgCluster *capg.GCPCluster, finalizer string) error
- func (g *GCPCluster) Get(ctx context.Context, namespacedName types.NamespacedName) (*capg.GCPCluster, error)
- func (g *GCPCluster) GetOwner(ctx context.Context, capgCluster *capg.GCPCluster) (*capi.Cluster, error)
- func (g *GCPCluster) RemoveFinalizer(ctx context.Context, capgCluster *capg.GCPCluster, finalizer string) error
Constants ¶
View Source
const LabelBastionKey = "cluster.x-k8s.io/deployment-name"
Variables ¶
This section is empty.
Functions ¶
func BastionLabel ¶ added in v0.5.0
Types ¶
type Bastions ¶ added in v0.5.0
type Bastions struct {
// contains filtered or unexported fields
}
func NewBastions ¶ added in v0.5.0
func (*Bastions) GetBastionIPList ¶ added in v0.5.0
type GCPCluster ¶
type GCPCluster struct {
// contains filtered or unexported fields
}
func NewGCPCluster ¶
func NewGCPCluster(client client.Client) *GCPCluster
func (*GCPCluster) AddFinalizer ¶
func (g *GCPCluster) AddFinalizer(ctx context.Context, capgCluster *capg.GCPCluster, finalizer string) error
func (*GCPCluster) Get ¶
func (g *GCPCluster) Get(ctx context.Context, namespacedName types.NamespacedName) (*capg.GCPCluster, error)
func (*GCPCluster) GetOwner ¶
func (g *GCPCluster) GetOwner(ctx context.Context, capgCluster *capg.GCPCluster) (*capi.Cluster, error)
func (*GCPCluster) RemoveFinalizer ¶
func (g *GCPCluster) RemoveFinalizer(ctx context.Context, capgCluster *capg.GCPCluster, finalizer string) error
Click to show internal directories.
Click to hide internal directories.