Documentation
¶
Index ¶
- Variables
- type FunctionRunner
- func (u FunctionRunner) IsZero() bool
- func (u FunctionRunner) MarshalJSON() ([]byte, error)
- func (u FunctionRunner) MarshalText() (text []byte, err error)
- func (u *FunctionRunner) Scan(value interface{}) error
- func (u FunctionRunner) String() string
- func (u *FunctionRunner) UnmarshalJSON(data []byte) error
- func (u *FunctionRunner) UnmarshalText(text []byte) error
- func (u FunctionRunner) Value() (driver.Value, error)
- type FunctionRunnerKind
- type Resource
- func (u Resource) IsZero() bool
- func (u Resource) MarshalJSON() ([]byte, error)
- func (u Resource) MarshalText() (text []byte, err error)
- func (u *Resource) Scan(value interface{}) error
- func (u Resource) String() string
- func (u *Resource) UnmarshalJSON(data []byte) error
- func (u *Resource) UnmarshalText(text []byte) error
- func (u Resource) Value() (driver.Value, error)
- type ResourceKind
- type Tool
- func (u Tool) IsZero() bool
- func (u Tool) MarshalJSON() ([]byte, error)
- func (u Tool) MarshalText() (text []byte, err error)
- func (u *Tool) Scan(value interface{}) error
- func (u Tool) String() string
- func (u *Tool) UnmarshalJSON(data []byte) error
- func (u *Tool) UnmarshalText(text []byte) error
- func (u Tool) Value() (driver.Value, error)
- type ToolKind
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalid = errors.New("invalid urn")
)
Functions ¶
This section is empty.
Types ¶
type FunctionRunner ¶
type FunctionRunner struct {
Kind FunctionRunnerKind
Tenancy string
Name string
// contains filtered or unexported fields
}
func NewFunctionRunner ¶
func NewFunctionRunner(kind FunctionRunnerKind, orgSlug, appName string) FunctionRunner
func (FunctionRunner) IsZero ¶
func (u FunctionRunner) IsZero() bool
func (FunctionRunner) MarshalJSON ¶
func (u FunctionRunner) MarshalJSON() ([]byte, error)
func (FunctionRunner) MarshalText ¶
func (u FunctionRunner) MarshalText() (text []byte, err error)
func (*FunctionRunner) Scan ¶
func (u *FunctionRunner) Scan(value interface{}) error
func (FunctionRunner) String ¶
func (u FunctionRunner) String() string
func (*FunctionRunner) UnmarshalJSON ¶
func (u *FunctionRunner) UnmarshalJSON(data []byte) error
func (*FunctionRunner) UnmarshalText ¶
func (u *FunctionRunner) UnmarshalText(text []byte) error
type FunctionRunnerKind ¶
type FunctionRunnerKind string
const ( FunctionRunnerKindLocal FunctionRunnerKind = "local" FunctionRunnerKindFlyApp FunctionRunnerKind = "fly" )
type Resource ¶
type Resource struct {
Kind ResourceKind
Source string
SlugifiedURI string
// contains filtered or unexported fields
}
func NewResource ¶
func NewResource(kind ResourceKind, source, uri string) Resource
func ParseResource ¶
func (Resource) MarshalJSON ¶
func (Resource) MarshalText ¶
func (*Resource) UnmarshalJSON ¶
func (*Resource) UnmarshalText ¶
type ResourceKind ¶
type ResourceKind string
const (
ResourceKindFunction ResourceKind = "function"
)
type Tool ¶
type Tool struct {
Kind ToolKind
Source string
Name string
// contains filtered or unexported fields
}
func (Tool) MarshalJSON ¶
func (Tool) MarshalText ¶
func (*Tool) UnmarshalJSON ¶
func (*Tool) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.