Documentation ¶
Overview ¶
Package api is the internal version of the API.
Index ¶
- func NewStudentComputerREST(getter generic.RESTOptionsGetter) rest.Storage
- func NewStudentREST(optsGetter generic.RESTOptionsGetter) rest.Storage
- type ManualCreateUnversionedType
- 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 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 NewStudentComputerREST ¶
func NewStudentComputerREST(getter generic.RESTOptionsGetter) rest.Storage
Custom REST storage that delegates to the generated standard Registry
func NewStudentREST ¶
func NewStudentREST(optsGetter generic.RESTOptionsGetter) rest.Storage
Custom REST storage that delegates to the generated standard Registry
Types ¶
type StudentComputerREST ¶
type StudentComputerREST struct {
Registry StudentRegistry
}
+k8s:deepcopy-gen=false
func (*StudentComputerREST) Create ¶
func (r *StudentComputerREST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)
func (*StudentComputerREST) Get ¶
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 ¶
func (r *StudentComputerREST) New() runtime.Object
func (*StudentComputerREST) Update ¶
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 StudentREST ¶
type StudentREST struct {
*genericregistry.Store
}
+k8s:deepcopy-gen=false
func (*StudentREST) Categories ¶
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 ¶
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 ¶
type UniversityCampusREST struct {
Registry UniversityRegistry
}
+k8s:deepcopy-gen=false
func (*UniversityCampusREST) Create ¶
func (r *UniversityCampusREST) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)
func (*UniversityCampusREST) Get ¶
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 ¶
func (r *UniversityCampusREST) New() runtime.Object
func (*UniversityCampusREST) Update ¶
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=sigs.k8s.io/apiserver-builder-alpha/example/basic/pkg/apis/miskatonic +k8s:defaulter-gen=TypeMeta +groupName=miskatonic.k8s.io
|
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/apiserver-builder-alpha/example/basic/pkg/apis/miskatonic +k8s:defaulter-gen=TypeMeta +groupName=miskatonic.k8s.io |
Click to show internal directories.
Click to hide internal directories.