core

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapReader

type ConfigMapReader interface {
	ListConfigMaps(ctx context.Context, query *query.Query) (*v1.ConfigMapList, error)
	WatchConfigMaps(ctx context.Context, query *query.Query) (watch.Interface, error)
	GetConfigMap(ctx context.Context, name string) (*v1.ConfigMap, error)
	ConfigMapReaderEx
}

type ConfigMapReaderEx

type ConfigMapReaderEx interface {
	GetConfigMapEx(ctx context.Context, name string, resourceVersion string) (*v1.ConfigMap, error)
	ListConfigMapsEx(ctx context.Context, query *query.Query) (*models.PageableResponse, error)
}

type ConfigMapWriter

type ConfigMapWriter interface {
	CreateConfigMap(ctx context.Context, configmap *v1.ConfigMap) (*v1.ConfigMap, error)
	UpdateConfigMap(ctx context.Context, configmap *v1.ConfigMap) (*v1.ConfigMap, error)
	DeleteConfigMap(ctx context.Context, name string) error
}

type Operator

type Operator interface {
	OperatorReader
	OperatorWriter
}

func NewOperator

func NewOperator(cmStorage rest.StandardStorage) Operator

type OperatorReader

type OperatorReader interface {
	ConfigMapReader
}

type OperatorWriter

type OperatorWriter interface {
	ConfigMapWriter
}

Jump to

Keyboard shortcuts

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