v1

package
v0.0.0-...-67f6199 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterObject

func FilterObject(acs *api.ArangoClusterSynchronization, filters ...Filter) bool

Types

type Action

type Action func(acs *api.ArangoClusterSynchronization) error

type Filter

type Filter func(acs *api.ArangoClusterSynchronization) bool

type Inspector

type Inspector interface {
	gvk.GVK

	ListSimple() []*api.ArangoClusterSynchronization
	GetSimple(name string) (*api.ArangoClusterSynchronization, bool)
	Filter(filters ...Filter) []*api.ArangoClusterSynchronization
	Iterate(action Action, filters ...Filter) error
	Read() ReadInterface
}

type Interface

type Interface interface {
	ModInterface
	ReadInterface
}

Interface has methods to work with GetSimple resources.

type ModInterface

ModInterface has methods to work with GetSimple resources only for creation

type ReadInterface

type ReadInterface interface {
	Get(ctx context.Context, name string, opts meta.GetOptions) (*api.ArangoClusterSynchronization, error)
}

ReadInterface has methods to work with GetSimple resources with ReadOnly mode.

Jump to

Keyboard shortcuts

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