Versions in this module Expand all Collapse all v0 v0.3.3 Jan 12, 2022 v0.3.2 Jan 12, 2022 Changes in this version + var CreateDryRunAll = DryRunAll + var DryRunAll = dryRunAll + var ForceOwnership = forceOwnership + var PatchDryRunAll = DryRunAll + var UpdateDryRunAll = DryRunAll + func IgnoreNotFound(err error) error + type Client interface + type ClientCache interface + GetObjMeta func(obj runtime.Object) (*ObjMeta, error) + GetResource func(obj runtime.Object) (*ResourceMeta, error) + func NewClientCache(config *rest.Config, options Options) ClientCache + type Continue string + func (c Continue) ApplyToList(opts *ListOptions) + type CreateOption interface + ApplyToCreate func(*CreateOptions) + type CreateOptions struct + DryRun []string + FieldManager string + Raw *metav1.CreateOptions + URLOption *URLOptions + Workspace *WorkspaceOptions + func (o *CreateOptions) ApplyOptions(opts []CreateOption) *CreateOptions + func (o *CreateOptions) ApplyToCreate(co *CreateOptions) + func (o *CreateOptions) AsCreateOptions() *metav1.CreateOptions + type DeleteAllOfOption interface + ApplyToDeleteAllOf func(*DeleteAllOfOptions) + type DeleteAllOfOptions struct + func (o *DeleteAllOfOptions) ApplyOptions(opts []DeleteAllOfOption) *DeleteAllOfOptions + func (o *DeleteAllOfOptions) ApplyToDeleteAllOf(do *DeleteAllOfOptions) + type DeleteOption interface + ApplyToDelete func(*DeleteOptions) + type DeleteOptions struct + DryRun []string + GracePeriodSeconds *int64 + Preconditions *metav1.Preconditions + PropagationPolicy *metav1.DeletionPropagation + Raw *metav1.DeleteOptions + URLOption *URLOptions + Workspace *WorkspaceOptions + func (o *DeleteOptions) ApplyOptions(opts []DeleteOption) *DeleteOptions + func (o *DeleteOptions) ApplyToDelete(do *DeleteOptions) + func (o *DeleteOptions) AsDeleteOptions() *metav1.DeleteOptions + type FieldOwner string + func (f FieldOwner) ApplyToCreate(opts *CreateOptions) + func (f FieldOwner) ApplyToPatch(opts *PatchOptions) + func (f FieldOwner) ApplyToUpdate(opts *UpdateOptions) + type GetOption interface + ApplyToGet func(*GetOptions) + type GetOptions struct + Namespace string + URLOption *URLOptions + Workspace *WorkspaceOptions + func (o *GetOptions) ApplyOptions(opts []GetOption) *GetOptions + func (o *GetOptions) ApplyToGet(lo *GetOptions) + type GracePeriodSeconds int64 + func (s GracePeriodSeconds) ApplyToDelete(opts *DeleteOptions) + func (s GracePeriodSeconds) ApplyToDeleteAllOf(opts *DeleteAllOfOptions) + type HasLabels []string + func (m HasLabels) ApplyToDeleteAllOf(opts *DeleteAllOfOptions) + func (m HasLabels) ApplyToList(opts *ListOptions) + type InNamespace string + func (n InNamespace) ApplyToDeleteAllOf(opts *DeleteAllOfOptions) + func (n InNamespace) ApplyToList(opts *ListOptions) + type Limit int64 + func (l Limit) ApplyToList(opts *ListOptions) + type ListOption interface + ApplyToList func(*ListOptions) + type ListOptions struct + Continue string + FieldSelector fields.Selector + LabelSelector labels.Selector + Limit int64 + Namespace string + Raw *metav1.ListOptions + URLOption *URLOptions + Workspace *WorkspaceOptions + func (o *ListOptions) ApplyOptions(opts []ListOption) *ListOptions + func (o *ListOptions) ApplyToList(lo *ListOptions) + func (o *ListOptions) AsListOptions() *metav1.ListOptions + type MatchingFields fields.Set + func MatchingField(name, val string) MatchingFields + func (m MatchingFields) ApplyToDeleteAllOf(opts *DeleteAllOfOptions) + func (m MatchingFields) ApplyToList(opts *ListOptions) + type MatchingFieldsSelector struct + func (m MatchingFieldsSelector) ApplyToDeleteAllOf(opts *DeleteAllOfOptions) + func (m MatchingFieldsSelector) ApplyToList(opts *ListOptions) + type MatchingLabels map[string]string + func (m MatchingLabels) ApplyToDeleteAllOf(opts *DeleteAllOfOptions) + func (m MatchingLabels) ApplyToList(opts *ListOptions) + type MatchingLabelsSelector struct + func (m MatchingLabelsSelector) ApplyToDeleteAllOf(opts *DeleteAllOfOptions) + func (m MatchingLabelsSelector) ApplyToList(opts *ListOptions) + type NoConversionParamCodec struct + func (NoConversionParamCodec) DecodeParameters(parameters url.Values, from schema.GroupVersion, into runtime.Object) error + func (NoConversionParamCodec) EncodeParameters(obj runtime.Object, to schema.GroupVersion) (url.Values, error) + type ObjMeta struct + type ObjectKey = types.NamespacedName + func ObjectKeyFromObject(obj runtime.Object) (ObjectKey, error) + type Options struct + Mapper meta.RESTMapper + Scheme *runtime.Scheme + type Patch interface + Data func(obj runtime.Object) ([]byte, error) + Type func() types.PatchType + type PatchOption interface + ApplyToPatch func(*PatchOptions) + type PatchOptions struct + DryRun []string + FieldManager string + Force *bool + Raw *metav1.PatchOptions + URLOption *URLOptions + Workspace *WorkspaceOptions + func (o *PatchOptions) ApplyOptions(opts []PatchOption) *PatchOptions + func (o *PatchOptions) ApplyToPatch(po *PatchOptions) + func (o *PatchOptions) AsPatchOptions() *metav1.PatchOptions + type Preconditions metav1.Preconditions + func (p Preconditions) ApplyToDelete(opts *DeleteOptions) + func (p Preconditions) ApplyToDeleteAllOf(opts *DeleteAllOfOptions) + type PropagationPolicy metav1.DeletionPropagation + func (p PropagationPolicy) ApplyToDelete(opts *DeleteOptions) + func (p PropagationPolicy) ApplyToDeleteAllOf(opts *DeleteAllOfOptions) + type Reader interface + Get func(ctx context.Context, key ObjectKey, obj runtime.Object, opts ...GetOption) error + List func(ctx context.Context, list runtime.Object, opts ...ListOption) error + type ResourceMeta struct + func (r *ResourceMeta) IsNamespaced() bool + func (r *ResourceMeta) Resource() string + type StatusClient interface + Status func() StatusWriter + type StatusWriter interface + Patch func(ctx context.Context, obj runtime.Object, patch Patch, opts ...PatchOption) error + Update func(ctx context.Context, obj runtime.Object, opts ...UpdateOption) error + type URLOptions struct + AbsPath string + Group string + Version string + func (m *URLOptions) ApplyToCreate(opts *CreateOptions) + func (m *URLOptions) ApplyToDelete(opts *DeleteOptions) + func (m *URLOptions) ApplyToGet(opts *GetOptions) + func (m *URLOptions) ApplyToList(opts *ListOptions) + func (w *URLOptions) URL() []string + type UpdateOption interface + ApplyToUpdate func(*UpdateOptions) + type UpdateOptions struct + DryRun []string + FieldManager string + Raw *metav1.UpdateOptions + URLOption *URLOptions + Workspace *WorkspaceOptions + func (o *UpdateOptions) ApplyOptions(opts []UpdateOption) *UpdateOptions + func (o *UpdateOptions) ApplyToUpdate(uo *UpdateOptions) + func (o *UpdateOptions) AsUpdateOptions() *metav1.UpdateOptions + type WorkspaceOptions struct + Name string + func (w *WorkspaceOptions) ApplyToCreate(opts *CreateOptions) + func (w *WorkspaceOptions) ApplyToDelete(opts *DeleteOptions) + func (w *WorkspaceOptions) ApplyToGet(opts *GetOptions) + func (w *WorkspaceOptions) ApplyToList(opts *ListOptions) + type Writer interface + Create func(ctx context.Context, obj runtime.Object, opts ...CreateOption) error + Delete func(ctx context.Context, obj runtime.Object, opts ...DeleteOption) error + DeleteAllOf func(ctx context.Context, obj runtime.Object, opts ...DeleteAllOfOption) error + Patch func(ctx context.Context, obj runtime.Object, patch Patch, opts ...PatchOption) error + Update func(ctx context.Context, obj runtime.Object, opts ...UpdateOption) error