Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct { // General config. Name string `json:"name"` Types []Type `json:"types"` // Helm repository config. Repository string `json:"repository,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` // Github config. BaseURL string `json:"baseURL,omitempty"` Token string `json:"token,omitempty"` Enterprise bool `json:"enterprise,omitempty"` // GCS Object config. JSONPath string `json:"jsonPath,omitempty"` }
type CredentialsController ¶
type CredentialsController interface { ListArtifactCredentialsNamesAndTypes() []Credentials HelmClientForAccountName(string) (helm.Client, error) HTTPClientForAccountName(string) (*http.Client, error) GCSClientForAccountName(string) (*storage.Client, error) GitClientForAccountName(string) (*github.Client, error) GitRepoClientForAccountName(string) (*http.Client, error) }
func NewCredentialsController ¶
func NewCredentialsController(dir string) (CredentialsController, error)
func NewDefaultCredentialsController ¶
func NewDefaultCredentialsController() (CredentialsController, error)
type Type ¶
type Type string
const ( TypeHelmChart Type = "helm/chart" TypeGitRepo Type = "git/repo" TypeFront50PipelineTemplate Type = "front50/pipelineTemplate" TypeEmbeddedBase64 Type = "embedded/base64" TypeCustomerObject Type = "custom/object" TypeGCSObject Type = "gcs/object" TypeHTTPFile Type = "http/file" TypeDockerImage Type = "docker/image" TypeKubernetesConfigMap Type = "kubernetes/configMap" TypeKubernetesDeployment Type = "kubernetes/deployment" TypeKubernetesReplicaSet Type = "kubernetes/replicaSet" TypeKubernetesSecret Type = "kubernetes/secret" TypeGithubFile Type = "github/file" )
Click to show internal directories.
Click to hide internal directories.