Documentation ¶
Index ¶
- func EmptyObject() runtime.Object
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewList() runtime.Object
- func NewREST(scheme *runtime.Scheme, opts server.Options) (*REST, *StatusREST, error)
- func NewStatusStrategy(strategy apiServerStrategy) apiServerStatusStrategy
- func NewStrategy(typer runtime.ObjectTyper) apiServerStrategy
- func ToSelectableFields(obj *calico.KubeControllersConfiguration) fields.Set
- func ValidateUpdate(update, old *calico.KubeControllersConfiguration) field.ErrorList
- type REST
- type StatusREST
- func (r *StatusREST) Destroy()
- func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *StatusREST) New() runtime.Object
- func (r *StatusREST) 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 Match ¶
Match 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 NewStatusStrategy ¶
func NewStatusStrategy(strategy apiServerStrategy) apiServerStatusStrategy
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) apiServerStrategy
NewStrategy returns a new NamespaceScopedStrategy for instances
func ToSelectableFields ¶
func ToSelectableFields(obj *calico.KubeControllersConfiguration) fields.Set
ToSelectableFields returns a field set that represents the object.
func ValidateUpdate ¶
func ValidateUpdate(update, old *calico.KubeControllersConfiguration) field.ErrorList
Types ¶
type REST ¶
type REST struct {
*genericregistry.Store
}
rest implements a RESTStorage for API services against etcd
type StatusREST ¶
type StatusREST struct {
// contains filtered or unexported fields
}
StatusREST implements the REST endpoint for changing the status of a deployment
func (*StatusREST) Destroy ¶
func (r *StatusREST) Destroy()
func (*StatusREST) Get ¶
func (r *StatusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
Get retrieves the object from the storage. It is required to support Patch.
func (*StatusREST) New ¶
func (r *StatusREST) New() runtime.Object
func (*StatusREST) Update ¶
func (r *StatusREST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)
Update alters the status subset of an object.
Click to show internal directories.
Click to hide internal directories.