pb

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: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ENV_SAFE = "^[a-zA-Z_]+$"

Variables

This section is empty.

Functions

func Contains

func Contains(credType SubCredType, types []SubCredType) bool

func CreateVCSIdentifier

func CreateVCSIdentifier(sct SubCredType, acctName string) (string, error)

Types

type BuildRuntime

type BuildRuntime interface {
	GetDone() bool
	GetIp() string
	GetGrpcPort() string
	GetHash() string
	CreateBuildClient() (BuildClient, error)
}

wrapper interface around models.BuildRuntimeInfo

type OcyCredder

type OcyCredder interface {
	SetSecret(string)
	UnmarshalAdditionalFields(fields []byte) error
	CreateAdditionalFields() ([]byte, error)
	GetClientSecret() string
	GetAcctName() string
	GetIdentifier() string
	GetSubType() SubCredType
	SetSubType(sct SubCredType)
	ValidateForInsert() *ValidationErr
	GetId() int64
}

OcyCredder is an interface for interacting with credentials in Ocelot

type ValidationErr

type ValidationErr struct {
	// contains filtered or unexported fields
}

func Invalidate

func Invalidate(reason string) *ValidationErr

func (*ValidationErr) Error

func (v *ValidationErr) Error() string

Jump to

Keyboard shortcuts

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