Documentation ¶
Index ¶
- func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)
- func MatchExample(label labels.Selector, field fields.Selector) storage.SelectionPredicate
- func NewStrategy(typer runtime.ObjectTyper) exampleStrategy
- func SelectableFields(obj *example.Example) fields.Set
- type QueryREST
- func (r *QueryREST) Create(ctx context.Context, obj runtime.Object, validator rest.ValidateObjectFunc, ...) (runtime.Object, error)
- func (r *QueryREST) Destroy()
- func (r *QueryREST) New() runtime.Object
- func (r *QueryREST) ProducesMIMETypes(verb string) []string
- func (r *QueryREST) ProducesObject(verb string) interface{}
- type REST
- type ResourceCallREST
- func (r *ResourceCallREST) Connect(ctx context.Context, id string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
- func (r *ResourceCallREST) ConnectMethods() []string
- func (r *ResourceCallREST) Destroy()
- func (r *ResourceCallREST) New() runtime.Object
- func (r *ResourceCallREST) NewConnectOptions() (runtime.Object, bool, string)
- type Storage
- type Wrapper
- func (w *Wrapper) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error)
- func (w *Wrapper) Create(ctx context.Context, obj runtime.Object, validate rest.ValidateObjectFunc, ...) (runtime.Object, error)
- func (w *Wrapper) Destroy()
- func (w *Wrapper) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (w *Wrapper) GetSingularName() string
- func (w *Wrapper) List(ctx context.Context, options *internalversion.ListOptions) (runtime.Object, error)
- func (w *Wrapper) NamespaceScoped() bool
- func (w *Wrapper) New() runtime.Object
- func (w *Wrapper) NewList() runtime.Object
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 Example
func MatchExample ¶
MatchExample 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) exampleStrategy
NewStrategy creates and returns a exampleStrategy instance
Types ¶
type QueryREST ¶
type QueryREST struct {
Store *genericregistry.Store
}
func (*QueryREST) ProducesMIMETypes ¶
func (*QueryREST) ProducesObject ¶
type ResourceCallREST ¶
type ResourceCallREST struct {
Store *genericregistry.Store
}
func (*ResourceCallREST) ConnectMethods ¶
func (r *ResourceCallREST) ConnectMethods() []string
func (*ResourceCallREST) Destroy ¶
func (r *ResourceCallREST) Destroy()
func (*ResourceCallREST) New ¶
func (r *ResourceCallREST) New() runtime.Object
func (*ResourceCallREST) NewConnectOptions ¶
func (r *ResourceCallREST) NewConnectOptions() (runtime.Object, bool, string)
type Storage ¶
type Storage struct { Example *REST ResourceCall *ResourceCallREST Query *QueryREST }
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
func (*Wrapper) ConvertToTable ¶
func (*Wrapper) GetSingularName ¶
func (*Wrapper) List ¶
func (w *Wrapper) List(ctx context.Context, options *internalversion.ListOptions) (runtime.Object, error)
func (*Wrapper) NamespaceScoped ¶
Click to show internal directories.
Click to hide internal directories.