Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct { Key string `json:"key"` Name string `json:"name,omitempty"` Default string `json:"default,omitempty"` }
Credential represents the specification that is required to filter out specific credentials in the Resource spec.
func (*Credential) Valid ¶
func (c *Credential) Valid() bool
Valid will validate the CredentialSpec.
type CredentialValue ¶
type CredentialValue struct { Credential `json:",inline"` Value string `json:"value"` }
CredentialValue is a simple representation of the actual key/value of a Credential.
type Project ¶
type Project struct { Name string `json:"project,name"` Team string `json:"team,omitempty"` Resources []*Resource `json:"resources,omitempty"` }
Project is the specification that is required to build a valid Project manifest.
type Resource ¶
type Resource struct { Name string `json:"resource,name"` Team string `json:"team,omitempty"` Credentials []*Credential `json:"credentials,omitempty"` }
Resource is the specification that is required to build a valid Resource manifest.
Click to show internal directories.
Click to hide internal directories.