context

package
v0.0.0-...-f86491d Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CEApiKeyEnv        = "CE_API_KEY"
	CEProjectRegionEnv = "CE_PROJECT_REGION"
	CEProjectIdEnv     = "CE_PROJECT_ID"
)

Variables

This section is empty.

Functions

func GetClient

func GetClient(ctx context.Context) *versioned.Clientset

GetClient retrieves CodeEngine clientset associated with the given context via withClient (above).

func GetJobDefinitionInformer

func GetJobDefinitionInformer(ctx context.Context) informersv1beta1.JobDefinitionInformer

GetJobDefinitionInformer retrieves JobDefinitionInformer associated with the given context via withInformers (above).

func GetJobRunInformer

func GetJobRunInformer(ctx context.Context) informersv1beta1.JobRunInformer

GetJobRunInformer retrieves JobRunInformer associated with the given context via withInformers (above).

func GetJobRunsClient

func GetJobRunsClient(ctx context.Context) v1beta1.JobRunInterface

GetJobRunsClient retrieves CodeEngine JobRuns associated with the given context via withClient (above).

func GetNamespace

func GetNamespace(ctx context.Context) string

GetNamespace retrieves webhook.Options associated with the given context via WithOptions (above).

func WithClientAndInformers

func WithClientAndInformers(ctx context.Context) context.Context

WithClient initializes Code Engine client and informers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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