internal

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeClient

func NewFakeClient(initObjs ...runtime.Object) (client.Client, error)

NewFakeClient ---.

Types

type FakeAuthorization

type FakeAuthorization struct {
	authorizationv1.AuthorizationV1Interface
	// contains filtered or unexported fields
}

func (*FakeAuthorization) SelfSubjectRulesReviews

type FakeClient

type FakeClient struct {
	controller.Client
	kubernetes.Interface
	// contains filtered or unexported fields
}

FakeClient ---.

func (*FakeClient) AddReactor

func (c *FakeClient) AddReactor(verb, resource string, reaction testing.ReactionFunc)

func (*FakeClient) AuthorizationV1

func (*FakeClient) CamelV1

func (c *FakeClient) CamelV1() camelv1.CamelV1Interface

func (*FakeClient) DisableAPIGroupDiscovery

func (c *FakeClient) DisableAPIGroupDiscovery(group string)

func (*FakeClient) DisableKnativeEventing

func (c *FakeClient) DisableKnativeEventing()

func (*FakeClient) DisableKnativeServing

func (c *FakeClient) DisableKnativeServing()

func (*FakeClient) Discovery

func (c *FakeClient) Discovery() discovery.DiscoveryInterface

func (*FakeClient) EnableOpenshiftDiscovery

func (c *FakeClient) EnableOpenshiftDiscovery()

func (*FakeClient) GetConfig

func (c *FakeClient) GetConfig() *rest.Config

func (*FakeClient) GetCurrentNamespace

func (c *FakeClient) GetCurrentNamespace(kubeConfig string) (string, error)

func (*FakeClient) GetScheme

func (c *FakeClient) GetScheme() *runtime.Scheme

GetScheme ---.

func (*FakeClient) Intercept

func (c *FakeClient) Intercept(intercept *interceptor.Funcs)

func (*FakeClient) Patch

Patch mimicks patch for server-side apply and simply creates the obj.

func (*FakeClient) ScalesClient

func (c *FakeClient) ScalesClient() (scale.ScalesGetter, error)

func (*FakeClient) ServerOrClientSideApplier

func (c *FakeClient) ServerOrClientSideApplier() client.ServerOrClientSideApplier

type FakeDiscovery

type FakeDiscovery struct {
	discovery.DiscoveryInterface
	// contains filtered or unexported fields
}

func (*FakeDiscovery) ServerResourcesForGroupVersion

func (f *FakeDiscovery) ServerResourcesForGroupVersion(groupVersion string) (*metav1.APIResourceList, error)

Jump to

Keyboard shortcuts

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