Documentation
¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchBlob(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error)
- func NewStatusStrategy(strategy *blobStrategy) *blobStatusStrategy
- func NewStrategy(typer runtime.ObjectTyper) *blobStrategy
- func SelectableFields(obj *v1alpha1.Blob) fields.Set
- type REST
- type StatusREST
- func (r *StatusREST) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)
- 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 GetAttrs ¶
GetAttrs returns labels.Set, fields.Set, and error in case the given runtime.Object is not a Blob
func MatchBlob ¶
MatchBlob 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 NewREST ¶
func NewREST(scheme *runtime.Scheme, optsGetter generic.RESTOptionsGetter) (*REST, *StatusREST, error)
NewREST returns a RESTStorage object that will work against API services.
func NewStatusStrategy ¶
func NewStatusStrategy(strategy *blobStrategy) *blobStatusStrategy
NewStatusStrategy creates a blobStatusStrategy instance.
func NewStrategy ¶
func NewStrategy(typer runtime.ObjectTyper) *blobStrategy
NewStrategy creates and returns a blobStrategy instance
Types ¶
type REST ¶
type REST struct {
*genericregistry.Store
}
REST implements a RESTStorage for API services.
func (*REST) ShortNames ¶
type StatusREST ¶
type StatusREST struct {
// contains filtered or unexported fields
}
func (*StatusREST) ConvertToTable ¶
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)
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)
Click to show internal directories.
Click to hide internal directories.