Documentation ¶
Index ¶
- func MarshalJSON(s interface{}) ([]byte, error)
- func MarshalJSONString(s interface{}) string
- type Config
- type DeployOption
- type LogsOption
- type SailTrim
- func (s *SailTrim) Deploy(ctx context.Context) error
- func (s *SailTrim) Init(ctx context.Context, serviceName string) error
- func (s *SailTrim) Logs(ctx context.Context, opt LogsOption) error
- func (s *SailTrim) Status(ctx context.Context, opt StatusOption) error
- func (s *SailTrim) Update(ctx context.Context) error
- type StatusOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalJSON ¶
func MarshalJSONString ¶
func MarshalJSONString(s interface{}) string
Types ¶
type DeployOption ¶
type DeployOption struct {
DryRun *bool
}
DeployOption represents options for Deploy.
type LogsOption ¶
type SailTrim ¶
type SailTrim struct {
// contains filtered or unexported fields
}
SailTrim represents an application.
type StatusOption ¶
type StatusOption struct {
Detail bool
}
StatusOption represents options for Status()
Click to show internal directories.
Click to hide internal directories.