Documentation ¶
Index ¶
- type CreateK8ObjectFunc
- type DeleteK8ObjectFunc
- type GetDeploymentsWithLabelFunc
- type GetServiceFunc
- type K8Cluster
- func (m *K8Cluster) CreateK8Object(ctx context.Context, object runtime.Object) error
- func (m *K8Cluster) DeleteK8Object(ctx context.Context, object runtime.Object) error
- func (m *K8Cluster) GetDeploymentsWithLabel(ctx context.Context, namespace string, labelMap map[string]string) (*v1.DeploymentList, error)
- func (m *K8Cluster) GetService(ctx context.Context, namespace string, name string) (*corev1.Service, error)
- func (m *K8Cluster) UpdateK8Object(ctx context.Context, object runtime.Object) error
- type UpdateK8ObjectFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateK8ObjectFunc ¶
type DeleteK8ObjectFunc ¶
type GetServiceFunc ¶
type K8Cluster ¶
type K8Cluster struct { GetDeploymentsWithLabelFunc GetDeploymentsWithLabelFunc GetServiceFunc GetServiceFunc CreateK8ObjectFunc CreateK8ObjectFunc UpdateK8ObjectFunc UpdateK8ObjectFunc DeleteK8ObjectFunc DeleteK8ObjectFunc }
func (*K8Cluster) CreateK8Object ¶
func (*K8Cluster) DeleteK8Object ¶
func (*K8Cluster) GetDeploymentsWithLabel ¶
func (*K8Cluster) GetService ¶
Click to show internal directories.
Click to hide internal directories.