Documentation ¶
Index ¶
- func ClusterInformationToSelectableFields(obj *calico.ClusterInformation) fields.Set
- func EmptyObject() runtime.Object
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchClusterInformation(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewList() runtime.Object
- func NewStrategy(typer runtime.ObjectTyper) apiServerStrategy
- type REST
- func (r *REST) Categories() []string
- func (r *REST) Create(ctx context.Context, obj runtime.Object, ...) (runtime.Object, error)
- func (r *REST) Delete(ctx context.Context, name string, deleteValidation rest.ValidateObjectFunc, ...) (runtime.Object, bool, error)
- func (r *REST) ShortNames() []string
- func (r *REST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterInformationToSelectableFields ¶
func ClusterInformationToSelectableFields(obj *calico.ClusterInformation) fields.Set
ClusterInformationToSelectableFields returns a field set that represents the object.
func MatchClusterInformation ¶
func MatchClusterInformation(label labels.Selector, field fields.Selector) storage.SelectionPredicate
MatchClusterInformation is the filter used by the generic etcd backend to watch events from etcd to clients of the apiserver only interested in specific labels/fields.
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) apiServerStrategy
NewStrategy returns a new NamespaceScopedStrategy for instances
Types ¶
type REST ¶
type REST struct { *genericregistry.Store // contains filtered or unexported fields }
func (*REST) Categories ¶
func (*REST) Create ¶
func (r *REST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)
Not supported.
func (*REST) Delete ¶
func (r *REST) Delete(ctx context.Context, name string, deleteValidation rest.ValidateObjectFunc, options *metav1.DeleteOptions) (runtime.Object, bool, error)
Not supported.
func (*REST) ShortNames ¶
func (*REST) Update ¶
func (r *REST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)
Not supported.
Click to show internal directories.
Click to hide internal directories.