Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PropagationPolicy ¶
type PropagationPolicy struct { ObjectMeta types.ObjectMeta `json:"objectMeta"` TypeMeta types.TypeMeta `json:"typeMeta"` // propagation specificed data SchedulerName string `json:"schedulerName"` ClusterAffinity *v1alpha1.ClusterAffinity `json:"clusterAffinity"` Deployments []string `json:"deployments"` }
type PropagationPolicyCell ¶
type PropagationPolicyCell v1alpha1.PropagationPolicy
PropagationPolicyCell is a wrapper around PropagationPolicy type
func (PropagationPolicyCell) GetProperty ¶
func (self PropagationPolicyCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
GetProperty returns the given property of the PropagationPolicy.
type PropagationPolicyDetail ¶
type PropagationPolicyDetail struct { // Extends list item structure. PropagationPolicy `json:",inline"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
PropagationPolicyDetail is a presentation layer view of Karmada PropagationPolicy resource. This means it is PropagationPolicy plus additional augmented data we can get from other sources.
func GetPropagationPolicyDetail ¶
func GetPropagationPolicyDetail(client karmadaclientset.Interface, namespace, name string) (*PropagationPolicyDetail, error)
GetPropagationPolicyDetail gets propagationpolicy details.
type PropagationPolicyList ¶
type PropagationPolicyList struct { ListMeta types.ListMeta `json:"listMeta"` // Unordered list of PropagationPolicys. PropagationPolicys []PropagationPolicy `json:"propagationpolicys"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
PropagationPolicyList contains a list of propagation in the karmada control-plance.
func GetPropagationPolicyList ¶
func GetPropagationPolicyList(client karmadaclientset.Interface, k8sClient kubernetes.Interface, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*PropagationPolicyList, error)
GetPropagationPolicyList returns a list of all propagations in the karmada control-plance.
Click to show internal directories.
Click to hide internal directories.