Documentation
¶
Index ¶
- Constants
- type ClusterGroupManager
- type CreateNodePoolLabelSetActivity
- type CreateNodePoolLabelSetActivityInput
- type DeleteClusterActivity
- type DeleteClusterActivityInput
- type DeleteClusterWorkflow
- type DeleteClusterWorkflowInput
- type DeleteNodePoolLabelSetActivity
- type DeleteNodePoolLabelSetActivityInput
- type DynamicClientFactory
- type RemoveClusterFromGroupActivity
- type RemoveClusterFromGroupActivityInput
- type SetClusterStatusActivity
- type SetClusterStatusActivityInput
Constants ¶
View Source
const CreateNodePoolLabelSetActivityName = "create-node-pool-label-set"
View Source
const DeleteClusterActivityName = "delete-cluster"
View Source
const DeleteClusterWorkflowName = "delete-cluster"
View Source
const DeleteNodePoolLabelSetActivityName = "delete-node-pool-label-set"
View Source
const RemoveClusterFromGroupActivityName = "remove-cluster-from-group"
View Source
const SetClusterStatusActivityName = "set-cluster-status"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterGroupManager ¶
type CreateNodePoolLabelSetActivity ¶
type CreateNodePoolLabelSetActivity struct {
// contains filtered or unexported fields
}
func NewCreateNodePoolLabelSetActivity ¶
func NewCreateNodePoolLabelSetActivity( dynamicClientFactory DynamicClientFactory, namespace string, ) CreateNodePoolLabelSetActivity
NewCreateNodePoolLabelSetActivity returns a new CreateNodePoolLabelSetActivity.
func (CreateNodePoolLabelSetActivity) Execute ¶
func (a CreateNodePoolLabelSetActivity) Execute(ctx context.Context, input CreateNodePoolLabelSetActivityInput) error
type CreateNodePoolLabelSetActivityInput ¶
type CreateNodePoolLabelSetActivityInput struct { ClusterID uint RawNodePool cluster.NewRawNodePool }
type DeleteClusterActivity ¶
type DeleteClusterActivity struct {
// contains filtered or unexported fields
}
func MakeDeleteClusterActivity ¶
func MakeDeleteClusterActivity(clusterDeleter cluster.Deleter) DeleteClusterActivity
func (DeleteClusterActivity) Execute ¶
func (a DeleteClusterActivity) Execute(ctx context.Context, input DeleteClusterActivityInput) error
type DeleteClusterWorkflow ¶
type DeleteClusterWorkflow struct {
// contains filtered or unexported fields
}
func NewDeleteClusterWorkflow ¶
func NewDeleteClusterWorkflow(v2IntegratedServiceEnabled bool) *DeleteClusterWorkflow
func (*DeleteClusterWorkflow) Execute ¶
func (w *DeleteClusterWorkflow) Execute(ctx workflow.Context, input DeleteClusterWorkflowInput) error
type DeleteNodePoolLabelSetActivity ¶
type DeleteNodePoolLabelSetActivity struct {
// contains filtered or unexported fields
}
func NewDeleteNodePoolLabelSetActivity ¶
func NewDeleteNodePoolLabelSetActivity( dynamicClientFactory DynamicClientFactory, namespace string, ) DeleteNodePoolLabelSetActivity
NewDeleteNodePoolLabelSetActivity returns a new DeleteNodePoolLabelSetActivity.
func (DeleteNodePoolLabelSetActivity) Execute ¶
func (a DeleteNodePoolLabelSetActivity) Execute(ctx context.Context, input DeleteNodePoolLabelSetActivityInput) error
type DynamicClientFactory ¶
type DynamicClientFactory interface { // FromClusterID creates a dynamic Kubernetes client for a cluster from a cluster ID. FromClusterID(ctx context.Context, clusterID uint) (dynamic.Interface, error) }
DynamicClientFactory returns a dynamic Kubernetes client.
type RemoveClusterFromGroupActivity ¶
type RemoveClusterFromGroupActivity struct {
// contains filtered or unexported fields
}
func MakeRemoveClusterFromGroupActivity ¶
func MakeRemoveClusterFromGroupActivity(clusterGroupManager ClusterGroupManager) RemoveClusterFromGroupActivity
func (RemoveClusterFromGroupActivity) Execute ¶
func (a RemoveClusterFromGroupActivity) Execute(ctx context.Context, input RemoveClusterFromGroupActivityInput) error
type RemoveClusterFromGroupActivityInput ¶
type RemoveClusterFromGroupActivityInput struct {
ClusterID uint
}
type SetClusterStatusActivity ¶
type SetClusterStatusActivity struct {
// contains filtered or unexported fields
}
func NewSetClusterStatusActivity ¶
func NewSetClusterStatusActivity(store cluster.Store) SetClusterStatusActivity
func (SetClusterStatusActivity) Execute ¶
func (a SetClusterStatusActivity) Execute(ctx context.Context, input SetClusterStatusActivityInput) error
Click to show internal directories.
Click to hide internal directories.