Documentation
¶
Index ¶
Constants ¶
View Source
const ( ResourceRef = "kubernetes.pod_name" Step = "kubernetes.container_name" GitTekton = "tekton.dev/git-0" TenantUnexpectedType = "unexpected type" TenantDefault = "faas" SecretGitSuffix = "git" SecretDockerSuffix = "docker" KsvcDefaultContainerName = "serving" KsvcDefaultContainerPort = 8080 RegisterAPIPipeline = "register-polyapi" RegisterAPIParamSourceURL = "SOURCE_URL" RegisterAPIParamProject = "PROJECT_NAME" RegisterAPIParamProjectTitle = "PROJECT_TITLE" RegisterAPIParamGroup = "GROUP_NAME" RegisterAPIParamPOperate = "OPERATE_ID" RegisterAPIParamAppID = "APPID" RegisterAPIServiceAccount = "builder" RegisterAPIWorkSpace = "source-ws" )
const of faas
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CreateGitToken(ctx context.Context, host, token string) error CreateGitSSH(ctx context.Context, host, ssh string) error CreateDocker(ctx context.Context, host, username, secret string) error Build(ctx context.Context, data *Function) error DelFunction(ctx context.Context, data *DelFunction) error CreateServing(ctx context.Context, fn *Function) error DelServing(ctx context.Context, fn *Function) error RegistAPI(ctx context.Context, fn *Function, appId string) error DeleteReigstRun(ctx context.Context, name string) error GetBuilder(language string, version string) (string, error) }
Client Client
Click to show internal directories.
Click to hide internal directories.