Documentation
¶
Overview ¶
dockerconfig is an implementation of the StringIntegrator interface Its methods will grab docker repo credentials and transform them into docker config.json files that will be authentication for docker repos. If docker repo creds are added to ocelot for the VCS account that is building, then the build will have access to images in that docker repo.
Index ¶
- func Create() integrations.StringIntegrator
- func RCtoDockerConfig(creds []pb.OcyCredder) ([]byte, error)
- type DockrInt
- func (d *DockrInt) GenerateIntegrationString(credz []pb.OcyCredder) (string, error)
- func (d *DockrInt) GetEnv() []string
- func (d *DockrInt) IsRelevant(wc *pb.BuildConfig) bool
- func (d *DockrInt) MakeBashable(encoded string) []string
- func (d *DockrInt) String() string
- func (d *DockrInt) SubType() pb.SubCredType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create() integrations.StringIntegrator
func RCtoDockerConfig ¶
func RCtoDockerConfig(creds []pb.OcyCredder) ([]byte, error)
Types ¶
type DockrInt ¶
type DockrInt struct {
// contains filtered or unexported fields
}
func (*DockrInt) GenerateIntegrationString ¶
func (d *DockrInt) GenerateIntegrationString(credz []pb.OcyCredder) (string, error)
func (*DockrInt) IsRelevant ¶
func (d *DockrInt) IsRelevant(wc *pb.BuildConfig) bool
func (*DockrInt) MakeBashable ¶
func (*DockrInt) SubType ¶
func (d *DockrInt) SubType() pb.SubCredType
Click to show internal directories.
Click to hide internal directories.