util

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 21 Imported by: 53

Documentation

Index

Constants

View Source
const (
	STATE_ERROR = `` /* 185-byte string literal not displayed */

	INVALID_STATE_ERROR = `` /* 201-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

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

func NewFactory

func NewFactory(options *FactoryOptions) *Factory

func (*Factory) DynamicClient added in v1.25.0

func (f *Factory) DynamicClient(cluster *kops.Cluster) (dynamic.Interface, error)

DynamicClient returns a dynamic client

func (*Factory) HTTPClient added in v1.31.0

func (f *Factory) HTTPClient(cluster *kops.Cluster) (*http.Client, error)

func (*Factory) KopsClient added in v1.25.0

func (f *Factory) KopsClient() (simple.Clientset, error)

func (*Factory) KopsStateStore added in v1.19.0

func (f *Factory) KopsStateStore() string

KopsStateStore returns the configured KOPS_STATE_STORE in use

func (*Factory) RESTConfig added in v1.31.0

func (f *Factory) RESTConfig(cluster *kops.Cluster) (*rest.Config, error)

func (*Factory) VFSContext added in v1.28.0

func (f *Factory) VFSContext() *vfs.VFSContext

type FactoryOptions

type FactoryOptions struct {
	RegistryPath string
}

Jump to

Keyboard shortcuts

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