Versions in this module Expand all Collapse all v0 v0.1.0 Jun 11, 2024 Changes in this version + var ErrEmptyService = errors.New("empty k8s service") + var ErrEmptySpec = errors.New("empty resources in spec") + var ErrNotOneSvcWithTargetPort = errors.New("only support one k8s service to forward with target port") + func ForwardPort(ctx context.Context, restConfig *rest.Config, clientset *kubernetes.Clientset, ...) error + type ApplyOperation struct + func (ao *ApplyOperation) Apply(req *ApplyRequest) (rsp *ApplyResponse, s v1.Status) + type ApplyRequest struct + Release *apiv1.Release + type ApplyResponse struct + Release *apiv1.Release + type DestroyOperation struct + func (do *DestroyOperation) Destroy(req *DestroyRequest) (rsp *DestroyResponse, s v1.Status) + type DestroyRequest struct + Release *apiv1.Release + type DestroyResponse struct + Release *apiv1.Release + type PortForwardOperation struct + func (bpo *PortForwardOperation) PortForward(req *PortForwardRequest) error + type PortForwardRequest struct + Port int + Spec *v1.Spec + type PreviewOperation struct + func (po *PreviewOperation) Preview(req *PreviewRequest) (rsp *PreviewResponse, s v1.Status) + type PreviewRequest struct + Spec *apiv1.Spec + State *apiv1.State + type PreviewResponse struct + Order *models.ChangeOrder + type WatchOperation struct + func (wo *WatchOperation) Watch(req *WatchRequest) error + type WatchRequest struct + Spec *apiv1.Spec