Documentation
¶
Index ¶
- type State
- func (s *State) CreateFleet(ctx context.Context, fleet api.Fleet) error
- func (s *State) CreateGateway(gateway api.Gateway) error
- func (s *State) CreateMachine(machine cluster.Machine, mv api.MachineVersion) error
- func (s *State) CreateNamespace(ctx context.Context, namespace api.Namespace) error
- func (s *State) DeleteGateway(ctx context.Context, id string) error
- func (s *State) DestroyFleet(ctx context.Context, id string) error
- func (s *State) DestroyMachine(ctx context.Context, id string) error
- func (q *State) DestroyNamespace(ctx context.Context, name string) error
- func (s *State) GetAPIMachine(ctx context.Context, namespace, fleetId, id string) (*api.Machine, error)
- func (s *State) GetFleet(ctx context.Context, namespace string, idOrName string) (*api.Fleet, error)
- func (s *State) GetGateway(ctx context.Context, namespace, fleetId, idOrName string) (api.Gateway, error)
- func (s *State) GetMachine(ctx context.Context, namespace, fleetId, id string, showDestroyed bool) (cluster.Machine, error)
- func (s *State) GetNamespace(ctx context.Context, name string) (*api.Namespace, error)
- func (s *State) ListAPIMachines(ctx context.Context, namespace, fleetId string, includeDestroyed bool) ([]api.Machine, error)
- func (s *State) ListFleets(ctx context.Context, namespace string) ([]api.Fleet, error)
- func (s *State) ListGateways(ctx context.Context, namespace string) ([]api.Gateway, error)
- func (s *State) ListGatewaysOnFleet(ctx context.Context, ns, fleetId string) ([]api.Gateway, error)
- func (s *State) ListMachineEvents(ctx context.Context, machineId string) ([]api.MachineEvent, error)
- func (s *State) ListMachineVersions(ctx context.Context, machineId string) ([]api.MachineVersion, error)
- func (s *State) ListNamespaces(ctx context.Context) ([]api.Namespace, error)
- func (s *State) StoreMachineEvent(ctx context.Context, event api.MachineEvent) error
- func (s *State) UpdateMachine(machine cluster.Machine) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) CreateMachine ¶
func (*State) CreateNamespace ¶
func (*State) DestroyNamespace ¶
func (*State) GetAPIMachine ¶
func (*State) GetGateway ¶
func (*State) GetMachine ¶
func (*State) GetNamespace ¶
func (*State) ListAPIMachines ¶
func (*State) ListFleets ¶
func (*State) ListGateways ¶
func (*State) ListGatewaysOnFleet ¶ added in v0.3.0
func (*State) ListMachineEvents ¶
func (*State) ListMachineVersions ¶
func (*State) ListNamespaces ¶
func (*State) StoreMachineEvent ¶
Click to show internal directories.
Click to hide internal directories.