Documentation
¶
Index ¶
- type App
- type Machine
- type Plugin
- func (p *Plugin) Describe(_ context.Context) (*plugin.Descriptor, error)
- func (p *Plugin) HandleRequest(_ context.Context, req *plugin.Request) (*plugin.Response, error)
- func (p *Plugin) HealthCheck(_ context.Context) (plugin.HealthStatus, string, error)
- func (p *Plugin) Init(_ context.Context, _ []byte, _ string, _ string) error
- func (p *Plugin) Shutdown(_ context.Context) error
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Machine ¶
type Machine struct {
ID string `json:"id"`
AppName string `json:"app_name"`
Name string `json:"name"`
State string `json:"state"`
Region string `json:"region"`
ImageRef string `json:"image_ref"`
Env map[string]string `json:"env,omitempty"`
CPUs int `json:"guest_cpus"`
MemoryMB int `json:"guest_memory_mb"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin implements the CloudMock plugin interface for Fly.io Machines API emulation. Supports apps, machines, volumes, and secrets management.
func (*Plugin) HandleRequest ¶
func (*Plugin) HealthCheck ¶
Click to show internal directories.
Click to hide internal directories.