instance

package
v0.0.0-...-66691d1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StatusStrategy = instanceStatusStrategy{Strategy}
View Source
var Strategy = instanceStrategy{api.Scheme, names.SimpleNameGenerator}

Functions

func ExecLocation

func ExecLocation(
	ctx context.Context,
	getter ResourceGetter,
	connInfo client.ConnectionInfoGetter,
	name string,
	opts *core.InstanceExecOptions,
) (*url.URL, http.RoundTripper, error)

func FleetRefNameIndexFunc

func FleetRefNameIndexFunc(obj any) ([]string, error)

func FleetRefNameTriggerFunc

func FleetRefNameTriggerFunc(obj runtime.Object) string

func GetAttrs

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)

func Indexers

func Indexers() *cache.Indexers

func SelectableFields

func SelectableFields(instance *core.Instance) fields.Set

Types

type ResourceGetter

type ResourceGetter interface {
	Get(ctx context.Context, name string, options *metav1.GetOptions) (runtime.Object, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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