apiset

package
v0.33.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object interface {
	ctrlclient.Object
	GetSpec() interface{}
	GetGroupVersionResource() schema.GroupVersionResource
	NewList() runtime.Object
}

An API object with the methods we need to do bulk creation.

type ObjectSet

type ObjectSet map[string]TypedObjectSet

A set of API Objects of different types.

func (ObjectSet) Add added in v0.22.10

func (s ObjectSet) Add(o Object)

func (ObjectSet) AddSetForType added in v0.22.10

func (s ObjectSet) AddSetForType(o Object, set TypedObjectSet)

`o` is only used to indicate the type - it does not get added to the set

func (ObjectSet) GetOrCreateTypedSet added in v0.22.10

func (s ObjectSet) GetOrCreateTypedSet(o Object) TypedObjectSet

func (ObjectSet) GetSetForType added in v0.22.10

func (s ObjectSet) GetSetForType(o Object) TypedObjectSet

type TypedObjectSet

type TypedObjectSet map[string]Object

A set of API Objects of the same type.

Jump to

Keyboard shortcuts

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