Documentation ¶
Index ¶
- func RunCorrosionMigrations(ctx context.Context, config corroclient.Config) error
- type CorrosionClusterState
- type Queries
- func (c *Queries) CreateGateway(ctx context.Context, gateway api.Gateway) error
- func (c *Queries) CreateMachine(ctx context.Context, m cluster.Machine, mv api.MachineVersion) error
- func (c *Queries) CreateMachineVersion(ctx context.Context, mv api.MachineVersion) error
- func (c *Queries) DeleteFleetGateways(ctx context.Context, id string) error
- func (c *Queries) DeleteGateway(ctx context.Context, id string) error
- func (c *Queries) DestroyMachine(ctx context.Context, id string) error
- func (c *Queries) DestroyNamespaceData(ctx context.Context, namespace string) error
- func (c *Queries) GetAPIMachine(ctx context.Context, namespace, fleetId, machineId string) (*api.Machine, error)
- func (m *Queries) GetNode(ctx context.Context, id string) (api.Node, error)
- func (c *Queries) ListAPIMachines(ctx context.Context, namespace string, fleetId string, includeDestroyed bool) ([]api.Machine, error)
- func (m *Queries) ListNodes(ctx context.Context) ([]api.Node, error)
- func (m *Queries) ListNodesInRegion(ctx context.Context, region string) ([]api.Node, error)
- func (m *Queries) ListRegions(ctx context.Context) ([]string, error)
- func (c *Queries) UpdateMachine(ctx context.Context, m cluster.Machine) error
- func (c *Queries) UpsertInstance(ctx context.Context, i cluster.MachineInstance) error
- func (m *Queries) UpsertNode(ctx context.Context, node api.Node) error
- type TX
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCorrosionMigrations ¶ added in v0.6.0
func RunCorrosionMigrations(ctx context.Context, config corroclient.Config) error
Types ¶
type CorrosionClusterState ¶
func New ¶
func New(corroPgAddr string) (*CorrosionClusterState, error)
type Queries ¶ added in v0.4.0
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateGateway ¶ added in v0.4.0
func (*Queries) CreateMachine ¶ added in v0.4.0
func (*Queries) CreateMachineVersion ¶ added in v0.4.0
func (*Queries) DeleteFleetGateways ¶ added in v0.4.0
func (*Queries) DeleteGateway ¶ added in v0.4.0
func (*Queries) DestroyMachine ¶ added in v0.4.0
func (*Queries) DestroyNamespaceData ¶ added in v0.4.0
DestroyNamespaceData implements cluster.ClusterState.
func (*Queries) GetAPIMachine ¶ added in v0.4.0
func (*Queries) ListAPIMachines ¶ added in v0.4.0
func (*Queries) ListNodesInRegion ¶ added in v0.4.0
func (*Queries) ListRegions ¶ added in v0.7.2
func (*Queries) UpdateMachine ¶ added in v0.4.0
func (*Queries) UpsertInstance ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.