Documentation ¶
Index ¶
- type Client
- type Config
- type Image
- type Internal
- func (in *Internal) AddJobSCMMetadata(jobID string, m *lib.SCMMetadata) error
- func (in *Internal) AddVariant(variant *lib.Variant) (*lib.Variant, error)
- func (in *Internal) GetProjectCryptoKey(projectID string) (*lib.CryptoKey, error)
- func (in *Internal) MarkJobAsFinished(jobID string, status lib.JobStatus) error
- func (in *Internal) MarkVariantAsFinished(variantID string, status lib.JobStatus, when time.Time, artifacts []string) error
- type Job
- type Project
- func (c *Project) Create(name, scm, scmUri string) (*lib.Project, error)
- func (c *Project) EncryptData(projectID, toEncryptString string) (string, error)
- func (c *Project) Get(projectID string) (*lib.Project, error)
- func (c *Project) Jobs(projectID string) ([]lib.Job, error)
- func (c *Project) List() ([]lib.Project, error)
- func (c *Project) StartJob(projectID, scmReference string, envParameters []string) (*lib.Job, error)
- type ProjectConfig
- type ProjectKey
- type User
- type Variant
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Internal ¶
type Internal struct {
// contains filtered or unexported fields
}
func (*Internal) AddJobSCMMetadata ¶
func (in *Internal) AddJobSCMMetadata(jobID string, m *lib.SCMMetadata) error
func (*Internal) AddVariant ¶
func (*Internal) GetProjectCryptoKey ¶
func (*Internal) MarkJobAsFinished ¶
type Project ¶
type Project struct { Key *ProjectKey Config *ProjectConfig // contains filtered or unexported fields }
func (*Project) EncryptData ¶
type ProjectConfig ¶
type ProjectConfig struct {
// contains filtered or unexported fields
}
func (*ProjectConfig) SetKey ¶
func (c *ProjectConfig) SetKey(id, key, value string) error
func (*ProjectConfig) UnsetKey ¶
func (c *ProjectConfig) UnsetKey(id, key string) error
type ProjectKey ¶
type ProjectKey struct {
// contains filtered or unexported fields
}
func (*ProjectKey) Set ¶
func (c *ProjectKey) Set(projectID, keyPath string) error
Click to show internal directories.
Click to hide internal directories.