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 ¶
func ParseAnnotations ¶
func ParseAnnotations(inp []string) (map[exptypes.AnnotationKey]string, error)
func ParseEntitlements ¶
Types ¶
type Attest ¶
type Attest struct {
Type string `json:"type"`
Disabled bool `json:"disabled,omitempty"`
Attrs map[string]string `json:"attrs,omitempty"`
}
func (*Attest) MarshalJSON ¶
func (*Attest) ToCtyValue ¶
func (*Attest) UnmarshalJSON ¶
func (*Attest) UnmarshalText ¶
type CacheOptions ¶
type CacheOptions []*CacheOptionsEntry
func ParseCacheEntry ¶
func ParseCacheEntry(in []string) (CacheOptions, error)
func (*CacheOptions) FromCtyValue ¶
func (CacheOptions) Merge ¶
func (o CacheOptions) Merge(other CacheOptions) CacheOptions
func (CacheOptions) Normalize ¶
func (o CacheOptions) Normalize() CacheOptions
func (CacheOptions) ToCtyValue ¶
func (o CacheOptions) ToCtyValue() cty.Value
type CacheOptionsEntry ¶
type CacheOptionsEntry struct {
Type string `json:"type"`
Attrs map[string]string `json:"attrs,omitempty"`
}
func (*CacheOptionsEntry) Equal ¶
func (e *CacheOptionsEntry) Equal(other *CacheOptionsEntry) bool
func (*CacheOptionsEntry) FromCtyValue ¶
func (*CacheOptionsEntry) MarshalJSON ¶
func (e *CacheOptionsEntry) MarshalJSON() ([]byte, error)
func (*CacheOptionsEntry) String ¶
func (e *CacheOptionsEntry) String() string
func (*CacheOptionsEntry) ToCtyValue ¶
func (o *CacheOptionsEntry) ToCtyValue() cty.Value
func (*CacheOptionsEntry) UnmarshalJSON ¶
func (e *CacheOptionsEntry) UnmarshalJSON(data []byte) error
func (*CacheOptionsEntry) UnmarshalText ¶
func (e *CacheOptionsEntry) UnmarshalText(text []byte) error
type CallFunc ¶
func ParseCallFunc ¶
type ExportEntry ¶
type ExportEntry struct {
Type string `json:"type"`
Attrs map[string]string `json:"attrs,omitempty"`
Destination string `json:"dest,omitempty"`
}
func ParseExports ¶
func ParseExports(inp []string) ([]*ExportEntry, error)
func (*ExportEntry) Equal ¶
func (e *ExportEntry) Equal(other *ExportEntry) bool
func (*ExportEntry) FromCtyValue ¶
func (*ExportEntry) MarshalJSON ¶
func (e *ExportEntry) MarshalJSON() ([]byte, error)
func (*ExportEntry) String ¶
func (e *ExportEntry) String() string
func (*ExportEntry) ToCtyValue ¶
func (e *ExportEntry) ToCtyValue() cty.Value
func (*ExportEntry) UnmarshalJSON ¶
func (e *ExportEntry) UnmarshalJSON(data []byte) error
func (*ExportEntry) UnmarshalText ¶
func (e *ExportEntry) UnmarshalText(text []byte) error
type SSH ¶
type SSH struct {
ID string `json:"id,omitempty" cty:"id"`
Paths []string `json:"paths,omitempty" cty:"paths"`
}
func ParseSSHSpecs ¶
func (*SSH) ToCtyValue ¶
func (*SSH) UnmarshalJSON ¶
func (*SSH) UnmarshalText ¶
type Secret ¶
type Secret struct {
ID string `json:"id,omitempty"`
FilePath string `json:"src,omitempty"`
Env string `json:"env,omitempty"`
}
func (*Secret) ToCtyValue ¶
func (*Secret) UnmarshalJSON ¶
func (*Secret) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.