Documentation ¶
Index ¶
Constants ¶
View Source
const ENV_SAFE = "^[a-zA-Z_]+$"
Variables ¶
This section is empty.
Functions ¶
func CreateVCSIdentifier ¶
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
Click to show internal directories.
Click to hide internal directories.