clicontext

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFromContext

func ConfigFromContext(ctx context.Context) *rest.Config

func ContextWithRepositoryClientset

func ContextWithRepositoryClientset(parent context.Context, clientset repoclient.RepoClientset) context.Context

func KubernetesClientFromContext

func KubernetesClientFromContext(ctx context.Context) *kubernetes.Clientset

func PackageClientFromContext

func PackageClientFromContext(ctx context.Context) client.PackageV1Alpha1Client

func RawConfigFromContext

func RawConfigFromContext(ctx context.Context) *api.Config

func RepoClientsetFromContext

func RepoClientsetFromContext(ctx context.Context) repoclient.RepoClientset

func SetupContext

func SetupContext(ctx context.Context, config *rest.Config, rawConfig *api.Config) (context.Context, error)

func SetupContextWithClient

func SetupContextWithClient(
	ctx context.Context,
	config *rest.Config,
	rawConfig *api.Config,
	client client.PackageV1Alpha1Client,
	k8s *kubernetes.Clientset,
) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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