Documentation ¶
Index ¶
- func ConfigFromContext(ctx context.Context) *rest.Config
- func ContextWithRepositoryClientset(parent context.Context, clientset repoclient.RepoClientset) context.Context
- func KubernetesClientFromContext(ctx context.Context) *kubernetes.Clientset
- func PackageClientFromContext(ctx context.Context) client.PackageV1Alpha1Client
- func RawConfigFromContext(ctx context.Context) *api.Config
- func RepoClientsetFromContext(ctx context.Context) repoclient.RepoClientset
- func SetupContext(ctx context.Context, config *rest.Config, rawConfig *api.Config) (context.Context, error)
- func SetupContextWithClient(ctx context.Context, config *rest.Config, rawConfig *api.Config, ...) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 RepoClientsetFromContext ¶
func RepoClientsetFromContext(ctx context.Context) repoclient.RepoClientset
func SetupContext ¶
func SetupContextWithClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.