dockerconfig

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

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) GetEnv

func (d *DockrInt) GetEnv() []string

func (*DockrInt) IsRelevant

func (d *DockrInt) IsRelevant(wc *pb.BuildConfig) bool

func (*DockrInt) MakeBashable

func (d *DockrInt) MakeBashable(encoded string) []string

func (*DockrInt) String

func (d *DockrInt) String() string

func (*DockrInt) SubType

func (d *DockrInt) SubType() pb.SubCredType

Jump to

Keyboard shortcuts

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