proxy

package
v0.0.0-...-ddb5be7 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// proxy definition, used to create the proxy object.
	Definition *configv1.Proxy
	// Created proxy object.
	Object *configv1.Proxy
	// contains filtered or unexported fields
}

Builder provides a struct for proxy object from the cluster and a proxy definition.

func Pull

func Pull(apiClient *clients.Settings) (*Builder, error)

Pull loads an existing proxy into Builder struct.

func (*Builder) Exists

func (builder *Builder) Exists() bool

Exists checks whether the given proxy exists.

func (*Builder) Get

func (builder *Builder) Get() (*configv1.Proxy, error)

Get returns the proxy object from the cluster if found.

Jump to

Keyboard shortcuts

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