Documentation ¶
Index ¶
- type CreateK8ObjectFunc
- type DeleteK8ObjectFunc
- type GetDeploymentsWithLabelFunc
- type GetServiceFunc
- type GetServiceWithLabelFunc
- 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) GetServicesWithLabel(ctx context.Context, namespace string, labelMap map[string]string) (*corev1.ServiceList, 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 GetServiceWithLabelFunc ¶ added in v0.1.2
type K8Cluster ¶
type K8Cluster struct { GetDeploymentsWithLabelFunc GetDeploymentsWithLabelFunc GetServiceFunc GetServiceFunc GetServicesWithLabelFunc GetServiceWithLabelFunc CreateK8ObjectFunc CreateK8ObjectFunc UpdateK8ObjectFunc UpdateK8ObjectFunc DeleteK8ObjectFunc DeleteK8ObjectFunc }
func (*K8Cluster) CreateK8Object ¶
func (*K8Cluster) DeleteK8Object ¶
func (*K8Cluster) GetDeploymentsWithLabel ¶
func (*K8Cluster) GetService ¶
func (*K8Cluster) GetServicesWithLabel ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.