gardener

package
v0.0.0-...-4e6d7c7 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineErrorDescriptions

func CombineErrorDescriptions(lastErrors []gardener.LastError) string

func IsRetryable

func IsRetryable(lastErrors []gardener.LastError) bool

func NewRestConfigFromFile

func NewRestConfigFromFile(kubeconfigFilePath string) (*restclient.Config, error)

Types

type ErrReason

type ErrReason string

func ToErrReason

func ToErrReason(lastErrors ...gardener.LastError) ErrReason

type ShootClient

type ShootClient interface {
	Create(ctx context.Context, shoot *gardener_api.Shoot, opts v1.CreateOptions) (*gardener_api.Shoot, error)
	Get(ctx context.Context, name string, opts v1.GetOptions) (*gardener_api.Shoot, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *gardener_api.Shoot, err error)
}

Jump to

Keyboard shortcuts

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