k8s

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Settings = &settings.Settings

Functions

func NewClient

func NewClient() (newClient client.Client, err error)

NewClient builds new k8s client.

Types

type FakeClient added in v0.1.0

type FakeClient struct {
}

func (*FakeClient) Create added in v0.1.0

func (r *FakeClient) Create(_ context.Context, _ client.Object, _ ...client.CreateOption) (err error)

func (*FakeClient) Delete added in v0.1.0

func (r *FakeClient) Delete(_ context.Context, _ client.Object, _ ...client.DeleteOption) (err error)

func (*FakeClient) DeleteAllOf added in v0.2.0

func (r *FakeClient) DeleteAllOf(_ context.Context, _ client.Object, _ ...client.DeleteAllOfOption) (err error)

func (*FakeClient) Get added in v0.1.0

func (*FakeClient) List added in v0.1.0

func (r *FakeClient) List(_ context.Context, _ client.ObjectList, _ ...client.ListOption) (err error)

func (*FakeClient) Patch added in v0.2.0

func (r *FakeClient) Patch(_ context.Context, _ client.Object, _ client.Patch, _ ...client.PatchOption) (err error)

func (*FakeClient) RESTMapper added in v0.2.0

func (r *FakeClient) RESTMapper() (m meta.RESTMapper)

func (*FakeClient) Scheme added in v0.2.0

func (r *FakeClient) Scheme() (s *runtime.Scheme)

func (*FakeClient) Status added in v0.1.0

func (r *FakeClient) Status() (w client.StatusWriter)

func (*FakeClient) Update added in v0.1.0

func (r *FakeClient) Update(_ context.Context, _ client.Object, _ ...client.UpdateOption) (err error)

Directories

Path Synopsis
api
tackle
Package tackle contains migration API versions
Package tackle contains migration API versions
tackle/v1alpha1
Package v1alpha1 contains API Schema definitions for the migration v1alpha1 API group.
Package v1alpha1 contains API Schema definitions for the migration v1alpha1 API group.

Jump to

Keyboard shortcuts

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