Documentation ¶
Index ¶
- func NewComplete(scheme *runtime.Scheme, s strategy.CompleteStrategy) rest.Storage
- func NewStatus(scheme *runtime.Scheme, updater strategy.StatusUpdater) rest.Storage
- type Builder
- func (b Builder) Build() rest.Storage
- func (b Builder) WithCompleteCRUD(complete strategy.CompleteCRUD) *Builder
- func (b Builder) WithCreate(create strategy.Creater) *Builder
- func (b Builder) WithDelete(deleter strategy.Deleter) *Builder
- func (b Builder) WithDestroy(destroy strategy.Destroyer) *Builder
- func (b Builder) WithGet(get strategy.Getter) *Builder
- func (b Builder) WithList(lister strategy.Lister) *Builder
- func (b Builder) WithPrepareCreate(prepare strategy.PrepareForCreator) *Builder
- func (b Builder) WithPrepareUpdate(prepare strategy.PrepareForUpdater) *Builder
- func (b Builder) WithTableConverter(table rest.TableConvertor) *Builder
- func (b Builder) WithUpdate(update strategy.Updater) *Builder
- func (b Builder) WithValidateCreate(validate strategy.Validator) *Builder
- func (b Builder) WithValidateDelete(validate strategy.ValidateDeleter) *Builder
- func (b Builder) WithValidateName(validate strategy.NameValidator) *Builder
- func (b Builder) WithValidateUpdate(validate strategy.ValidateUpdater) *Builder
- func (b Builder) WithWarnOnCreate(warn strategy.WarningsOnCreator) *Builder
- func (b Builder) WithWarnOnUpdate(warn strategy.WarningsOnUpdater) *Builder
- func (b Builder) WithWatch(watch strategy.Watcher) *Builder
- type Complete
- type CreateGetListDeleteStore
- type CreateGetListDeleteUpdateStore
- type CreateGetListDeleteWatchStore
- type CreateGetStore
- type CreateOnlyStore
- type GetListDeleteStore
- type GetListStore
- type GetListUpdateDeleteStore
- type GetListUpdateDeleteWatchStore
- type GetListWatchStore
- type GetOnlyStore
- type ListOnlyStore
- type ListWatchStore
- type ReadDeleteStore
- type ReadWriteWatchStore
- type Status
- func (s *Status) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)
- func (s *Status) Destroy()
- func (s *Status) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (s *Status) New() runtime.Object
- func (s *Status) 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 NewComplete ¶
Types ¶
type Builder ¶
type Builder struct { List strategy.Lister Update strategy.Updater Get strategy.Getter Create strategy.Creater Delete strategy.Deleter Destroy strategy.Destroyer Watch strategy.Watcher TableConverter rest.TableConvertor PrepareForUpdater strategy.PrepareForUpdater WarningsOnUpdater strategy.WarningsOnUpdater ValidateUpdater strategy.ValidateUpdater PrepareForCreator strategy.PrepareForCreator WarningsOnCreator strategy.WarningsOnCreator Validator strategy.Validator NameValidator strategy.NameValidator ValidateDeleter strategy.ValidateDeleter // contains filtered or unexported fields }
func (Builder) WithCompleteCRUD ¶
func (b Builder) WithCompleteCRUD(complete strategy.CompleteCRUD) *Builder
func (Builder) WithPrepareCreate ¶
func (b Builder) WithPrepareCreate(prepare strategy.PrepareForCreator) *Builder
func (Builder) WithPrepareUpdate ¶
func (b Builder) WithPrepareUpdate(prepare strategy.PrepareForUpdater) *Builder
func (Builder) WithTableConverter ¶
func (b Builder) WithTableConverter(table rest.TableConvertor) *Builder
func (Builder) WithValidateCreate ¶
func (Builder) WithValidateDelete ¶
func (b Builder) WithValidateDelete(validate strategy.ValidateDeleter) *Builder
func (Builder) WithValidateName ¶
func (b Builder) WithValidateName(validate strategy.NameValidator) *Builder
func (Builder) WithValidateUpdate ¶
func (b Builder) WithValidateUpdate(validate strategy.ValidateUpdater) *Builder
func (Builder) WithWarnOnCreate ¶
func (b Builder) WithWarnOnCreate(warn strategy.WarningsOnCreator) *Builder
func (Builder) WithWarnOnUpdate ¶
func (b Builder) WithWarnOnUpdate(warn strategy.WarningsOnUpdater) *Builder
type Complete ¶
type Complete struct { *strategy.SingularNameAdapter *strategy.CreateAdapter *strategy.UpdateAdapter *strategy.GetAdapter *strategy.ListAdapter *strategy.DeleteAdapter *strategy.WatchAdapter // contains filtered or unexported fields }
func (*Complete) NamespaceScoped ¶
type CreateGetListDeleteStore ¶
type CreateGetListDeleteStore struct { *strategy.SingularNameAdapter *strategy.GetAdapter *strategy.CreateAdapter *strategy.ListAdapter *strategy.DeleteAdapter *strategy.DestroyAdapter *strategy.TableAdapter }
func (*CreateGetListDeleteStore) NamespaceScoped ¶
func (r *CreateGetListDeleteStore) NamespaceScoped() bool
func (*CreateGetListDeleteStore) New ¶
func (c *CreateGetListDeleteStore) New() runtime.Object
type CreateGetListDeleteUpdateStore ¶
type CreateGetListDeleteUpdateStore struct { *strategy.SingularNameAdapter *strategy.GetAdapter *strategy.CreateAdapter *strategy.ListAdapter *strategy.DeleteAdapter *strategy.DestroyAdapter *strategy.UpdateAdapter *strategy.TableAdapter }
func (*CreateGetListDeleteUpdateStore) NamespaceScoped ¶
func (c *CreateGetListDeleteUpdateStore) NamespaceScoped() bool
func (*CreateGetListDeleteUpdateStore) New ¶
func (c *CreateGetListDeleteUpdateStore) New() runtime.Object
type CreateGetListDeleteWatchStore ¶
type CreateGetListDeleteWatchStore struct { *strategy.SingularNameAdapter *strategy.GetAdapter *strategy.CreateAdapter *strategy.ListAdapter *strategy.DeleteAdapter *strategy.DestroyAdapter *strategy.TableAdapter *strategy.WatchAdapter }
func (*CreateGetListDeleteWatchStore) NamespaceScoped ¶
func (r *CreateGetListDeleteWatchStore) NamespaceScoped() bool
func (*CreateGetListDeleteWatchStore) New ¶
func (c *CreateGetListDeleteWatchStore) New() runtime.Object
type CreateGetStore ¶
type CreateGetStore struct { *strategy.SingularNameAdapter *strategy.CreateAdapter *strategy.GetAdapter *strategy.DestroyAdapter *strategy.TableAdapter }
type CreateOnlyStore ¶
type CreateOnlyStore struct { *strategy.SingularNameAdapter *strategy.CreateAdapter *strategy.DestroyAdapter *strategy.TableAdapter }
type GetListDeleteStore ¶
type GetListDeleteStore struct { *strategy.SingularNameAdapter *strategy.GetAdapter *strategy.ListAdapter *strategy.DeleteAdapter *strategy.DestroyAdapter *strategy.NewAdapter *strategy.TableAdapter }
func (*GetListDeleteStore) NamespaceScoped ¶
func (r *GetListDeleteStore) NamespaceScoped() bool
type GetListStore ¶
type GetListStore struct { *strategy.SingularNameAdapter *strategy.GetAdapter *strategy.ListAdapter *strategy.DestroyAdapter *strategy.NewAdapter *strategy.TableAdapter }
func (*GetListStore) NamespaceScoped ¶
func (r *GetListStore) NamespaceScoped() bool
type GetListUpdateDeleteStore ¶
type GetListUpdateDeleteStore struct { *strategy.SingularNameAdapter *strategy.GetAdapter *strategy.UpdateAdapter *strategy.ListAdapter *strategy.DeleteAdapter *strategy.DestroyAdapter *strategy.TableAdapter }
type GetListUpdateDeleteWatchStore ¶
type GetListUpdateDeleteWatchStore struct { *strategy.SingularNameAdapter *strategy.GetAdapter *strategy.UpdateAdapter *strategy.ListAdapter *strategy.DeleteAdapter *strategy.WatchAdapter *strategy.DestroyAdapter *strategy.TableAdapter }
func (*GetListUpdateDeleteWatchStore) NamespaceScoped ¶
func (g *GetListUpdateDeleteWatchStore) NamespaceScoped() bool
type GetListWatchStore ¶
type GetListWatchStore struct { *strategy.SingularNameAdapter *strategy.NewAdapter *strategy.GetAdapter *strategy.ListAdapter *strategy.WatchAdapter *strategy.DestroyAdapter *strategy.TableAdapter }
func (*GetListWatchStore) NamespaceScoped ¶
func (r *GetListWatchStore) NamespaceScoped() bool
type GetOnlyStore ¶
type GetOnlyStore struct { *strategy.SingularNameAdapter *strategy.GetAdapter *strategy.NewAdapter *strategy.DestroyAdapter *strategy.ScoperAdapter *strategy.TableAdapter }
type ListOnlyStore ¶
type ListOnlyStore struct { *strategy.SingularNameAdapter *strategy.ListAdapter *strategy.DestroyAdapter *strategy.NewAdapter }
func (*ListOnlyStore) NamespaceScoped ¶
func (r *ListOnlyStore) NamespaceScoped() bool
type ListWatchStore ¶
type ListWatchStore struct { *strategy.SingularNameAdapter *strategy.NewAdapter *strategy.ListAdapter *strategy.WatchAdapter *strategy.DestroyAdapter *strategy.TableAdapter }
func (*ListWatchStore) NamespaceScoped ¶
func (r *ListWatchStore) NamespaceScoped() bool
type ReadDeleteStore ¶
type ReadDeleteStore struct { *strategy.SingularNameAdapter *strategy.GetAdapter *strategy.ListAdapter *strategy.WatchAdapter *strategy.DeleteAdapter *strategy.DestroyAdapter *strategy.NewAdapter }
func (*ReadDeleteStore) NamespaceScoped ¶
func (r *ReadDeleteStore) NamespaceScoped() bool
type ReadWriteWatchStore ¶
type ReadWriteWatchStore struct { *strategy.SingularNameAdapter *strategy.CreateAdapter *strategy.GetAdapter *strategy.ListAdapter *strategy.UpdateAdapter *strategy.DeleteAdapter *strategy.WatchAdapter *strategy.DestroyAdapter *strategy.TableAdapter }
func (*ReadWriteWatchStore) NamespaceScoped ¶
func (r *ReadWriteWatchStore) NamespaceScoped() bool
type Status ¶
type Status struct {
// contains filtered or unexported fields
}
func (*Status) ConvertToTable ¶
func (*Status) Update ¶
func (s *Status) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)
Source Files ¶
- builder.go
- complete.go
- createget.go
- creategetlistdelete.go
- creategetlistdeleteupdate.go
- creategetlistdeletewatch.go
- createonly.go
- getlist.go
- getlistdelete.go
- getlistupdatedelete.go
- getlistupdatedeletewatch.go
- getlistwatch.go
- getonly.go
- listonly.go
- listwatch.go
- readdelete.go
- readwritewatch.go
- status.go
Click to show internal directories.
Click to hide internal directories.