volumeclass

package
v0.8.0-alpha7 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterStorage

func NewClusterStorage(c kclient.WithWatch) rest.Storage

func NewProjectStorage

func NewProjectStorage(c kclient.WithWatch) rest.Storage

Types

type ClusterTranslator

type ClusterTranslator struct{}

func (*ClusterTranslator) FromPublic

func (s *ClusterTranslator) FromPublic(obj mtypes.Object) mtypes.Object

func (*ClusterTranslator) ToPublic

func (s *ClusterTranslator) ToPublic(obj mtypes.Object) mtypes.Object

type ClusterValidator

type ClusterValidator struct {
	// contains filtered or unexported fields
}

func NewClusterValidator

func NewClusterValidator(client kclient.Client) *ClusterValidator

func (*ClusterValidator) Validate

func (s *ClusterValidator) Validate(ctx context.Context, obj runtime.Object) (result field.ErrorList)

func (*ClusterValidator) ValidateUpdate

func (s *ClusterValidator) ValidateUpdate(ctx context.Context, newObj, oldObj runtime.Object) field.ErrorList

type ProjectTranslator

type ProjectTranslator struct{}

func (*ProjectTranslator) FromPublic

func (s *ProjectTranslator) FromPublic(obj mtypes.Object) mtypes.Object

func (*ProjectTranslator) ToPublic

func (s *ProjectTranslator) ToPublic(obj mtypes.Object) mtypes.Object

type ProjectValidator

type ProjectValidator struct {
	// contains filtered or unexported fields
}

func NewProjectValidator

func NewProjectValidator(client kclient.Client) *ProjectValidator

func (*ProjectValidator) Validate

func (s *ProjectValidator) Validate(ctx context.Context, obj runtime.Object) (result field.ErrorList)

func (*ProjectValidator) ValidateUpdate

func (s *ProjectValidator) ValidateUpdate(ctx context.Context, newObj, oldObj runtime.Object) field.ErrorList

Jump to

Keyboard shortcuts

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