miskatonic

package
v1.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package api is the internal version of the API.

Index

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 ManualCreateUnversionedType

type ManualCreateUnversionedType struct {
	A string
	B bool
}

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

Get retrieves the object from the storage. It is required to support Patch.

func (*StudentComputerREST) New

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

Get retrieves the object from the storage. It is required to support Patch.

func (*UniversityCampusREST) New

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.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL