Documentation ¶
Overview ¶
Package api is the internal version of the API.
Index ¶
- func NewStudentBookREST(getter generic.RESTOptionsGetter) rest.Storage
- func NewStudentComputerREST(getter generic.RESTOptionsGetter) rest.Storage
- func NewStudentPencilREST(getter generic.RESTOptionsGetter) rest.Storage
- func NewStudentREST(optsGetter generic.RESTOptionsGetter) rest.Storage
- type ManualCreateUnversionedType
- type StudentBookREST
- func (r *StudentBookREST) Get(ctx context.Context, name string, opts runtime.Object) (runtime.Object, error)
- func (r *StudentBookREST) New() runtime.Object
- func (r *StudentBookREST) NewGetOptions() (runtime.Object, bool, string)
- func (r *StudentBookREST) OverrideMetricsVerb(oldVerb string) (newVerb string)
- func (r *StudentBookREST) ProducesMIMETypes(verb string) []string
- func (r *StudentBookREST) ProducesObject(verb string) interface{}
- type StudentComputerREST
- func (r *StudentComputerREST) Create(ctx context.Context, obj runtime.Object, ...) (runtime.Object, error)
- func (r *StudentComputerREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *StudentComputerREST) New() runtime.Object
- func (r *StudentComputerREST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
- type StudentPencilREST
- type StudentREST
- func (r *StudentREST) Categories() []string
- func (r *StudentREST) Create(ctx context.Context, obj runtime.Object, ...) (runtime.Object, error)
- func (r *StudentREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *StudentREST) NamespaceScoped() bool
- func (r *StudentREST) New() runtime.Object
- func (r *StudentREST) ShortNames() []string
- func (r *StudentREST) Update(ctx context.Context, name string, objInfo rest.UpdatedObjectInfo, ...) (runtime.Object, bool, error)
- type UniversityCampusREST
- func (r *UniversityCampusREST) Create(ctx context.Context, obj runtime.Object, ...) (runtime.Object, error)
- func (r *UniversityCampusREST) Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
- func (r *UniversityCampusREST) New() runtime.Object
- func (r *UniversityCampusREST) 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 NewStudentBookREST ¶ added in v1.12.4
func NewStudentBookREST(getter generic.RESTOptionsGetter) rest.Storage
Custom REST storage that delegates to the generated standard Registry
func NewStudentComputerREST ¶ added in v1.12.3
func NewStudentComputerREST(getter generic.RESTOptionsGetter) rest.Storage
Custom REST storage that delegates to the generated standard Registry
func NewStudentPencilREST ¶ added in v1.12.4
func NewStudentPencilREST(getter generic.RESTOptionsGetter) rest.Storage
Custom REST storage that delegates to the generated standard Registry
func NewStudentREST ¶ added in v1.12.3
func NewStudentREST(optsGetter generic.RESTOptionsGetter) rest.Storage
Custom REST storage that delegates to the generated standard Registry
Types ¶
type StudentBookREST ¶ added in v1.12.4
+k8s:deepcopy-gen=false
func (*StudentBookREST) New ¶ added in v1.12.4
func (r *StudentBookREST) New() runtime.Object
New creates a new Pod log options object
func (*StudentBookREST) NewGetOptions ¶ added in v1.12.4
func (r *StudentBookREST) NewGetOptions() (runtime.Object, bool, string)
NewGetOptions creates a new options object
func (*StudentBookREST) OverrideMetricsVerb ¶ added in v1.12.4
func (r *StudentBookREST) OverrideMetricsVerb(oldVerb string) (newVerb string)
OverrideMetricsVerb override the GET verb to CONNECT for pod log resource
func (*StudentBookREST) ProducesMIMETypes ¶ added in v1.12.4
func (r *StudentBookREST) ProducesMIMETypes(verb string) []string
LogREST implements StorageMetadata
func (*StudentBookREST) ProducesObject ¶ added in v1.12.4
func (r *StudentBookREST) ProducesObject(verb string) interface{}
LogREST implements StorageMetadata, return string as the generating object
type StudentComputerREST ¶ added in v1.12.3
type StudentComputerREST struct {
Registry StudentRegistry
}
+k8s:deepcopy-gen=false
func (*StudentComputerREST) Create ¶ added in v1.12.3
func (r *StudentComputerREST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)
func (*StudentComputerREST) Get ¶ added in v1.12.3
func (r *StudentComputerREST) 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 (*StudentComputerREST) New ¶ added in v1.12.3
func (r *StudentComputerREST) New() runtime.Object
func (*StudentComputerREST) Update ¶ added in v1.12.3
func (r *StudentComputerREST) 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.
type StudentPencilREST ¶ added in v1.12.4
+k8s:deepcopy-gen=false
func (*StudentPencilREST) Connect ¶ added in v1.12.4
func (r *StudentPencilREST) Connect(ctx context.Context, name string, opts runtime.Object, responder rest.Responder) (http.Handler, error)
Connect returns a handler for the pod exec proxy
func (*StudentPencilREST) ConnectMethods ¶ added in v1.12.4
func (r *StudentPencilREST) ConnectMethods() []string
ConnectMethods returns the methods supported by exec
func (*StudentPencilREST) New ¶ added in v1.12.4
func (r *StudentPencilREST) New() runtime.Object
New creates a new podAttachOptions object.
func (*StudentPencilREST) NewConnectOptions ¶ added in v1.12.4
func (r *StudentPencilREST) NewConnectOptions() (runtime.Object, bool, string)
NewConnectOptions returns the versioned object that represents exec parameters
type StudentREST ¶
type StudentREST struct {
*genericregistry.Store
}
+k8s:deepcopy-gen=false
func (*StudentREST) Categories ¶ added in v1.12.4
func (r *StudentREST) Categories() []string
func (*StudentREST) Create ¶
func (r *StudentREST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)
func (*StudentREST) Get ¶
func (r *StudentREST) 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 (*StudentREST) NamespaceScoped ¶
func (r *StudentREST) NamespaceScoped() bool
func (*StudentREST) New ¶
func (r *StudentREST) New() runtime.Object
func (*StudentREST) ShortNames ¶ added in v1.12.4
func (r *StudentREST) ShortNames() []string
func (*StudentREST) Update ¶
func (r *StudentREST) 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.
type UniversityCampusREST ¶ added in v1.12.3
type UniversityCampusREST struct {
Registry UniversityRegistry
}
+k8s:deepcopy-gen=false
func (*UniversityCampusREST) Create ¶ added in v1.12.3
func (r *UniversityCampusREST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)
func (*UniversityCampusREST) Get ¶ added in v1.12.3
func (r *UniversityCampusREST) 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 (*UniversityCampusREST) New ¶ added in v1.12.3
func (r *UniversityCampusREST) New() runtime.Object
func (*UniversityCampusREST) Update ¶ added in v1.12.3
func (r *UniversityCampusREST) 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.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubernetes-incubator/apiserver-builder-alpha/example/pkg/apis/miskatonic +k8s:defaulter-gen=TypeMeta +groupName=miskatonic.k8s.io
|
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubernetes-incubator/apiserver-builder-alpha/example/pkg/apis/miskatonic +k8s:defaulter-gen=TypeMeta +groupName=miskatonic.k8s.io |