Documentation ¶
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type AnnotationSelector
- type ChildUpdateMethod
- type ChildUpdateStatusChecks
- type CompositeController
- type CompositeControllerChildResourceRule
- type CompositeControllerChildUpdateStrategy
- type CompositeControllerHooks
- type CompositeControllerList
- type CompositeControllerParentResourceRule
- type CompositeControllerRevisionHistory
- type CompositeControllerSpec
- type CompositeControllerStatus
- type ControllerRevision
- type ControllerRevisionChildren
- type ControllerRevisionList
- type DecoratorController
- type DecoratorControllerAttachmentRule
- type DecoratorControllerAttachmentUpdateStrategy
- type DecoratorControllerHooks
- type DecoratorControllerList
- type DecoratorControllerResourceRule
- type DecoratorControllerSpec
- type DecoratorControllerStatus
- type Hook
- type ResourceRule
- type ServiceReference
- type StatusConditionCheck
- type Webhook
Constants ¶
const GroupName = "metacontroller.k8s.io"
GroupName is the group name used in this package.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is the group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
Types ¶
type AnnotationSelector ¶
type AnnotationSelector struct { MatchAnnotations map[string]string `json:"matchAnnotations,omitempty"` MatchExpressions []metav1.LabelSelectorRequirement `json:"matchExpressions,omitempty"` }
func (*AnnotationSelector) DeepCopy ¶
func (in *AnnotationSelector) DeepCopy() *AnnotationSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotationSelector.
func (*AnnotationSelector) DeepCopyInto ¶
func (in *AnnotationSelector) DeepCopyInto(out *AnnotationSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChildUpdateMethod ¶
type ChildUpdateMethod string
const ( ChildUpdateOnDelete ChildUpdateMethod = "OnDelete" ChildUpdateRecreate ChildUpdateMethod = "Recreate" ChildUpdateInPlace ChildUpdateMethod = "InPlace" ChildUpdateRollingRecreate ChildUpdateMethod = "RollingRecreate" ChildUpdateRollingInPlace ChildUpdateMethod = "RollingInPlace" )
type ChildUpdateStatusChecks ¶
type ChildUpdateStatusChecks struct {
Conditions []StatusConditionCheck `json:"conditions,omitempty"`
}
func (*ChildUpdateStatusChecks) DeepCopy ¶
func (in *ChildUpdateStatusChecks) DeepCopy() *ChildUpdateStatusChecks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChildUpdateStatusChecks.
func (*ChildUpdateStatusChecks) DeepCopyInto ¶
func (in *ChildUpdateStatusChecks) DeepCopyInto(out *ChildUpdateStatusChecks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeController ¶
type CompositeController struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec CompositeControllerSpec `json:"spec"` Status CompositeControllerStatus `json:"status,omitempty"` }
func (*CompositeController) DeepCopy ¶
func (in *CompositeController) DeepCopy() *CompositeController
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeController.
func (*CompositeController) DeepCopyInto ¶
func (in *CompositeController) DeepCopyInto(out *CompositeController)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CompositeController) DeepCopyObject ¶
func (in *CompositeController) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CompositeControllerChildResourceRule ¶
type CompositeControllerChildResourceRule struct { ResourceRule `json:",inline"` UpdateStrategy *CompositeControllerChildUpdateStrategy `json:"updateStrategy,omitempty"` }
func (*CompositeControllerChildResourceRule) DeepCopy ¶
func (in *CompositeControllerChildResourceRule) DeepCopy() *CompositeControllerChildResourceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerChildResourceRule.
func (*CompositeControllerChildResourceRule) DeepCopyInto ¶
func (in *CompositeControllerChildResourceRule) DeepCopyInto(out *CompositeControllerChildResourceRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeControllerChildUpdateStrategy ¶
type CompositeControllerChildUpdateStrategy struct { Method ChildUpdateMethod `json:"method,omitempty"` StatusChecks ChildUpdateStatusChecks `json:"statusChecks,omitempty"` }
func (*CompositeControllerChildUpdateStrategy) DeepCopy ¶
func (in *CompositeControllerChildUpdateStrategy) DeepCopy() *CompositeControllerChildUpdateStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerChildUpdateStrategy.
func (*CompositeControllerChildUpdateStrategy) DeepCopyInto ¶
func (in *CompositeControllerChildUpdateStrategy) DeepCopyInto(out *CompositeControllerChildUpdateStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeControllerHooks ¶
type CompositeControllerHooks struct { Sync *Hook `json:"sync,omitempty"` PreUpdateChild *Hook `json:"preUpdateChild,omitempty"` PostUpdateChild *Hook `json:"postUpdateChild,omitempty"` }
func (*CompositeControllerHooks) DeepCopy ¶
func (in *CompositeControllerHooks) DeepCopy() *CompositeControllerHooks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerHooks.
func (*CompositeControllerHooks) DeepCopyInto ¶
func (in *CompositeControllerHooks) DeepCopyInto(out *CompositeControllerHooks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeControllerList ¶
type CompositeControllerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CompositeController `json:"items"` }
func (*CompositeControllerList) DeepCopy ¶
func (in *CompositeControllerList) DeepCopy() *CompositeControllerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerList.
func (*CompositeControllerList) DeepCopyInto ¶
func (in *CompositeControllerList) DeepCopyInto(out *CompositeControllerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CompositeControllerList) DeepCopyObject ¶
func (in *CompositeControllerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CompositeControllerParentResourceRule ¶
type CompositeControllerParentResourceRule struct { ResourceRule `json:",inline"` RevisionHistory *CompositeControllerRevisionHistory `json:"revisionHistory,omitempty"` }
func (*CompositeControllerParentResourceRule) DeepCopy ¶
func (in *CompositeControllerParentResourceRule) DeepCopy() *CompositeControllerParentResourceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerParentResourceRule.
func (*CompositeControllerParentResourceRule) DeepCopyInto ¶
func (in *CompositeControllerParentResourceRule) DeepCopyInto(out *CompositeControllerParentResourceRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeControllerRevisionHistory ¶
type CompositeControllerRevisionHistory struct {
FieldPaths []string `json:"fieldPaths,omitempty"`
}
func (*CompositeControllerRevisionHistory) DeepCopy ¶
func (in *CompositeControllerRevisionHistory) DeepCopy() *CompositeControllerRevisionHistory
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerRevisionHistory.
func (*CompositeControllerRevisionHistory) DeepCopyInto ¶
func (in *CompositeControllerRevisionHistory) DeepCopyInto(out *CompositeControllerRevisionHistory)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeControllerSpec ¶
type CompositeControllerSpec struct { ParentResource CompositeControllerParentResourceRule `json:"parentResource"` ChildResources []CompositeControllerChildResourceRule `json:"childResources,omitempty"` Hooks *CompositeControllerHooks `json:"hooks,omitempty"` ResyncPeriodSeconds *int32 `json:"resyncPeriodSeconds,omitempty"` GenerateSelector *bool `json:"generateSelector,omitempty"` }
func (*CompositeControllerSpec) DeepCopy ¶
func (in *CompositeControllerSpec) DeepCopy() *CompositeControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerSpec.
func (*CompositeControllerSpec) DeepCopyInto ¶
func (in *CompositeControllerSpec) DeepCopyInto(out *CompositeControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeControllerStatus ¶
type CompositeControllerStatus struct { }
func (*CompositeControllerStatus) DeepCopy ¶
func (in *CompositeControllerStatus) DeepCopy() *CompositeControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerStatus.
func (*CompositeControllerStatus) DeepCopyInto ¶
func (in *CompositeControllerStatus) DeepCopyInto(out *CompositeControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerRevision ¶
type ControllerRevision struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` ParentPatch runtime.RawExtension `json:"parentPatch"` Children []ControllerRevisionChildren `json:"children,omitempty"` }
func (*ControllerRevision) DeepCopy ¶
func (in *ControllerRevision) DeepCopy() *ControllerRevision
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevision.
func (*ControllerRevision) DeepCopyInto ¶
func (in *ControllerRevision) DeepCopyInto(out *ControllerRevision)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerRevision) DeepCopyObject ¶
func (in *ControllerRevision) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControllerRevisionChildren ¶
type ControllerRevisionChildren struct { APIGroup string `json:"apiGroup"` Kind string `json:"kind"` Names []string `json:"names"` }
func (*ControllerRevisionChildren) DeepCopy ¶
func (in *ControllerRevisionChildren) DeepCopy() *ControllerRevisionChildren
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionChildren.
func (*ControllerRevisionChildren) DeepCopyInto ¶
func (in *ControllerRevisionChildren) DeepCopyInto(out *ControllerRevisionChildren)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerRevisionList ¶
type ControllerRevisionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ControllerRevision `json:"items"` }
func (*ControllerRevisionList) DeepCopy ¶
func (in *ControllerRevisionList) DeepCopy() *ControllerRevisionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionList.
func (*ControllerRevisionList) DeepCopyInto ¶
func (in *ControllerRevisionList) DeepCopyInto(out *ControllerRevisionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerRevisionList) DeepCopyObject ¶
func (in *ControllerRevisionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DecoratorController ¶
type DecoratorController struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec DecoratorControllerSpec `json:"spec"` Status DecoratorControllerStatus `json:"status,omitempty"` }
func (*DecoratorController) DeepCopy ¶
func (in *DecoratorController) DeepCopy() *DecoratorController
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorController.
func (*DecoratorController) DeepCopyInto ¶
func (in *DecoratorController) DeepCopyInto(out *DecoratorController)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DecoratorController) DeepCopyObject ¶
func (in *DecoratorController) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DecoratorControllerAttachmentRule ¶
type DecoratorControllerAttachmentRule struct { ResourceRule `json:",inline"` UpdateStrategy *DecoratorControllerAttachmentUpdateStrategy `json:"updateStrategy,omitempty"` }
func (*DecoratorControllerAttachmentRule) DeepCopy ¶
func (in *DecoratorControllerAttachmentRule) DeepCopy() *DecoratorControllerAttachmentRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorControllerAttachmentRule.
func (*DecoratorControllerAttachmentRule) DeepCopyInto ¶
func (in *DecoratorControllerAttachmentRule) DeepCopyInto(out *DecoratorControllerAttachmentRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecoratorControllerAttachmentUpdateStrategy ¶
type DecoratorControllerAttachmentUpdateStrategy struct {
Method ChildUpdateMethod `json:"method,omitempty"`
}
func (*DecoratorControllerAttachmentUpdateStrategy) DeepCopy ¶
func (in *DecoratorControllerAttachmentUpdateStrategy) DeepCopy() *DecoratorControllerAttachmentUpdateStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorControllerAttachmentUpdateStrategy.
func (*DecoratorControllerAttachmentUpdateStrategy) DeepCopyInto ¶
func (in *DecoratorControllerAttachmentUpdateStrategy) DeepCopyInto(out *DecoratorControllerAttachmentUpdateStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecoratorControllerHooks ¶
type DecoratorControllerHooks struct {
Sync *Hook `json:"sync,omitempty"`
}
func (*DecoratorControllerHooks) DeepCopy ¶
func (in *DecoratorControllerHooks) DeepCopy() *DecoratorControllerHooks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorControllerHooks.
func (*DecoratorControllerHooks) DeepCopyInto ¶
func (in *DecoratorControllerHooks) DeepCopyInto(out *DecoratorControllerHooks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecoratorControllerList ¶
type DecoratorControllerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DecoratorController `json:"items"` }
func (*DecoratorControllerList) DeepCopy ¶
func (in *DecoratorControllerList) DeepCopy() *DecoratorControllerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorControllerList.
func (*DecoratorControllerList) DeepCopyInto ¶
func (in *DecoratorControllerList) DeepCopyInto(out *DecoratorControllerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DecoratorControllerList) DeepCopyObject ¶
func (in *DecoratorControllerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DecoratorControllerResourceRule ¶
type DecoratorControllerResourceRule struct { ResourceRule `json:",inline"` LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty"` AnnotationSelector *AnnotationSelector `json:"annotationSelector,omitempty"` }
func (*DecoratorControllerResourceRule) DeepCopy ¶
func (in *DecoratorControllerResourceRule) DeepCopy() *DecoratorControllerResourceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorControllerResourceRule.
func (*DecoratorControllerResourceRule) DeepCopyInto ¶
func (in *DecoratorControllerResourceRule) DeepCopyInto(out *DecoratorControllerResourceRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecoratorControllerSpec ¶
type DecoratorControllerSpec struct { Resources []DecoratorControllerResourceRule `json:"resources"` Attachments []DecoratorControllerAttachmentRule `json:"attachments,omitempty"` Hooks *DecoratorControllerHooks `json:"hooks,omitempty"` ResyncPeriodSeconds *int32 `json:"resyncPeriodSeconds,omitempty"` }
func (*DecoratorControllerSpec) DeepCopy ¶
func (in *DecoratorControllerSpec) DeepCopy() *DecoratorControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorControllerSpec.
func (*DecoratorControllerSpec) DeepCopyInto ¶
func (in *DecoratorControllerSpec) DeepCopyInto(out *DecoratorControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecoratorControllerStatus ¶
type DecoratorControllerStatus struct { }
func (*DecoratorControllerStatus) DeepCopy ¶
func (in *DecoratorControllerStatus) DeepCopy() *DecoratorControllerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorControllerStatus.
func (*DecoratorControllerStatus) DeepCopyInto ¶
func (in *DecoratorControllerStatus) DeepCopyInto(out *DecoratorControllerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hook ¶
type Hook struct {
Webhook *Webhook `json:"webhook,omitempty"`
}
func (*Hook) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hook.
func (*Hook) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceRule ¶
type ResourceRule struct { APIVersion string `json:"apiVersion"` Resource string `json:"resource"` }
func (*ResourceRule) DeepCopy ¶
func (in *ResourceRule) DeepCopy() *ResourceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRule.
func (*ResourceRule) DeepCopyInto ¶
func (in *ResourceRule) DeepCopyInto(out *ResourceRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceReference ¶
type ServiceReference struct { Name string `json:"name"` Namespace string `json:"namespace"` Port *int32 `json:"port,omitempty"` Protocol *string `json:"protocol,omitempty"` }
func (*ServiceReference) DeepCopy ¶
func (in *ServiceReference) DeepCopy() *ServiceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceReference.
func (*ServiceReference) DeepCopyInto ¶
func (in *ServiceReference) DeepCopyInto(out *ServiceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusConditionCheck ¶
type StatusConditionCheck struct { Type string `json:"type"` Status *string `json:"status,omitempty"` Reason *string `json:"reason,omitempty"` }
func (*StatusConditionCheck) DeepCopy ¶
func (in *StatusConditionCheck) DeepCopy() *StatusConditionCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusConditionCheck.
func (*StatusConditionCheck) DeepCopyInto ¶
func (in *StatusConditionCheck) DeepCopyInto(out *StatusConditionCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Webhook ¶
type Webhook struct { URL *string `json:"url,omitempty"` Path *string `json:"path,omitempty"` Service *ServiceReference `json:"service,omitempty"` }
func (*Webhook) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.
func (*Webhook) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.