Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceSelector ¶
type NamespaceSelector struct { MatchNames []string `json:"matchNames,omitempty"` ExcludeNames []string `json:"excludeNames,omitempty"` LabelSelector metav1.LabelSelector `json:"labelSelector,omitempty"` }
type OperationPolicy ¶
type OperationPolicy struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec defines the behavior of a node group. Spec OperationPolicySpec `json:"spec"` Status OperationPolicyStatus `json:"status,omitempty"` }
type OperationPolicySpec ¶
type OperationPolicySpec struct { Policies struct { AllowedRepos []string `json:"allowedRepos,omitempty"` RequiredResources struct { Limits []string `json:"limits,omitempty"` Requests []string `json:"requests,omitempty"` } `json:"requiredResources,omitempty"` DisallowedImageTags []string `json:"disallowedImageTags,omitempty"` RequiredProbes []string `json:"requiredProbes,omitempty"` RequiredLabels []struct { Labels []struct { Key string `json:"key,omitempty"` AllowedRegex string `json:"allowedRegex,omitempty"` } `json:"labels,omitempty"` WatchKinds []string `json:"watchKinds,omitempty"` } `json:"requiredLabels,omitempty"` MaxRevisionHistoryLimit *int `json:"maxRevisionHistoryLimit,omitempty"` ImagePullPolicy string `json:"imagePullPolicy,omitempty"` PriorityClassNames []string `json:"priorityClassNames,omitempty"` CheckHostNetworkDNSPolicy bool `json:"checkHostNetworkDNSPolicy,omitempty"` CheckContainerDuplicates bool `json:"checkContainerDuplicates,omitempty"` } `json:"policies"` Match struct { NamespaceSelector NamespaceSelector `json:"namespaceSelector,omitempty"` LabelSelector metav1.LabelSelector `json:"labelSelector,omitempty"` } `json:"match"` }
type OperationPolicyStatus ¶
type OperationPolicyStatus struct { }
Click to show internal directories.
Click to hide internal directories.