Documentation
¶
Index ¶
- Constants
- func NewAuditServiceHandler(svc AuditServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewComponentServiceHandler(svc ComponentServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewFilesystemServiceHandler(svc FilesystemServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewIPServiceHandler(svc IPServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewImageServiceHandler(svc ImageServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewMachineServiceHandler(svc MachineServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewNetworkServiceHandler(svc NetworkServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewPartitionServiceHandler(svc PartitionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewProjectServiceHandler(svc ProjectServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewSizeImageConstraintServiceHandler(svc SizeImageConstraintServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewSizeReservationServiceHandler(svc SizeReservationServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewSizeServiceHandler(svc SizeServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewSwitchServiceHandler(svc SwitchServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewTaskServiceHandler(svc TaskServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewTenantServiceHandler(svc TenantServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewTokenServiceHandler(svc TokenServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- func NewVPNServiceHandler(svc VPNServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
- type AuditServiceClient
- type AuditServiceHandler
- type ComponentServiceClient
- type ComponentServiceHandler
- type FilesystemServiceClient
- type FilesystemServiceHandler
- type IPServiceClient
- type IPServiceHandler
- type ImageServiceClient
- type ImageServiceHandler
- type MachineServiceClient
- type MachineServiceHandler
- type NetworkServiceClient
- type NetworkServiceHandler
- type PartitionServiceClient
- type PartitionServiceHandler
- type ProjectServiceClient
- type ProjectServiceHandler
- type SizeImageConstraintServiceClient
- type SizeImageConstraintServiceHandler
- type SizeReservationServiceClient
- type SizeReservationServiceHandler
- type SizeServiceClient
- type SizeServiceHandler
- type SwitchServiceClient
- type SwitchServiceHandler
- type TaskServiceClient
- type TaskServiceHandler
- type TenantServiceClient
- type TenantServiceHandler
- type TokenServiceClient
- type TokenServiceHandler
- type UnimplementedAuditServiceHandler
- type UnimplementedComponentServiceHandler
- func (UnimplementedComponentServiceHandler) Delete(context.Context, *v2.ComponentServiceDeleteRequest) (*v2.ComponentServiceDeleteResponse, error)
- func (UnimplementedComponentServiceHandler) Get(context.Context, *v2.ComponentServiceGetRequest) (*v2.ComponentServiceGetResponse, error)
- func (UnimplementedComponentServiceHandler) List(context.Context, *v2.ComponentServiceListRequest) (*v2.ComponentServiceListResponse, error)
- type UnimplementedFilesystemServiceHandler
- func (UnimplementedFilesystemServiceHandler) Create(context.Context, *v2.FilesystemServiceCreateRequest) (*v2.FilesystemServiceCreateResponse, error)
- func (UnimplementedFilesystemServiceHandler) Delete(context.Context, *v2.FilesystemServiceDeleteRequest) (*v2.FilesystemServiceDeleteResponse, error)
- func (UnimplementedFilesystemServiceHandler) Update(context.Context, *v2.FilesystemServiceUpdateRequest) (*v2.FilesystemServiceUpdateResponse, error)
- type UnimplementedIPServiceHandler
- type UnimplementedImageServiceHandler
- func (UnimplementedImageServiceHandler) Create(context.Context, *v2.ImageServiceCreateRequest) (*v2.ImageServiceCreateResponse, error)
- func (UnimplementedImageServiceHandler) Delete(context.Context, *v2.ImageServiceDeleteRequest) (*v2.ImageServiceDeleteResponse, error)
- func (UnimplementedImageServiceHandler) Update(context.Context, *v2.ImageServiceUpdateRequest) (*v2.ImageServiceUpdateResponse, error)
- func (UnimplementedImageServiceHandler) Usage(context.Context, *v2.ImageServiceUsageRequest) (*v2.ImageServiceUsageResponse, error)
- type UnimplementedMachineServiceHandler
- func (UnimplementedMachineServiceHandler) BMCCommand(context.Context, *v2.MachineServiceBMCCommandRequest) (*v2.MachineServiceBMCCommandResponse, error)
- func (UnimplementedMachineServiceHandler) ConsolePassword(context.Context, *v2.MachineServiceConsolePasswordRequest) (*v2.MachineServiceConsolePasswordResponse, error)
- func (UnimplementedMachineServiceHandler) Get(context.Context, *v2.MachineServiceGetRequest) (*v2.MachineServiceGetResponse, error)
- func (UnimplementedMachineServiceHandler) GetBMC(context.Context, *v2.MachineServiceGetBMCRequest) (*v2.MachineServiceGetBMCResponse, error)
- func (UnimplementedMachineServiceHandler) List(context.Context, *v2.MachineServiceListRequest) (*v2.MachineServiceListResponse, error)
- func (UnimplementedMachineServiceHandler) ListBMC(context.Context, *v2.MachineServiceListBMCRequest) (*v2.MachineServiceListBMCResponse, error)
- type UnimplementedNetworkServiceHandler
- func (UnimplementedNetworkServiceHandler) Create(context.Context, *v2.NetworkServiceCreateRequest) (*v2.NetworkServiceCreateResponse, error)
- func (UnimplementedNetworkServiceHandler) Delete(context.Context, *v2.NetworkServiceDeleteRequest) (*v2.NetworkServiceDeleteResponse, error)
- func (UnimplementedNetworkServiceHandler) Get(context.Context, *v2.NetworkServiceGetRequest) (*v2.NetworkServiceGetResponse, error)
- func (UnimplementedNetworkServiceHandler) List(context.Context, *v2.NetworkServiceListRequest) (*v2.NetworkServiceListResponse, error)
- func (UnimplementedNetworkServiceHandler) Update(context.Context, *v2.NetworkServiceUpdateRequest) (*v2.NetworkServiceUpdateResponse, error)
- type UnimplementedPartitionServiceHandler
- func (UnimplementedPartitionServiceHandler) Capacity(context.Context, *v2.PartitionServiceCapacityRequest) (*v2.PartitionServiceCapacityResponse, error)
- func (UnimplementedPartitionServiceHandler) Create(context.Context, *v2.PartitionServiceCreateRequest) (*v2.PartitionServiceCreateResponse, error)
- func (UnimplementedPartitionServiceHandler) Delete(context.Context, *v2.PartitionServiceDeleteRequest) (*v2.PartitionServiceDeleteResponse, error)
- func (UnimplementedPartitionServiceHandler) Update(context.Context, *v2.PartitionServiceUpdateRequest) (*v2.PartitionServiceUpdateResponse, error)
- type UnimplementedProjectServiceHandler
- type UnimplementedSizeImageConstraintServiceHandler
- func (UnimplementedSizeImageConstraintServiceHandler) Create(context.Context, *v2.SizeImageConstraintServiceCreateRequest) (*v2.SizeImageConstraintServiceCreateResponse, error)
- func (UnimplementedSizeImageConstraintServiceHandler) Delete(context.Context, *v2.SizeImageConstraintServiceDeleteRequest) (*v2.SizeImageConstraintServiceDeleteResponse, error)
- func (UnimplementedSizeImageConstraintServiceHandler) Get(context.Context, *v2.SizeImageConstraintServiceGetRequest) (*v2.SizeImageConstraintServiceGetResponse, error)
- func (UnimplementedSizeImageConstraintServiceHandler) List(context.Context, *v2.SizeImageConstraintServiceListRequest) (*v2.SizeImageConstraintServiceListResponse, error)
- func (UnimplementedSizeImageConstraintServiceHandler) Update(context.Context, *v2.SizeImageConstraintServiceUpdateRequest) (*v2.SizeImageConstraintServiceUpdateResponse, error)
- type UnimplementedSizeReservationServiceHandler
- func (UnimplementedSizeReservationServiceHandler) Create(context.Context, *v2.SizeReservationServiceCreateRequest) (*v2.SizeReservationServiceCreateResponse, error)
- func (UnimplementedSizeReservationServiceHandler) Delete(context.Context, *v2.SizeReservationServiceDeleteRequest) (*v2.SizeReservationServiceDeleteResponse, error)
- func (UnimplementedSizeReservationServiceHandler) List(context.Context, *v2.SizeReservationServiceListRequest) (*v2.SizeReservationServiceListResponse, error)
- func (UnimplementedSizeReservationServiceHandler) Update(context.Context, *v2.SizeReservationServiceUpdateRequest) (*v2.SizeReservationServiceUpdateResponse, error)
- type UnimplementedSizeServiceHandler
- func (UnimplementedSizeServiceHandler) Create(context.Context, *v2.SizeServiceCreateRequest) (*v2.SizeServiceCreateResponse, error)
- func (UnimplementedSizeServiceHandler) Delete(context.Context, *v2.SizeServiceDeleteRequest) (*v2.SizeServiceDeleteResponse, error)
- func (UnimplementedSizeServiceHandler) Update(context.Context, *v2.SizeServiceUpdateRequest) (*v2.SizeServiceUpdateResponse, error)
- type UnimplementedSwitchServiceHandler
- func (UnimplementedSwitchServiceHandler) ConnectedMachines(context.Context, *v2.SwitchServiceConnectedMachinesRequest) (*v2.SwitchServiceConnectedMachinesResponse, error)
- func (UnimplementedSwitchServiceHandler) Delete(context.Context, *v2.SwitchServiceDeleteRequest) (*v2.SwitchServiceDeleteResponse, error)
- func (UnimplementedSwitchServiceHandler) Get(context.Context, *v2.SwitchServiceGetRequest) (*v2.SwitchServiceGetResponse, error)
- func (UnimplementedSwitchServiceHandler) List(context.Context, *v2.SwitchServiceListRequest) (*v2.SwitchServiceListResponse, error)
- func (UnimplementedSwitchServiceHandler) Migrate(context.Context, *v2.SwitchServiceMigrateRequest) (*v2.SwitchServiceMigrateResponse, error)
- func (UnimplementedSwitchServiceHandler) Port(context.Context, *v2.SwitchServicePortRequest) (*v2.SwitchServicePortResponse, error)
- func (UnimplementedSwitchServiceHandler) Update(context.Context, *v2.SwitchServiceUpdateRequest) (*v2.SwitchServiceUpdateResponse, error)
- type UnimplementedTaskServiceHandler
- func (UnimplementedTaskServiceHandler) Delete(context.Context, *v2.TaskServiceDeleteRequest) (*v2.TaskServiceDeleteResponse, error)
- func (UnimplementedTaskServiceHandler) Get(context.Context, *v2.TaskServiceGetRequest) (*v2.TaskServiceGetResponse, error)
- func (UnimplementedTaskServiceHandler) List(context.Context, *v2.TaskServiceListRequest) (*v2.TaskServiceListResponse, error)
- func (UnimplementedTaskServiceHandler) Queues(context.Context, *v2.TaskServiceQueuesRequest) (*v2.TaskServiceQueuesResponse, error)
- type UnimplementedTenantServiceHandler
- type UnimplementedTokenServiceHandler
- func (UnimplementedTokenServiceHandler) Create(context.Context, *v2.TokenServiceCreateRequest) (*v2.TokenServiceCreateResponse, error)
- func (UnimplementedTokenServiceHandler) List(context.Context, *v2.TokenServiceListRequest) (*v2.TokenServiceListResponse, error)
- func (UnimplementedTokenServiceHandler) Revoke(context.Context, *v2.TokenServiceRevokeRequest) (*v2.TokenServiceRevokeResponse, error)
- type UnimplementedVPNServiceHandler
- type VPNServiceClient
- type VPNServiceHandler
Constants ¶
const ( // AuditServiceGetProcedure is the fully-qualified name of the AuditService's Get RPC. AuditServiceGetProcedure = "/metalstack.admin.v2.AuditService/Get" // AuditServiceListProcedure is the fully-qualified name of the AuditService's List RPC. AuditServiceListProcedure = "/metalstack.admin.v2.AuditService/List" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // ComponentServiceGetProcedure is the fully-qualified name of the ComponentService's Get RPC. ComponentServiceGetProcedure = "/metalstack.admin.v2.ComponentService/Get" // ComponentServiceDeleteProcedure is the fully-qualified name of the ComponentService's Delete RPC. ComponentServiceDeleteProcedure = "/metalstack.admin.v2.ComponentService/Delete" // ComponentServiceListProcedure is the fully-qualified name of the ComponentService's List RPC. ComponentServiceListProcedure = "/metalstack.admin.v2.ComponentService/List" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // FilesystemServiceCreateProcedure is the fully-qualified name of the FilesystemService's Create // RPC. FilesystemServiceCreateProcedure = "/metalstack.admin.v2.FilesystemService/Create" // FilesystemServiceUpdateProcedure is the fully-qualified name of the FilesystemService's Update // RPC. FilesystemServiceUpdateProcedure = "/metalstack.admin.v2.FilesystemService/Update" // FilesystemServiceDeleteProcedure is the fully-qualified name of the FilesystemService's Delete // RPC. FilesystemServiceDeleteProcedure = "/metalstack.admin.v2.FilesystemService/Delete" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // ImageServiceCreateProcedure is the fully-qualified name of the ImageService's Create RPC. ImageServiceCreateProcedure = "/metalstack.admin.v2.ImageService/Create" // ImageServiceUpdateProcedure is the fully-qualified name of the ImageService's Update RPC. ImageServiceUpdateProcedure = "/metalstack.admin.v2.ImageService/Update" // ImageServiceDeleteProcedure is the fully-qualified name of the ImageService's Delete RPC. ImageServiceDeleteProcedure = "/metalstack.admin.v2.ImageService/Delete" // ImageServiceUsageProcedure is the fully-qualified name of the ImageService's Usage RPC. ImageServiceUsageProcedure = "/metalstack.admin.v2.ImageService/Usage" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // MachineServiceGetProcedure is the fully-qualified name of the MachineService's Get RPC. MachineServiceGetProcedure = "/metalstack.admin.v2.MachineService/Get" // MachineServiceListProcedure is the fully-qualified name of the MachineService's List RPC. MachineServiceListProcedure = "/metalstack.admin.v2.MachineService/List" // MachineServiceBMCCommandProcedure is the fully-qualified name of the MachineService's BMCCommand // RPC. MachineServiceBMCCommandProcedure = "/metalstack.admin.v2.MachineService/BMCCommand" // MachineServiceGetBMCProcedure is the fully-qualified name of the MachineService's GetBMC RPC. MachineServiceGetBMCProcedure = "/metalstack.admin.v2.MachineService/GetBMC" // MachineServiceListBMCProcedure is the fully-qualified name of the MachineService's ListBMC RPC. MachineServiceListBMCProcedure = "/metalstack.admin.v2.MachineService/ListBMC" // MachineServiceConsolePasswordProcedure is the fully-qualified name of the MachineService's // ConsolePassword RPC. MachineServiceConsolePasswordProcedure = "/metalstack.admin.v2.MachineService/ConsolePassword" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // NetworkServiceGetProcedure is the fully-qualified name of the NetworkService's Get RPC. NetworkServiceGetProcedure = "/metalstack.admin.v2.NetworkService/Get" // NetworkServiceCreateProcedure is the fully-qualified name of the NetworkService's Create RPC. NetworkServiceCreateProcedure = "/metalstack.admin.v2.NetworkService/Create" // NetworkServiceUpdateProcedure is the fully-qualified name of the NetworkService's Update RPC. NetworkServiceUpdateProcedure = "/metalstack.admin.v2.NetworkService/Update" // NetworkServiceDeleteProcedure is the fully-qualified name of the NetworkService's Delete RPC. NetworkServiceDeleteProcedure = "/metalstack.admin.v2.NetworkService/Delete" // NetworkServiceListProcedure is the fully-qualified name of the NetworkService's List RPC. NetworkServiceListProcedure = "/metalstack.admin.v2.NetworkService/List" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // PartitionServiceCreateProcedure is the fully-qualified name of the PartitionService's Create RPC. PartitionServiceCreateProcedure = "/metalstack.admin.v2.PartitionService/Create" // PartitionServiceUpdateProcedure is the fully-qualified name of the PartitionService's Update RPC. PartitionServiceUpdateProcedure = "/metalstack.admin.v2.PartitionService/Update" // PartitionServiceDeleteProcedure is the fully-qualified name of the PartitionService's Delete RPC. PartitionServiceDeleteProcedure = "/metalstack.admin.v2.PartitionService/Delete" // PartitionServiceCapacityProcedure is the fully-qualified name of the PartitionService's Capacity // RPC. PartitionServiceCapacityProcedure = "/metalstack.admin.v2.PartitionService/Capacity" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // SizeServiceCreateProcedure is the fully-qualified name of the SizeService's Create RPC. SizeServiceCreateProcedure = "/metalstack.admin.v2.SizeService/Create" // SizeServiceUpdateProcedure is the fully-qualified name of the SizeService's Update RPC. SizeServiceUpdateProcedure = "/metalstack.admin.v2.SizeService/Update" // SizeServiceDeleteProcedure is the fully-qualified name of the SizeService's Delete RPC. SizeServiceDeleteProcedure = "/metalstack.admin.v2.SizeService/Delete" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // SizeImageConstraintServiceCreateProcedure is the fully-qualified name of the // SizeImageConstraintService's Create RPC. SizeImageConstraintServiceCreateProcedure = "/metalstack.admin.v2.SizeImageConstraintService/Create" // SizeImageConstraintServiceUpdateProcedure is the fully-qualified name of the // SizeImageConstraintService's Update RPC. SizeImageConstraintServiceUpdateProcedure = "/metalstack.admin.v2.SizeImageConstraintService/Update" // SizeImageConstraintServiceDeleteProcedure is the fully-qualified name of the // SizeImageConstraintService's Delete RPC. SizeImageConstraintServiceDeleteProcedure = "/metalstack.admin.v2.SizeImageConstraintService/Delete" // SizeImageConstraintServiceGetProcedure is the fully-qualified name of the // SizeImageConstraintService's Get RPC. SizeImageConstraintServiceGetProcedure = "/metalstack.admin.v2.SizeImageConstraintService/Get" // SizeImageConstraintServiceListProcedure is the fully-qualified name of the // SizeImageConstraintService's List RPC. SizeImageConstraintServiceListProcedure = "/metalstack.admin.v2.SizeImageConstraintService/List" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // SizeReservationServiceCreateProcedure is the fully-qualified name of the SizeReservationService's // Create RPC. SizeReservationServiceCreateProcedure = "/metalstack.admin.v2.SizeReservationService/Create" // SizeReservationServiceUpdateProcedure is the fully-qualified name of the SizeReservationService's // Update RPC. SizeReservationServiceUpdateProcedure = "/metalstack.admin.v2.SizeReservationService/Update" // SizeReservationServiceDeleteProcedure is the fully-qualified name of the SizeReservationService's // Delete RPC. SizeReservationServiceDeleteProcedure = "/metalstack.admin.v2.SizeReservationService/Delete" // SizeReservationServiceListProcedure is the fully-qualified name of the SizeReservationService's // List RPC. SizeReservationServiceListProcedure = "/metalstack.admin.v2.SizeReservationService/List" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // SwitchServiceGetProcedure is the fully-qualified name of the SwitchService's Get RPC. SwitchServiceGetProcedure = "/metalstack.admin.v2.SwitchService/Get" // SwitchServiceListProcedure is the fully-qualified name of the SwitchService's List RPC. SwitchServiceListProcedure = "/metalstack.admin.v2.SwitchService/List" // SwitchServiceUpdateProcedure is the fully-qualified name of the SwitchService's Update RPC. SwitchServiceUpdateProcedure = "/metalstack.admin.v2.SwitchService/Update" // SwitchServiceDeleteProcedure is the fully-qualified name of the SwitchService's Delete RPC. SwitchServiceDeleteProcedure = "/metalstack.admin.v2.SwitchService/Delete" // SwitchServiceMigrateProcedure is the fully-qualified name of the SwitchService's Migrate RPC. SwitchServiceMigrateProcedure = "/metalstack.admin.v2.SwitchService/Migrate" // SwitchServicePortProcedure is the fully-qualified name of the SwitchService's Port RPC. SwitchServicePortProcedure = "/metalstack.admin.v2.SwitchService/Port" // SwitchServiceConnectedMachinesProcedure is the fully-qualified name of the SwitchService's // ConnectedMachines RPC. SwitchServiceConnectedMachinesProcedure = "/metalstack.admin.v2.SwitchService/ConnectedMachines" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // TaskServiceGetProcedure is the fully-qualified name of the TaskService's Get RPC. TaskServiceGetProcedure = "/metalstack.admin.v2.TaskService/Get" // TaskServiceDeleteProcedure is the fully-qualified name of the TaskService's Delete RPC. TaskServiceDeleteProcedure = "/metalstack.admin.v2.TaskService/Delete" // TaskServiceQueuesProcedure is the fully-qualified name of the TaskService's Queues RPC. TaskServiceQueuesProcedure = "/metalstack.admin.v2.TaskService/Queues" // TaskServiceListProcedure is the fully-qualified name of the TaskService's List RPC. TaskServiceListProcedure = "/metalstack.admin.v2.TaskService/List" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // TenantServiceCreateProcedure is the fully-qualified name of the TenantService's Create RPC. TenantServiceCreateProcedure = "/metalstack.admin.v2.TenantService/Create" // TenantServiceListProcedure is the fully-qualified name of the TenantService's List RPC. TenantServiceListProcedure = "/metalstack.admin.v2.TenantService/List" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // TokenServiceListProcedure is the fully-qualified name of the TokenService's List RPC. TokenServiceListProcedure = "/metalstack.admin.v2.TokenService/List" // TokenServiceRevokeProcedure is the fully-qualified name of the TokenService's Revoke RPC. TokenServiceRevokeProcedure = "/metalstack.admin.v2.TokenService/Revoke" // TokenServiceCreateProcedure is the fully-qualified name of the TokenService's Create RPC. TokenServiceCreateProcedure = "/metalstack.admin.v2.TokenService/Create" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const ( // VPNServiceAuthKeyProcedure is the fully-qualified name of the VPNService's AuthKey RPC. VPNServiceAuthKeyProcedure = "/metalstack.admin.v2.VPNService/AuthKey" // VPNServiceListNodesProcedure is the fully-qualified name of the VPNService's ListNodes RPC. VPNServiceListNodesProcedure = "/metalstack.admin.v2.VPNService/ListNodes" )
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// AuditServiceName is the fully-qualified name of the AuditService service.
AuditServiceName = "metalstack.admin.v2.AuditService"
)
const (
// ComponentServiceName is the fully-qualified name of the ComponentService service.
ComponentServiceName = "metalstack.admin.v2.ComponentService"
)
const (
// FilesystemServiceName is the fully-qualified name of the FilesystemService service.
FilesystemServiceName = "metalstack.admin.v2.FilesystemService"
)
const (
// IPServiceListProcedure is the fully-qualified name of the IPService's List RPC.
IPServiceListProcedure = "/metalstack.admin.v2.IPService/List"
)
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// IPServiceName is the fully-qualified name of the IPService service.
IPServiceName = "metalstack.admin.v2.IPService"
)
const (
// ImageServiceName is the fully-qualified name of the ImageService service.
ImageServiceName = "metalstack.admin.v2.ImageService"
)
const (
// MachineServiceName is the fully-qualified name of the MachineService service.
MachineServiceName = "metalstack.admin.v2.MachineService"
)
const (
// NetworkServiceName is the fully-qualified name of the NetworkService service.
NetworkServiceName = "metalstack.admin.v2.NetworkService"
)
const (
// PartitionServiceName is the fully-qualified name of the PartitionService service.
PartitionServiceName = "metalstack.admin.v2.PartitionService"
)
const (
// ProjectServiceListProcedure is the fully-qualified name of the ProjectService's List RPC.
ProjectServiceListProcedure = "/metalstack.admin.v2.ProjectService/List"
)
These constants are the fully-qualified names of the RPCs defined in this package. They're exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route.
Note that these are different from the fully-qualified method names used by google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to reflection-formatted method names, remove the leading slash and convert the remaining slash to a period.
const (
// ProjectServiceName is the fully-qualified name of the ProjectService service.
ProjectServiceName = "metalstack.admin.v2.ProjectService"
)
const ( // SizeImageConstraintServiceName is the fully-qualified name of the SizeImageConstraintService // service. SizeImageConstraintServiceName = "metalstack.admin.v2.SizeImageConstraintService" )
const (
// SizeReservationServiceName is the fully-qualified name of the SizeReservationService service.
SizeReservationServiceName = "metalstack.admin.v2.SizeReservationService"
)
const (
// SizeServiceName is the fully-qualified name of the SizeService service.
SizeServiceName = "metalstack.admin.v2.SizeService"
)
const (
// SwitchServiceName is the fully-qualified name of the SwitchService service.
SwitchServiceName = "metalstack.admin.v2.SwitchService"
)
const (
// TaskServiceName is the fully-qualified name of the TaskService service.
TaskServiceName = "metalstack.admin.v2.TaskService"
)
const (
// TenantServiceName is the fully-qualified name of the TenantService service.
TenantServiceName = "metalstack.admin.v2.TenantService"
)
const (
// TokenServiceName is the fully-qualified name of the TokenService service.
TokenServiceName = "metalstack.admin.v2.TokenService"
)
const (
// VPNServiceName is the fully-qualified name of the VPNService service.
VPNServiceName = "metalstack.admin.v2.VPNService"
)
Variables ¶
This section is empty.
Functions ¶
func NewAuditServiceHandler ¶ added in v0.0.55
func NewAuditServiceHandler(svc AuditServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewAuditServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewComponentServiceHandler ¶ added in v0.0.50
func NewComponentServiceHandler(svc ComponentServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewComponentServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewFilesystemServiceHandler ¶
func NewFilesystemServiceHandler(svc FilesystemServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewFilesystemServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewIPServiceHandler ¶
func NewIPServiceHandler(svc IPServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewIPServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewImageServiceHandler ¶
func NewImageServiceHandler(svc ImageServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewImageServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewMachineServiceHandler ¶ added in v0.0.12
func NewMachineServiceHandler(svc MachineServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewMachineServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewNetworkServiceHandler ¶
func NewNetworkServiceHandler(svc NetworkServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewNetworkServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewPartitionServiceHandler ¶
func NewPartitionServiceHandler(svc PartitionServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewPartitionServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewProjectServiceHandler ¶ added in v0.0.35
func NewProjectServiceHandler(svc ProjectServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewProjectServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewSizeImageConstraintServiceHandler ¶ added in v0.0.52
func NewSizeImageConstraintServiceHandler(svc SizeImageConstraintServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewSizeImageConstraintServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewSizeReservationServiceHandler ¶ added in v0.0.47
func NewSizeReservationServiceHandler(svc SizeReservationServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewSizeReservationServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewSizeServiceHandler ¶ added in v0.0.2
func NewSizeServiceHandler(svc SizeServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewSizeServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewSwitchServiceHandler ¶ added in v0.0.23
func NewSwitchServiceHandler(svc SwitchServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewSwitchServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewTaskServiceHandler ¶ added in v0.0.41
func NewTaskServiceHandler(svc TaskServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewTaskServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewTenantServiceHandler ¶
func NewTenantServiceHandler(svc TenantServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewTenantServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewTokenServiceHandler ¶
func NewTokenServiceHandler(svc TokenServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewTokenServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
func NewVPNServiceHandler ¶ added in v0.0.37
func NewVPNServiceHandler(svc VPNServiceHandler, opts ...connect.HandlerOption) (string, http.Handler)
NewVPNServiceHandler builds an HTTP handler from the service implementation. It returns the path on which to mount the handler and the handler itself.
By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf and JSON codecs. They also support gzip compression.
Types ¶
type AuditServiceClient ¶ added in v0.0.55
type AuditServiceClient interface {
// Returns the audit trace with the specified UUID.
Get(context.Context, *v2.AuditServiceGetRequest) (*v2.AuditServiceGetResponse, error)
// Returns the list of all audit traces.
List(context.Context, *v2.AuditServiceListRequest) (*v2.AuditServiceListResponse, error)
}
AuditServiceClient is a client for the metalstack.admin.v2.AuditService service.
func NewAuditServiceClient ¶ added in v0.0.55
func NewAuditServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AuditServiceClient
NewAuditServiceClient constructs a client for the metalstack.admin.v2.AuditService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type AuditServiceHandler ¶ added in v0.0.55
type AuditServiceHandler interface {
// Returns the audit trace with the specified UUID.
Get(context.Context, *v2.AuditServiceGetRequest) (*v2.AuditServiceGetResponse, error)
// Returns the list of all audit traces.
List(context.Context, *v2.AuditServiceListRequest) (*v2.AuditServiceListResponse, error)
}
AuditServiceHandler is an implementation of the metalstack.admin.v2.AuditService service.
type ComponentServiceClient ¶ added in v0.0.50
type ComponentServiceClient interface {
// Returns the component with the specified UUID.
Get(context.Context, *v2.ComponentServiceGetRequest) (*v2.ComponentServiceGetResponse, error)
// Deletes the component with the specified UUID.
Delete(context.Context, *v2.ComponentServiceDeleteRequest) (*v2.ComponentServiceDeleteResponse, error)
// Returns the list of all components with their status.
List(context.Context, *v2.ComponentServiceListRequest) (*v2.ComponentServiceListResponse, error)
}
ComponentServiceClient is a client for the metalstack.admin.v2.ComponentService service.
func NewComponentServiceClient ¶ added in v0.0.50
func NewComponentServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ComponentServiceClient
NewComponentServiceClient constructs a client for the metalstack.admin.v2.ComponentService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ComponentServiceHandler ¶ added in v0.0.50
type ComponentServiceHandler interface {
// Returns the component with the specified UUID.
Get(context.Context, *v2.ComponentServiceGetRequest) (*v2.ComponentServiceGetResponse, error)
// Deletes the component with the specified UUID.
Delete(context.Context, *v2.ComponentServiceDeleteRequest) (*v2.ComponentServiceDeleteResponse, error)
// Returns the list of all components with their status.
List(context.Context, *v2.ComponentServiceListRequest) (*v2.ComponentServiceListResponse, error)
}
ComponentServiceHandler is an implementation of the metalstack.admin.v2.ComponentService service.
type FilesystemServiceClient ¶
type FilesystemServiceClient interface {
// Creates a new filesystem.
Create(context.Context, *v2.FilesystemServiceCreateRequest) (*v2.FilesystemServiceCreateResponse, error)
// Updates a filesystem.
Update(context.Context, *v2.FilesystemServiceUpdateRequest) (*v2.FilesystemServiceUpdateResponse, error)
// Deletes a filesystem.
Delete(context.Context, *v2.FilesystemServiceDeleteRequest) (*v2.FilesystemServiceDeleteResponse, error)
}
FilesystemServiceClient is a client for the metalstack.admin.v2.FilesystemService service.
func NewFilesystemServiceClient ¶
func NewFilesystemServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) FilesystemServiceClient
NewFilesystemServiceClient constructs a client for the metalstack.admin.v2.FilesystemService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type FilesystemServiceHandler ¶
type FilesystemServiceHandler interface {
// Creates a new filesystem.
Create(context.Context, *v2.FilesystemServiceCreateRequest) (*v2.FilesystemServiceCreateResponse, error)
// Updates a filesystem.
Update(context.Context, *v2.FilesystemServiceUpdateRequest) (*v2.FilesystemServiceUpdateResponse, error)
// Deletes a filesystem.
Delete(context.Context, *v2.FilesystemServiceDeleteRequest) (*v2.FilesystemServiceDeleteResponse, error)
}
FilesystemServiceHandler is an implementation of the metalstack.admin.v2.FilesystemService service.
type IPServiceClient ¶
type IPServiceClient interface {
// Returns the list of all IP addresses.
List(context.Context, *v2.IPServiceListRequest) (*v2.IPServiceListResponse, error)
}
IPServiceClient is a client for the metalstack.admin.v2.IPService service.
func NewIPServiceClient ¶
func NewIPServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) IPServiceClient
NewIPServiceClient constructs a client for the metalstack.admin.v2.IPService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type IPServiceHandler ¶
type IPServiceHandler interface {
// Returns the list of all IP addresses.
List(context.Context, *v2.IPServiceListRequest) (*v2.IPServiceListResponse, error)
}
IPServiceHandler is an implementation of the metalstack.admin.v2.IPService service.
type ImageServiceClient ¶
type ImageServiceClient interface {
// Creates a new image.
Create(context.Context, *v2.ImageServiceCreateRequest) (*v2.ImageServiceCreateResponse, error)
// Updates an image.
Update(context.Context, *v2.ImageServiceUpdateRequest) (*v2.ImageServiceUpdateResponse, error)
// Deletes an image.
Delete(context.Context, *v2.ImageServiceDeleteRequest) (*v2.ImageServiceDeleteResponse, error)
// Returns the usage of images.
Usage(context.Context, *v2.ImageServiceUsageRequest) (*v2.ImageServiceUsageResponse, error)
}
ImageServiceClient is a client for the metalstack.admin.v2.ImageService service.
func NewImageServiceClient ¶
func NewImageServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ImageServiceClient
NewImageServiceClient constructs a client for the metalstack.admin.v2.ImageService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ImageServiceHandler ¶
type ImageServiceHandler interface {
// Creates a new image.
Create(context.Context, *v2.ImageServiceCreateRequest) (*v2.ImageServiceCreateResponse, error)
// Updates an image.
Update(context.Context, *v2.ImageServiceUpdateRequest) (*v2.ImageServiceUpdateResponse, error)
// Deletes an image.
Delete(context.Context, *v2.ImageServiceDeleteRequest) (*v2.ImageServiceDeleteResponse, error)
// Returns the usage of images.
Usage(context.Context, *v2.ImageServiceUsageRequest) (*v2.ImageServiceUsageResponse, error)
}
ImageServiceHandler is an implementation of the metalstack.admin.v2.ImageService service.
type MachineServiceClient ¶ added in v0.0.12
type MachineServiceClient interface {
// Returns the machine with the specified UUID.
Get(context.Context, *v2.MachineServiceGetRequest) (*v2.MachineServiceGetResponse, error)
// Returns the list of all machines.
List(context.Context, *v2.MachineServiceListRequest) (*v2.MachineServiceListResponse, error)
// BMCCommand sends a command to the BMC of a machine.
BMCCommand(context.Context, *v2.MachineServiceBMCCommandRequest) (*v2.MachineServiceBMCCommandResponse, error)
// Returns the BMC details of a machine.
GetBMC(context.Context, *v2.MachineServiceGetBMCRequest) (*v2.MachineServiceGetBMCResponse, error)
// ListBMC returns the BMC details of many machines.
ListBMC(context.Context, *v2.MachineServiceListBMCRequest) (*v2.MachineServiceListBMCResponse, error)
// GetConsolePassword returns the password to access the serial console of the machine.
ConsolePassword(context.Context, *v2.MachineServiceConsolePasswordRequest) (*v2.MachineServiceConsolePasswordResponse, error)
}
MachineServiceClient is a client for the metalstack.admin.v2.MachineService service.
func NewMachineServiceClient ¶ added in v0.0.12
func NewMachineServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) MachineServiceClient
NewMachineServiceClient constructs a client for the metalstack.admin.v2.MachineService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type MachineServiceHandler ¶ added in v0.0.12
type MachineServiceHandler interface {
// Returns the machine with the specified UUID.
Get(context.Context, *v2.MachineServiceGetRequest) (*v2.MachineServiceGetResponse, error)
// Returns the list of all machines.
List(context.Context, *v2.MachineServiceListRequest) (*v2.MachineServiceListResponse, error)
// BMCCommand sends a command to the BMC of a machine.
BMCCommand(context.Context, *v2.MachineServiceBMCCommandRequest) (*v2.MachineServiceBMCCommandResponse, error)
// Returns the BMC details of a machine.
GetBMC(context.Context, *v2.MachineServiceGetBMCRequest) (*v2.MachineServiceGetBMCResponse, error)
// ListBMC returns the BMC details of many machines.
ListBMC(context.Context, *v2.MachineServiceListBMCRequest) (*v2.MachineServiceListBMCResponse, error)
// GetConsolePassword returns the password to access the serial console of the machine.
ConsolePassword(context.Context, *v2.MachineServiceConsolePasswordRequest) (*v2.MachineServiceConsolePasswordResponse, error)
}
MachineServiceHandler is an implementation of the metalstack.admin.v2.MachineService service.
type NetworkServiceClient ¶
type NetworkServiceClient interface {
// Returns the network with the specified ID.
Get(context.Context, *v2.NetworkServiceGetRequest) (*v2.NetworkServiceGetResponse, error)
// Creates a new network.
Create(context.Context, *v2.NetworkServiceCreateRequest) (*v2.NetworkServiceCreateResponse, error)
// Updates a network.
Update(context.Context, *v2.NetworkServiceUpdateRequest) (*v2.NetworkServiceUpdateResponse, error)
// Deletes a network.
Delete(context.Context, *v2.NetworkServiceDeleteRequest) (*v2.NetworkServiceDeleteResponse, error)
// Returns the list of all networks.
List(context.Context, *v2.NetworkServiceListRequest) (*v2.NetworkServiceListResponse, error)
}
NetworkServiceClient is a client for the metalstack.admin.v2.NetworkService service.
func NewNetworkServiceClient ¶
func NewNetworkServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) NetworkServiceClient
NewNetworkServiceClient constructs a client for the metalstack.admin.v2.NetworkService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type NetworkServiceHandler ¶
type NetworkServiceHandler interface {
// Returns the network with the specified ID.
Get(context.Context, *v2.NetworkServiceGetRequest) (*v2.NetworkServiceGetResponse, error)
// Creates a new network.
Create(context.Context, *v2.NetworkServiceCreateRequest) (*v2.NetworkServiceCreateResponse, error)
// Updates a network.
Update(context.Context, *v2.NetworkServiceUpdateRequest) (*v2.NetworkServiceUpdateResponse, error)
// Deletes a network.
Delete(context.Context, *v2.NetworkServiceDeleteRequest) (*v2.NetworkServiceDeleteResponse, error)
// Returns the list of all networks.
List(context.Context, *v2.NetworkServiceListRequest) (*v2.NetworkServiceListResponse, error)
}
NetworkServiceHandler is an implementation of the metalstack.admin.v2.NetworkService service.
type PartitionServiceClient ¶
type PartitionServiceClient interface {
// Creates a new partition.
Create(context.Context, *v2.PartitionServiceCreateRequest) (*v2.PartitionServiceCreateResponse, error)
// Updates a partition.
Update(context.Context, *v2.PartitionServiceUpdateRequest) (*v2.PartitionServiceUpdateResponse, error)
// Deletes a partition.
Delete(context.Context, *v2.PartitionServiceDeleteRequest) (*v2.PartitionServiceDeleteResponse, error)
// Returns the capacity of a partition.
Capacity(context.Context, *v2.PartitionServiceCapacityRequest) (*v2.PartitionServiceCapacityResponse, error)
}
PartitionServiceClient is a client for the metalstack.admin.v2.PartitionService service.
func NewPartitionServiceClient ¶
func NewPartitionServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) PartitionServiceClient
NewPartitionServiceClient constructs a client for the metalstack.admin.v2.PartitionService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type PartitionServiceHandler ¶
type PartitionServiceHandler interface {
// Creates a new partition.
Create(context.Context, *v2.PartitionServiceCreateRequest) (*v2.PartitionServiceCreateResponse, error)
// Updates a partition.
Update(context.Context, *v2.PartitionServiceUpdateRequest) (*v2.PartitionServiceUpdateResponse, error)
// Deletes a partition.
Delete(context.Context, *v2.PartitionServiceDeleteRequest) (*v2.PartitionServiceDeleteResponse, error)
// Returns the capacity of a partition.
Capacity(context.Context, *v2.PartitionServiceCapacityRequest) (*v2.PartitionServiceCapacityResponse, error)
}
PartitionServiceHandler is an implementation of the metalstack.admin.v2.PartitionService service.
type ProjectServiceClient ¶ added in v0.0.35
type ProjectServiceClient interface {
// Returns the list of projects matching the filter criteria.
List(context.Context, *v2.ProjectServiceListRequest) (*v2.ProjectServiceListResponse, error)
}
ProjectServiceClient is a client for the metalstack.admin.v2.ProjectService service.
func NewProjectServiceClient ¶ added in v0.0.35
func NewProjectServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ProjectServiceClient
NewProjectServiceClient constructs a client for the metalstack.admin.v2.ProjectService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type ProjectServiceHandler ¶ added in v0.0.35
type ProjectServiceHandler interface {
// Returns the list of projects matching the filter criteria.
List(context.Context, *v2.ProjectServiceListRequest) (*v2.ProjectServiceListResponse, error)
}
ProjectServiceHandler is an implementation of the metalstack.admin.v2.ProjectService service.
type SizeImageConstraintServiceClient ¶ added in v0.0.52
type SizeImageConstraintServiceClient interface {
// Creates a size image constraint.
Create(context.Context, *v2.SizeImageConstraintServiceCreateRequest) (*v2.SizeImageConstraintServiceCreateResponse, error)
// Updates a size image constraint.
Update(context.Context, *v2.SizeImageConstraintServiceUpdateRequest) (*v2.SizeImageConstraintServiceUpdateResponse, error)
// Deletes a size image constraint.
Delete(context.Context, *v2.SizeImageConstraintServiceDeleteRequest) (*v2.SizeImageConstraintServiceDeleteResponse, error)
// Returns the size image constraint with the specified size.
Get(context.Context, *v2.SizeImageConstraintServiceGetRequest) (*v2.SizeImageConstraintServiceGetResponse, error)
// Returns the list of size image constraints.
List(context.Context, *v2.SizeImageConstraintServiceListRequest) (*v2.SizeImageConstraintServiceListResponse, error)
}
SizeImageConstraintServiceClient is a client for the metalstack.admin.v2.SizeImageConstraintService service.
func NewSizeImageConstraintServiceClient ¶ added in v0.0.52
func NewSizeImageConstraintServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SizeImageConstraintServiceClient
NewSizeImageConstraintServiceClient constructs a client for the metalstack.admin.v2.SizeImageConstraintService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type SizeImageConstraintServiceHandler ¶ added in v0.0.52
type SizeImageConstraintServiceHandler interface {
// Creates a size image constraint.
Create(context.Context, *v2.SizeImageConstraintServiceCreateRequest) (*v2.SizeImageConstraintServiceCreateResponse, error)
// Updates a size image constraint.
Update(context.Context, *v2.SizeImageConstraintServiceUpdateRequest) (*v2.SizeImageConstraintServiceUpdateResponse, error)
// Deletes a size image constraint.
Delete(context.Context, *v2.SizeImageConstraintServiceDeleteRequest) (*v2.SizeImageConstraintServiceDeleteResponse, error)
// Returns the size image constraint with the specified size.
Get(context.Context, *v2.SizeImageConstraintServiceGetRequest) (*v2.SizeImageConstraintServiceGetResponse, error)
// Returns the list of size image constraints.
List(context.Context, *v2.SizeImageConstraintServiceListRequest) (*v2.SizeImageConstraintServiceListResponse, error)
}
SizeImageConstraintServiceHandler is an implementation of the metalstack.admin.v2.SizeImageConstraintService service.
type SizeReservationServiceClient ¶ added in v0.0.47
type SizeReservationServiceClient interface {
// Creates a new size reservation.
Create(context.Context, *v2.SizeReservationServiceCreateRequest) (*v2.SizeReservationServiceCreateResponse, error)
// Updates a size reservation.
Update(context.Context, *v2.SizeReservationServiceUpdateRequest) (*v2.SizeReservationServiceUpdateResponse, error)
// Deletes a size reservation.
Delete(context.Context, *v2.SizeReservationServiceDeleteRequest) (*v2.SizeReservationServiceDeleteResponse, error)
// Returns the list of size reservations.
List(context.Context, *v2.SizeReservationServiceListRequest) (*v2.SizeReservationServiceListResponse, error)
}
SizeReservationServiceClient is a client for the metalstack.admin.v2.SizeReservationService service.
func NewSizeReservationServiceClient ¶ added in v0.0.47
func NewSizeReservationServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SizeReservationServiceClient
NewSizeReservationServiceClient constructs a client for the metalstack.admin.v2.SizeReservationService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type SizeReservationServiceHandler ¶ added in v0.0.47
type SizeReservationServiceHandler interface {
// Creates a new size reservation.
Create(context.Context, *v2.SizeReservationServiceCreateRequest) (*v2.SizeReservationServiceCreateResponse, error)
// Updates a size reservation.
Update(context.Context, *v2.SizeReservationServiceUpdateRequest) (*v2.SizeReservationServiceUpdateResponse, error)
// Deletes a size reservation.
Delete(context.Context, *v2.SizeReservationServiceDeleteRequest) (*v2.SizeReservationServiceDeleteResponse, error)
// Returns the list of size reservations.
List(context.Context, *v2.SizeReservationServiceListRequest) (*v2.SizeReservationServiceListResponse, error)
}
SizeReservationServiceHandler is an implementation of the metalstack.admin.v2.SizeReservationService service.
type SizeServiceClient ¶ added in v0.0.2
type SizeServiceClient interface {
// Creates a new size.
Create(context.Context, *v2.SizeServiceCreateRequest) (*v2.SizeServiceCreateResponse, error)
// Updates a size.
Update(context.Context, *v2.SizeServiceUpdateRequest) (*v2.SizeServiceUpdateResponse, error)
// Deletes a size.
Delete(context.Context, *v2.SizeServiceDeleteRequest) (*v2.SizeServiceDeleteResponse, error)
}
SizeServiceClient is a client for the metalstack.admin.v2.SizeService service.
func NewSizeServiceClient ¶ added in v0.0.2
func NewSizeServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SizeServiceClient
NewSizeServiceClient constructs a client for the metalstack.admin.v2.SizeService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type SizeServiceHandler ¶ added in v0.0.2
type SizeServiceHandler interface {
// Creates a new size.
Create(context.Context, *v2.SizeServiceCreateRequest) (*v2.SizeServiceCreateResponse, error)
// Updates a size.
Update(context.Context, *v2.SizeServiceUpdateRequest) (*v2.SizeServiceUpdateResponse, error)
// Deletes a size.
Delete(context.Context, *v2.SizeServiceDeleteRequest) (*v2.SizeServiceDeleteResponse, error)
}
SizeServiceHandler is an implementation of the metalstack.admin.v2.SizeService service.
type SwitchServiceClient ¶ added in v0.0.23
type SwitchServiceClient interface {
// Returns the switch with the specified ID.
Get(context.Context, *v2.SwitchServiceGetRequest) (*v2.SwitchServiceGetResponse, error)
// Returns the list of switches.
List(context.Context, *v2.SwitchServiceListRequest) (*v2.SwitchServiceListResponse, error)
// Updates a switch.
Update(context.Context, *v2.SwitchServiceUpdateRequest) (*v2.SwitchServiceUpdateResponse, error)
// Deletes a switch.
Delete(context.Context, *v2.SwitchServiceDeleteRequest) (*v2.SwitchServiceDeleteResponse, error)
// Migrates a switch.
Migrate(context.Context, *v2.SwitchServiceMigrateRequest) (*v2.SwitchServiceMigrateResponse, error)
// Sets the port status of a switch port.
Port(context.Context, *v2.SwitchServicePortRequest) (*v2.SwitchServicePortResponse, error)
// Returns all switches with their machine connections.
ConnectedMachines(context.Context, *v2.SwitchServiceConnectedMachinesRequest) (*v2.SwitchServiceConnectedMachinesResponse, error)
}
SwitchServiceClient is a client for the metalstack.admin.v2.SwitchService service.
func NewSwitchServiceClient ¶ added in v0.0.23
func NewSwitchServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) SwitchServiceClient
NewSwitchServiceClient constructs a client for the metalstack.admin.v2.SwitchService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type SwitchServiceHandler ¶ added in v0.0.23
type SwitchServiceHandler interface {
// Returns the switch with the specified ID.
Get(context.Context, *v2.SwitchServiceGetRequest) (*v2.SwitchServiceGetResponse, error)
// Returns the list of switches.
List(context.Context, *v2.SwitchServiceListRequest) (*v2.SwitchServiceListResponse, error)
// Updates a switch.
Update(context.Context, *v2.SwitchServiceUpdateRequest) (*v2.SwitchServiceUpdateResponse, error)
// Deletes a switch.
Delete(context.Context, *v2.SwitchServiceDeleteRequest) (*v2.SwitchServiceDeleteResponse, error)
// Migrates a switch.
Migrate(context.Context, *v2.SwitchServiceMigrateRequest) (*v2.SwitchServiceMigrateResponse, error)
// Sets the port status of a switch port.
Port(context.Context, *v2.SwitchServicePortRequest) (*v2.SwitchServicePortResponse, error)
// Returns all switches with their machine connections.
ConnectedMachines(context.Context, *v2.SwitchServiceConnectedMachinesRequest) (*v2.SwitchServiceConnectedMachinesResponse, error)
}
SwitchServiceHandler is an implementation of the metalstack.admin.v2.SwitchService service.
type TaskServiceClient ¶ added in v0.0.41
type TaskServiceClient interface {
// Returns the task with the specified identifier.
Get(context.Context, *v2.TaskServiceGetRequest) (*v2.TaskServiceGetResponse, error)
// Deletes the task with the specified identifier.
Delete(context.Context, *v2.TaskServiceDeleteRequest) (*v2.TaskServiceDeleteResponse, error)
// Returns the list of all configured queues.
Queues(context.Context, *v2.TaskServiceQueuesRequest) (*v2.TaskServiceQueuesResponse, error)
// Returns the list of all tasks.
List(context.Context, *v2.TaskServiceListRequest) (*v2.TaskServiceListResponse, error)
}
TaskServiceClient is a client for the metalstack.admin.v2.TaskService service.
func NewTaskServiceClient ¶ added in v0.0.41
func NewTaskServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TaskServiceClient
NewTaskServiceClient constructs a client for the metalstack.admin.v2.TaskService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type TaskServiceHandler ¶ added in v0.0.41
type TaskServiceHandler interface {
// Returns the task with the specified identifier.
Get(context.Context, *v2.TaskServiceGetRequest) (*v2.TaskServiceGetResponse, error)
// Deletes the task with the specified identifier.
Delete(context.Context, *v2.TaskServiceDeleteRequest) (*v2.TaskServiceDeleteResponse, error)
// Returns the list of all configured queues.
Queues(context.Context, *v2.TaskServiceQueuesRequest) (*v2.TaskServiceQueuesResponse, error)
// Returns the list of all tasks.
List(context.Context, *v2.TaskServiceListRequest) (*v2.TaskServiceListResponse, error)
}
TaskServiceHandler is an implementation of the metalstack.admin.v2.TaskService service.
type TenantServiceClient ¶
type TenantServiceClient interface {
// Creates a new tenant.
Create(context.Context, *v2.TenantServiceCreateRequest) (*v2.TenantServiceCreateResponse, error)
// Returns the list of all tenants.
List(context.Context, *v2.TenantServiceListRequest) (*v2.TenantServiceListResponse, error)
}
TenantServiceClient is a client for the metalstack.admin.v2.TenantService service.
func NewTenantServiceClient ¶
func NewTenantServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TenantServiceClient
NewTenantServiceClient constructs a client for the metalstack.admin.v2.TenantService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type TenantServiceHandler ¶
type TenantServiceHandler interface {
// Creates a new tenant.
Create(context.Context, *v2.TenantServiceCreateRequest) (*v2.TenantServiceCreateResponse, error)
// Returns the list of all tenants.
List(context.Context, *v2.TenantServiceListRequest) (*v2.TenantServiceListResponse, error)
}
TenantServiceHandler is an implementation of the metalstack.admin.v2.TenantService service.
type TokenServiceClient ¶
type TokenServiceClient interface {
// Returns the list of tokens for a user.
List(context.Context, *v2.TokenServiceListRequest) (*v2.TokenServiceListResponse, error)
// Revokes a token.
Revoke(context.Context, *v2.TokenServiceRevokeRequest) (*v2.TokenServiceRevokeResponse, error)
// Creates a token to authenticate against the platform, the secret will be only visible in the response.
// This service is suitable to create tokens for other users instead of deriving users from tokens directly.
Create(context.Context, *v2.TokenServiceCreateRequest) (*v2.TokenServiceCreateResponse, error)
}
TokenServiceClient is a client for the metalstack.admin.v2.TokenService service.
func NewTokenServiceClient ¶
func NewTokenServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) TokenServiceClient
NewTokenServiceClient constructs a client for the metalstack.admin.v2.TokenService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type TokenServiceHandler ¶
type TokenServiceHandler interface {
// Returns the list of tokens for a user.
List(context.Context, *v2.TokenServiceListRequest) (*v2.TokenServiceListResponse, error)
// Revokes a token.
Revoke(context.Context, *v2.TokenServiceRevokeRequest) (*v2.TokenServiceRevokeResponse, error)
// Creates a token to authenticate against the platform, the secret will be only visible in the response.
// This service is suitable to create tokens for other users instead of deriving users from tokens directly.
Create(context.Context, *v2.TokenServiceCreateRequest) (*v2.TokenServiceCreateResponse, error)
}
TokenServiceHandler is an implementation of the metalstack.admin.v2.TokenService service.
type UnimplementedAuditServiceHandler ¶ added in v0.0.55
type UnimplementedAuditServiceHandler struct{}
UnimplementedAuditServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedAuditServiceHandler) Get ¶ added in v0.0.55
func (UnimplementedAuditServiceHandler) Get(context.Context, *v2.AuditServiceGetRequest) (*v2.AuditServiceGetResponse, error)
func (UnimplementedAuditServiceHandler) List ¶ added in v0.0.55
func (UnimplementedAuditServiceHandler) List(context.Context, *v2.AuditServiceListRequest) (*v2.AuditServiceListResponse, error)
type UnimplementedComponentServiceHandler ¶ added in v0.0.50
type UnimplementedComponentServiceHandler struct{}
UnimplementedComponentServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedFilesystemServiceHandler ¶
type UnimplementedFilesystemServiceHandler struct{}
UnimplementedFilesystemServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedIPServiceHandler ¶
type UnimplementedIPServiceHandler struct{}
UnimplementedIPServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedIPServiceHandler) List ¶
func (UnimplementedIPServiceHandler) List(context.Context, *v2.IPServiceListRequest) (*v2.IPServiceListResponse, error)
type UnimplementedImageServiceHandler ¶
type UnimplementedImageServiceHandler struct{}
UnimplementedImageServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedImageServiceHandler) Create ¶
func (UnimplementedImageServiceHandler) Create(context.Context, *v2.ImageServiceCreateRequest) (*v2.ImageServiceCreateResponse, error)
func (UnimplementedImageServiceHandler) Delete ¶
func (UnimplementedImageServiceHandler) Delete(context.Context, *v2.ImageServiceDeleteRequest) (*v2.ImageServiceDeleteResponse, error)
func (UnimplementedImageServiceHandler) Update ¶
func (UnimplementedImageServiceHandler) Update(context.Context, *v2.ImageServiceUpdateRequest) (*v2.ImageServiceUpdateResponse, error)
func (UnimplementedImageServiceHandler) Usage ¶
func (UnimplementedImageServiceHandler) Usage(context.Context, *v2.ImageServiceUsageRequest) (*v2.ImageServiceUsageResponse, error)
type UnimplementedMachineServiceHandler ¶ added in v0.0.12
type UnimplementedMachineServiceHandler struct{}
UnimplementedMachineServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedMachineServiceHandler) BMCCommand ¶ added in v0.0.41
func (UnimplementedMachineServiceHandler) BMCCommand(context.Context, *v2.MachineServiceBMCCommandRequest) (*v2.MachineServiceBMCCommandResponse, error)
func (UnimplementedMachineServiceHandler) ConsolePassword ¶ added in v0.0.41
func (UnimplementedMachineServiceHandler) ConsolePassword(context.Context, *v2.MachineServiceConsolePasswordRequest) (*v2.MachineServiceConsolePasswordResponse, error)
func (UnimplementedMachineServiceHandler) GetBMC ¶ added in v0.0.41
func (UnimplementedMachineServiceHandler) GetBMC(context.Context, *v2.MachineServiceGetBMCRequest) (*v2.MachineServiceGetBMCResponse, error)
func (UnimplementedMachineServiceHandler) ListBMC ¶ added in v0.0.41
func (UnimplementedMachineServiceHandler) ListBMC(context.Context, *v2.MachineServiceListBMCRequest) (*v2.MachineServiceListBMCResponse, error)
type UnimplementedNetworkServiceHandler ¶
type UnimplementedNetworkServiceHandler struct{}
UnimplementedNetworkServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedNetworkServiceHandler) Create ¶
func (UnimplementedNetworkServiceHandler) Create(context.Context, *v2.NetworkServiceCreateRequest) (*v2.NetworkServiceCreateResponse, error)
func (UnimplementedNetworkServiceHandler) Delete ¶
func (UnimplementedNetworkServiceHandler) Delete(context.Context, *v2.NetworkServiceDeleteRequest) (*v2.NetworkServiceDeleteResponse, error)
func (UnimplementedNetworkServiceHandler) Update ¶
func (UnimplementedNetworkServiceHandler) Update(context.Context, *v2.NetworkServiceUpdateRequest) (*v2.NetworkServiceUpdateResponse, error)
type UnimplementedPartitionServiceHandler ¶
type UnimplementedPartitionServiceHandler struct{}
UnimplementedPartitionServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedProjectServiceHandler ¶ added in v0.0.35
type UnimplementedProjectServiceHandler struct{}
UnimplementedProjectServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedSizeImageConstraintServiceHandler ¶ added in v0.0.52
type UnimplementedSizeImageConstraintServiceHandler struct{}
UnimplementedSizeImageConstraintServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedSizeReservationServiceHandler ¶ added in v0.0.47
type UnimplementedSizeReservationServiceHandler struct{}
UnimplementedSizeReservationServiceHandler returns CodeUnimplemented from all methods.
type UnimplementedSizeServiceHandler ¶ added in v0.0.2
type UnimplementedSizeServiceHandler struct{}
UnimplementedSizeServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedSizeServiceHandler) Create ¶ added in v0.0.2
func (UnimplementedSizeServiceHandler) Create(context.Context, *v2.SizeServiceCreateRequest) (*v2.SizeServiceCreateResponse, error)
func (UnimplementedSizeServiceHandler) Delete ¶ added in v0.0.2
func (UnimplementedSizeServiceHandler) Delete(context.Context, *v2.SizeServiceDeleteRequest) (*v2.SizeServiceDeleteResponse, error)
func (UnimplementedSizeServiceHandler) Update ¶ added in v0.0.2
func (UnimplementedSizeServiceHandler) Update(context.Context, *v2.SizeServiceUpdateRequest) (*v2.SizeServiceUpdateResponse, error)
type UnimplementedSwitchServiceHandler ¶ added in v0.0.23
type UnimplementedSwitchServiceHandler struct{}
UnimplementedSwitchServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedSwitchServiceHandler) ConnectedMachines ¶ added in v0.0.53
func (UnimplementedSwitchServiceHandler) ConnectedMachines(context.Context, *v2.SwitchServiceConnectedMachinesRequest) (*v2.SwitchServiceConnectedMachinesResponse, error)
func (UnimplementedSwitchServiceHandler) Delete ¶ added in v0.0.23
func (UnimplementedSwitchServiceHandler) Delete(context.Context, *v2.SwitchServiceDeleteRequest) (*v2.SwitchServiceDeleteResponse, error)
func (UnimplementedSwitchServiceHandler) Migrate ¶ added in v0.0.23
func (UnimplementedSwitchServiceHandler) Migrate(context.Context, *v2.SwitchServiceMigrateRequest) (*v2.SwitchServiceMigrateResponse, error)
func (UnimplementedSwitchServiceHandler) Update ¶ added in v0.0.23
func (UnimplementedSwitchServiceHandler) Update(context.Context, *v2.SwitchServiceUpdateRequest) (*v2.SwitchServiceUpdateResponse, error)
type UnimplementedTaskServiceHandler ¶ added in v0.0.41
type UnimplementedTaskServiceHandler struct{}
UnimplementedTaskServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedTaskServiceHandler) Delete ¶ added in v0.0.41
func (UnimplementedTaskServiceHandler) Delete(context.Context, *v2.TaskServiceDeleteRequest) (*v2.TaskServiceDeleteResponse, error)
func (UnimplementedTaskServiceHandler) Get ¶ added in v0.0.41
func (UnimplementedTaskServiceHandler) Get(context.Context, *v2.TaskServiceGetRequest) (*v2.TaskServiceGetResponse, error)
func (UnimplementedTaskServiceHandler) List ¶ added in v0.0.41
func (UnimplementedTaskServiceHandler) List(context.Context, *v2.TaskServiceListRequest) (*v2.TaskServiceListResponse, error)
func (UnimplementedTaskServiceHandler) Queues ¶ added in v0.0.41
func (UnimplementedTaskServiceHandler) Queues(context.Context, *v2.TaskServiceQueuesRequest) (*v2.TaskServiceQueuesResponse, error)
type UnimplementedTenantServiceHandler ¶
type UnimplementedTenantServiceHandler struct{}
UnimplementedTenantServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedTenantServiceHandler) Create ¶
func (UnimplementedTenantServiceHandler) Create(context.Context, *v2.TenantServiceCreateRequest) (*v2.TenantServiceCreateResponse, error)
type UnimplementedTokenServiceHandler ¶
type UnimplementedTokenServiceHandler struct{}
UnimplementedTokenServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedTokenServiceHandler) Create ¶ added in v0.0.32
func (UnimplementedTokenServiceHandler) Create(context.Context, *v2.TokenServiceCreateRequest) (*v2.TokenServiceCreateResponse, error)
func (UnimplementedTokenServiceHandler) List ¶
func (UnimplementedTokenServiceHandler) List(context.Context, *v2.TokenServiceListRequest) (*v2.TokenServiceListResponse, error)
func (UnimplementedTokenServiceHandler) Revoke ¶
func (UnimplementedTokenServiceHandler) Revoke(context.Context, *v2.TokenServiceRevokeRequest) (*v2.TokenServiceRevokeResponse, error)
type UnimplementedVPNServiceHandler ¶ added in v0.0.37
type UnimplementedVPNServiceHandler struct{}
UnimplementedVPNServiceHandler returns CodeUnimplemented from all methods.
func (UnimplementedVPNServiceHandler) AuthKey ¶ added in v0.0.37
func (UnimplementedVPNServiceHandler) AuthKey(context.Context, *v2.VPNServiceAuthKeyRequest) (*v2.VPNServiceAuthKeyResponse, error)
func (UnimplementedVPNServiceHandler) ListNodes ¶ added in v0.0.37
func (UnimplementedVPNServiceHandler) ListNodes(context.Context, *v2.VPNServiceListNodesRequest) (*v2.VPNServiceListNodesResponse, error)
type VPNServiceClient ¶ added in v0.0.37
type VPNServiceClient interface {
// GenerateAuthKey generates an authentication key for a project to join a machine to the project VPN.
AuthKey(context.Context, *v2.VPNServiceAuthKeyRequest) (*v2.VPNServiceAuthKeyResponse, error)
// Returns the list of machines connected to the VPN.
ListNodes(context.Context, *v2.VPNServiceListNodesRequest) (*v2.VPNServiceListNodesResponse, error)
}
VPNServiceClient is a client for the metalstack.admin.v2.VPNService service.
func NewVPNServiceClient ¶ added in v0.0.37
func NewVPNServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) VPNServiceClient
NewVPNServiceClient constructs a client for the metalstack.admin.v2.VPNService service. By default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the connect.WithGRPC() or connect.WithGRPCWeb() options.
The URL supplied here should be the base URL for the Connect or gRPC server (for example, http://api.acme.com or https://acme.com/grpc).
type VPNServiceHandler ¶ added in v0.0.37
type VPNServiceHandler interface {
// GenerateAuthKey generates an authentication key for a project to join a machine to the project VPN.
AuthKey(context.Context, *v2.VPNServiceAuthKeyRequest) (*v2.VPNServiceAuthKeyResponse, error)
// Returns the list of machines connected to the VPN.
ListNodes(context.Context, *v2.VPNServiceListNodesRequest) (*v2.VPNServiceListNodesResponse, error)
}
VPNServiceHandler is an implementation of the metalstack.admin.v2.VPNService service.
Source Files
¶
- audit.connect.go
- component.connect.go
- filesystem.connect.go
- image.connect.go
- ip.connect.go
- machine.connect.go
- network.connect.go
- partition.connect.go
- project.connect.go
- size.connect.go
- size_imageconstraint.connect.go
- size_reservation.connect.go
- switch.connect.go
- task.connect.go
- tenant.connect.go
- token.connect.go
- vpn.connect.go