Documentation
¶
Index ¶
- type CreateGatewayOptions
- type CreateMachineOptions
- type Fleet
- type Gateway
- type Machine
- type Namespace
- type Ravel
- func (r *Ravel) CreateFleet(ctx context.Context, ns string, name string) (*core.Fleet, error)
- func (r *Ravel) CreateGateway(ctx context.Context, namespace string, fleet string, ...) (Gateway, error)
- func (r *Ravel) CreateMachine(ctx context.Context, namespace string, fleet string, ...) (*Machine, error)
- func (r *Ravel) CreateNamespace(ctx context.Context, name string) (*core.Namespace, error)
- func (r *Ravel) DeleteGateway(ctx context.Context, namespace string, fleet string, gateway string) error
- func (r *Ravel) DeleteNamespace(ctx context.Context, name string) error
- func (r *Ravel) DestroyFleet(ctx context.Context, namespace string, id string) error
- func (r *Ravel) DestroyMachine(ctx context.Context, ns, fleet, machineId string, force bool) error
- func (r *Ravel) GetFleet(ctx context.Context, namespace string, idOrName string) (*core.Fleet, error)
- func (r *Ravel) GetGateway(ctx context.Context, namespace string, fleet string, gateway string) (Gateway, error)
- func (r *Ravel) GetMachine(ctx context.Context, ns, fleet, machineId string) (*Machine, error)
- func (r *Ravel) GetMachineLogsRaw(ctx context.Context, ns, fleet, machineId string, follow bool) (io.ReadCloser, error)
- func (r *Ravel) GetNamespace(ctx context.Context, name string) (*core.Namespace, error)
- func (r *Ravel) ListFleets(ctx context.Context, namespace string) ([]core.Fleet, error)
- func (r *Ravel) ListGateways(ctx context.Context, namespace string, fleet string) ([]Gateway, error)
- func (r *Ravel) ListMachineEvents(ctx context.Context, ns, fleet, machineId string) ([]core.InstanceEvent, error)
- func (r *Ravel) ListMachineVersions(ctx context.Context, ns, fleet, machineId string) ([]core.MachineVersion, error)
- func (r *Ravel) ListMachines(ctx context.Context, ns, fleet string, includeDestroyed bool) ([]Machine, error)
- func (r *Ravel) ListNamespaces(ctx context.Context) ([]core.Namespace, error)
- func (r *Ravel) ListNodes(ctx context.Context) ([]core.Node, error)
- func (r *Ravel) ListenInstanceEvents() error
- func (r *Ravel) StartMachine(ctx context.Context, ns, fleet, machineId string) error
- func (r *Ravel) StopMachine(ctx context.Context, ns, fleet, machineId string, stopConfig *core.StopConfig) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateGatewayOptions ¶
type CreateMachineOptions ¶
type CreateMachineOptions struct { Region string `json:"region"` Config core.MachineConfig `json:"config"` SkipStart bool `json:"skip_start"` }
type Ravel ¶
type Ravel struct {
// contains filtered or unexported fields
}
func (*Ravel) CreateFleet ¶
func (*Ravel) CreateGateway ¶
func (*Ravel) CreateMachine ¶
func (*Ravel) CreateNamespace ¶
func (*Ravel) DeleteGateway ¶
func (*Ravel) DeleteNamespace ¶
func (*Ravel) DestroyFleet ¶
func (*Ravel) DestroyMachine ¶
func (*Ravel) GetGateway ¶
func (*Ravel) GetMachine ¶
func (*Ravel) GetMachineLogsRaw ¶
func (*Ravel) GetNamespace ¶
func (*Ravel) ListFleets ¶
func (*Ravel) ListGateways ¶
func (*Ravel) ListMachineEvents ¶ added in v0.0.2
func (*Ravel) ListMachineVersions ¶
func (*Ravel) ListMachines ¶
func (*Ravel) ListNamespaces ¶
func (*Ravel) ListenInstanceEvents ¶ added in v0.0.2
func (*Ravel) StartMachine ¶
func (*Ravel) StopMachine ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.