Documentation ¶
Index ¶
- type K8s
- func (k *K8s) CreateDeployment(ctx context.Context, deployment *appsv1.Deployment, timeout time.Duration) error
- func (k *K8s) CreateIngress(ctx context.Context, ingress *networkingv1.Ingress, timeout time.Duration) error
- func (k *K8s) CreateNamespace(ctx context.Context, ns *apiv1.Namespace) error
- func (k *K8s) CreateService(ctx context.Context, service *apiv1.Service) error
- func (k *K8s) DeleteDeployment(deploymentName string) error
- func (k *K8s) DeleteIngress(ingressName string) error
- func (k *K8s) DeleteNamespace() error
- func (k *K8s) DeleteService(serviceName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8s ¶
type K8s struct {
// contains filtered or unexported fields
}
func (*K8s) CreateDeployment ¶
func (*K8s) CreateIngress ¶
func (*K8s) CreateNamespace ¶
Createは本当はApplyにしたいんだけど、ApplyがないのでCreateで代用
func (*K8s) CreateService ¶
func (*K8s) DeleteDeployment ¶
func (*K8s) DeleteIngress ¶
func (*K8s) DeleteNamespace ¶
func (*K8s) DeleteService ¶
Click to show internal directories.
Click to hide internal directories.