Versions in this module Expand all Collapse all v3 v3.7.2 Nov 3, 2021 Changes in this version + const KeepPolicy + const ResourcePolicyAnno + var ErrNoObjectsVisited = errors.New("no objects visited") + var ManagedFieldsManager string + func AsVersioned(info *resource.Info) runtime.Object + func GetConfig(kubeconfig, context, namespace string) *genericclioptions.ConfigFlags + func SelectorsForObject(object runtime.Object) (selector labels.Selector, err error) + type Client struct + Factory Factory + Log func(string, ...interface{}) + Namespace string + func New(getter genericclioptions.RESTClientGetter) *Client + func (c *Client) Build(reader io.Reader, validate bool) (ResourceList, error) + func (c *Client) Create(resources ResourceList) (*Result, error) + func (c *Client) Delete(resources ResourceList) (*Result, []error) + func (c *Client) IsReachable() error + func (c *Client) Update(original, target ResourceList, force bool) (*Result, error) + func (c *Client) Wait(resources ResourceList, timeout time.Duration) error + func (c *Client) WaitAndGetCompletedPodPhase(name string, timeout time.Duration) (v1.PodPhase, error) + func (c *Client) WaitForDelete(resources ResourceList, timeout time.Duration) error + func (c *Client) WaitWithJobs(resources ResourceList, timeout time.Duration) error + func (c *Client) WatchUntilReady(resources ResourceList, timeout time.Duration) error + type Factory interface + KubernetesClientSet func() (*kubernetes.Clientset, error) + NewBuilder func() *resource.Builder + ToRawKubeConfigLoader func() clientcmd.ClientConfig + Validator func(validate bool) (validation.Schema, error) + type Interface interface + Build func(reader io.Reader, validate bool) (ResourceList, error) + Create func(resources ResourceList) (*Result, error) + Delete func(resources ResourceList) (*Result, []error) + IsReachable func() error + Update func(original, target ResourceList, force bool) (*Result, error) + Wait func(resources ResourceList, timeout time.Duration) error + WaitAndGetCompletedPodPhase func(name string, timeout time.Duration) (v1.PodPhase, error) + WaitWithJobs func(resources ResourceList, timeout time.Duration) error + WatchUntilReady func(resources ResourceList, timeout time.Duration) error + type InterfaceExt interface + WaitForDelete func(resources ResourceList, timeout time.Duration) error + type ReadyChecker struct + func NewReadyChecker(cl kubernetes.Interface, log func(string, ...interface{}), ...) ReadyChecker + func (c *ReadyChecker) IsReady(ctx context.Context, v *resource.Info) (bool, error) + type ReadyCheckerOption func(*ReadyChecker) + func CheckJobs(checkJobs bool) ReadyCheckerOption + func PausedAsReady(pausedAsReady bool) ReadyCheckerOption + type ResourceList []*resource.Info + func (r *ResourceList) Append(val *resource.Info) + func (r ResourceList) Contains(info *resource.Info) bool + func (r ResourceList) Difference(rs ResourceList) ResourceList + func (r ResourceList) Filter(fn func(*resource.Info) bool) ResourceList + func (r ResourceList) Get(info *resource.Info) *resource.Info + func (r ResourceList) Intersect(rs ResourceList) ResourceList + func (r ResourceList) Visit(fn resource.VisitorFunc) error + type Result struct + Created ResourceList + Deleted ResourceList + Updated ResourceList Other modules containing this package github.com/morganzhh/helm