Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OverridePolicy ¶
type OverridePolicy struct { ObjectMeta types.ObjectMeta `json:"objectMeta"` TypeMeta types.TypeMeta `json:"typeMeta"` // Override specificed data ResourceSelectors []v1alpha1.ResourceSelector `json:"resourceSelectors"` OverrideRules []v1alpha1.RuleWithCluster `json:"overrideRules"` }
type OverridePolicyCell ¶
type OverridePolicyCell v1alpha1.OverridePolicy
func (OverridePolicyCell) GetProperty ¶
func (self OverridePolicyCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type OverridePolicyDetail ¶
type OverridePolicyDetail struct { // Extends list item structure. OverridePolicy `json:",inline"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
OverridePolicyDetail is a presentation layer view of Karmada OverridePolicy resource. This means it is OverridePolicy plus additional augmented data we can get from other sources.
func GetOverridePolicyDetail ¶
func GetOverridePolicyDetail(client karmadaclientset.Interface, namespace, name string) (*OverridePolicyDetail, error)
GetOverridePolicyDetail gets Overridepolicy details.
type OverridePolicyList ¶
type OverridePolicyList struct { ListMeta types.ListMeta `json:"listMeta"` // Unordered list of OverridePolicys. OverridePolicys []OverridePolicy `json:"overridepolicys"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
OverridePolicyList contains a list of propagation in the karmada control-plance.
func GetOverridePolicyList ¶
func GetOverridePolicyList(client karmadaclientset.Interface, k8sClient kubernetes.Interface, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*OverridePolicyList, error)
GetOverridePolicyList returns a list of all propagations in the karmada control-plance.
Click to show internal directories.
Click to hide internal directories.