kubernetes

package
v0.0.0-...-8f3cd9b Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() (client.Client, error)

NewClient does the needful.

func NewScheme

func NewScheme() *runtime.Scheme

NewScheme returns a *runtime.Scheme with the envoy-controller types registered.

Types

type AcceptanceError

type AcceptanceError struct {
	Reason  string
	Message string
}

AcceptanceError captures the reason that a resource update was not accepted.

type Condition

type Condition = v1alpha1.Condition

Condition aliases v1alpha1.Condition until metav1.Condition is available, which should be Kubernetes 1.19.

func NewAcceptedCondition

func NewAcceptedCondition(obj runtime.Object) *Condition

NewAcceptedCondition returns a *v1alpha1.Condition initialized for the given runtime.Object.

type CreateOptionFunc

type CreateOptionFunc func(*client.CreateOptions)

CreateOptionFunc generates a client.CreateOption.

func (CreateOptionFunc) ApplyToCreate

func (f CreateOptionFunc) ApplyToCreate(o *client.CreateOptions)

ApplyToCreate ..

Jump to

Keyboard shortcuts

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