Documentation
¶
Index ¶
- func CanonicalizeAttest(attestType string, in string) string
- func IsGitSSH(repo string) bool
- func ParseAnnotations(inp []string) (map[exptypes.AnnotationKey]string, error)
- func ParseContextNames(values []string) (map[string]string, error)
- func ParseEntitlements(in []string) ([]string, error)
- type Attest
- func (a *Attest) Equal(other *Attest) bool
- func (e *Attest) FromCtyValue(in cty.Value, p cty.Path) error
- func (a *Attest) MarshalJSON() ([]byte, error)
- func (a *Attest) String() string
- func (e *Attest) ToCtyValue() cty.Value
- func (a *Attest) UnmarshalJSON(data []byte) error
- func (a *Attest) UnmarshalText(text []byte) error
- type Attests
- type CacheOptions
- type CacheOptionsEntry
- func (e *CacheOptionsEntry) Equal(other *CacheOptionsEntry) bool
- func (o *CacheOptionsEntry) FromCtyValue(in cty.Value, p cty.Path) error
- func (e *CacheOptionsEntry) MarshalJSON() ([]byte, error)
- func (e *CacheOptionsEntry) String() string
- func (o *CacheOptionsEntry) ToCtyValue() cty.Value
- func (e *CacheOptionsEntry) UnmarshalJSON(data []byte) error
- func (e *CacheOptionsEntry) UnmarshalText(text []byte) error
- type CallFunc
- type ExportEntry
- func (e *ExportEntry) Equal(other *ExportEntry) bool
- func (e *ExportEntry) FromCtyValue(in cty.Value, p cty.Path) error
- func (e *ExportEntry) MarshalJSON() ([]byte, error)
- func (e *ExportEntry) String() string
- func (e *ExportEntry) ToCtyValue() cty.Value
- func (e *ExportEntry) UnmarshalJSON(data []byte) error
- func (e *ExportEntry) UnmarshalText(text []byte) error
- type Exports
- type SSH
- type SSHKeys
- type Secret
- type Secrets
- type Seq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalizeAttest ¶ added in v0.10.0
func ParseAnnotations ¶ added in v0.12.0
func ParseAnnotations(inp []string) (map[exptypes.AnnotationKey]string, error)
func ParseContextNames ¶ added in v0.11.0
func ParseEntitlements ¶
Types ¶
type Attest ¶ added in v0.20.0
type Attest struct { Type string `json:"type"` Disabled bool `json:"disabled,omitempty"` Attrs map[string]string `json:"attrs,omitempty"` }
func (*Attest) FromCtyValue ¶ added in v0.20.0
func (*Attest) MarshalJSON ¶ added in v0.20.0
func (*Attest) ToCtyValue ¶ added in v0.20.0
func (*Attest) UnmarshalJSON ¶ added in v0.20.0
func (*Attest) UnmarshalText ¶ added in v0.20.0
type Attests ¶ added in v0.20.0
type Attests []*Attest
func ParseAttests ¶ added in v0.10.0
func (*Attests) FromCtyValue ¶ added in v0.20.0
func (Attests) ToCtyValue ¶ added in v0.20.0
type CacheOptions ¶ added in v0.20.0
type CacheOptions []*CacheOptionsEntry
func ParseCacheEntry ¶
func ParseCacheEntry(in []string) (CacheOptions, error)
func (*CacheOptions) FromCtyValue ¶ added in v0.20.0
func (CacheOptions) Merge ¶ added in v0.20.0
func (o CacheOptions) Merge(other CacheOptions) CacheOptions
func (CacheOptions) Normalize ¶ added in v0.20.0
func (o CacheOptions) Normalize() CacheOptions
func (CacheOptions) ToCtyValue ¶ added in v0.20.0
func (o CacheOptions) ToCtyValue() cty.Value
type CacheOptionsEntry ¶ added in v0.19.0
type CacheOptionsEntry struct { Type string `json:"type"` Attrs map[string]string `json:"attrs,omitempty"` }
func (*CacheOptionsEntry) Equal ¶ added in v0.19.0
func (e *CacheOptionsEntry) Equal(other *CacheOptionsEntry) bool
func (*CacheOptionsEntry) FromCtyValue ¶ added in v0.19.0
func (*CacheOptionsEntry) MarshalJSON ¶ added in v0.19.0
func (e *CacheOptionsEntry) MarshalJSON() ([]byte, error)
func (*CacheOptionsEntry) String ¶ added in v0.19.0
func (e *CacheOptionsEntry) String() string
func (*CacheOptionsEntry) ToCtyValue ¶ added in v0.19.0
func (o *CacheOptionsEntry) ToCtyValue() cty.Value
func (*CacheOptionsEntry) UnmarshalJSON ¶ added in v0.19.0
func (e *CacheOptionsEntry) UnmarshalJSON(data []byte) error
func (*CacheOptionsEntry) UnmarshalText ¶ added in v0.19.0
func (e *CacheOptionsEntry) UnmarshalText(text []byte) error
type CallFunc ¶ added in v0.25.0
func ParseCallFunc ¶ added in v0.17.0
type ExportEntry ¶ added in v0.19.0
type ExportEntry struct { Type string `json:"type"` Attrs map[string]string `json:"attrs,omitempty"` Destination string `json:"dest,omitempty"` }
func ParseExports ¶ added in v0.11.0
func ParseExports(inp []string) ([]*ExportEntry, error)
func (*ExportEntry) Equal ¶ added in v0.19.0
func (e *ExportEntry) Equal(other *ExportEntry) bool
func (*ExportEntry) FromCtyValue ¶ added in v0.19.0
func (*ExportEntry) MarshalJSON ¶ added in v0.19.0
func (e *ExportEntry) MarshalJSON() ([]byte, error)
func (*ExportEntry) String ¶ added in v0.19.0
func (e *ExportEntry) String() string
func (*ExportEntry) ToCtyValue ¶ added in v0.19.0
func (e *ExportEntry) ToCtyValue() cty.Value
func (*ExportEntry) UnmarshalJSON ¶ added in v0.19.0
func (e *ExportEntry) UnmarshalJSON(data []byte) error
func (*ExportEntry) UnmarshalText ¶ added in v0.19.0
func (e *ExportEntry) UnmarshalText(text []byte) error
type Exports ¶ added in v0.20.0
type Exports []*ExportEntry
func (*Exports) FromCtyValue ¶ added in v0.20.0
func (Exports) ToCtyValue ¶ added in v0.20.0
type SSH ¶ added in v0.19.0
type SSH struct { ID string `json:"id,omitempty" cty:"id"` Paths []string `json:"paths,omitempty" cty:"paths"` }
func ParseSSHSpecs ¶
func (*SSH) FromCtyValue ¶ added in v0.19.0
func (*SSH) ToCtyValue ¶ added in v0.19.0
func (*SSH) UnmarshalJSON ¶ added in v0.20.1
func (*SSH) UnmarshalText ¶ added in v0.19.0
type SSHKeys ¶ added in v0.20.0
type SSHKeys []*SSH
func (*SSHKeys) FromCtyValue ¶ added in v0.20.0
func (SSHKeys) ToCtyValue ¶ added in v0.20.0
type Secret ¶ added in v0.19.0
type Secret struct { ID string `json:"id,omitempty"` FilePath string `json:"src,omitempty"` Env string `json:"env,omitempty"` }
func (*Secret) FromCtyValue ¶ added in v0.19.0
func (*Secret) ToCtyValue ¶ added in v0.19.0
func (*Secret) UnmarshalJSON ¶ added in v0.20.1
func (*Secret) UnmarshalText ¶ added in v0.19.0
type Secrets ¶ added in v0.20.0
type Secrets []*Secret
func ParseSecretSpecs ¶
func (*Secrets) FromCtyValue ¶ added in v0.20.0
func (Secrets) ToCtyValue ¶ added in v0.20.0
Click to show internal directories.
Click to hide internal directories.