v1

package
v0.0.0-...-6816ca5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BMC_NetworkSource_FullMethodName = "/github.com.tinkerbell.pbnj.api.v1.BMC/NetworkSource"
	BMC_Reset_FullMethodName         = "/github.com.tinkerbell.pbnj.api.v1.BMC/Reset"
	BMC_CreateUser_FullMethodName    = "/github.com.tinkerbell.pbnj.api.v1.BMC/CreateUser"
	BMC_DeleteUser_FullMethodName    = "/github.com.tinkerbell.pbnj.api.v1.BMC/DeleteUser"
	BMC_UpdateUser_FullMethodName    = "/github.com.tinkerbell.pbnj.api.v1.BMC/UpdateUser"
	BMC_DeactivateSOL_FullMethodName = "/github.com.tinkerbell.pbnj.api.v1.BMC/DeactivateSOL"
)
View Source
const (
	Diagnostic_Screenshot_FullMethodName          = "/github.com.tinkerbell.pbnj.api.v1.Diagnostic/Screenshot"
	Diagnostic_ClearSystemEventLog_FullMethodName = "/github.com.tinkerbell.pbnj.api.v1.Diagnostic/ClearSystemEventLog"
	Diagnostic_SendNMI_FullMethodName             = "/github.com.tinkerbell.pbnj.api.v1.Diagnostic/SendNMI"
)
View Source
const (
	Machine_BootDevice_FullMethodName = "/github.com.tinkerbell.pbnj.api.v1.Machine/BootDevice"
	Machine_Power_FullMethodName      = "/github.com.tinkerbell.pbnj.api.v1.Machine/Power"
)
View Source
const (
	Task_Status_FullMethodName = "/github.com.tinkerbell.pbnj.api.v1.Task/Status"
)

Variables

View Source
var (
	UserRole_name = map[int32]string{
		0: "USER_ROLE_UNSPECIFIED",
		1: "USER_ROLE_ADMIN",
		2: "USER_ROLE_USER",
	}
	UserRole_value = map[string]int32{
		"USER_ROLE_UNSPECIFIED": 0,
		"USER_ROLE_ADMIN":       1,
		"USER_ROLE_USER":        2,
	}
)

Enum value maps for UserRole.

View Source
var (
	ResetKind_name = map[int32]string{
		0: "RESET_KIND_UNSPECIFIED",
		1: "RESET_KIND_COLD",
		2: "RESET_KIND_WARM",
	}
	ResetKind_value = map[string]int32{
		"RESET_KIND_UNSPECIFIED": 0,
		"RESET_KIND_COLD":        1,
		"RESET_KIND_WARM":        2,
	}
)

Enum value maps for ResetKind.

View Source
var (
	NetworkSource_name = map[int32]string{
		0: "NETWORK_SOURCE_UNSPECIFIED",
		1: "NETWORK_SOURCE_DHCP",
		2: "NETWORK_SOURCE_STATIC",
	}
	NetworkSource_value = map[string]int32{
		"NETWORK_SOURCE_UNSPECIFIED": 0,
		"NETWORK_SOURCE_DHCP":        1,
		"NETWORK_SOURCE_STATIC":      2,
	}
)

Enum value maps for NetworkSource.

View Source
var (
	Code_name = map[int32]string{
		0:  "OK",
		1:  "CANCELLED",
		2:  "UNKNOWN",
		3:  "INVALID_ARGUMENT",
		4:  "DEADLINE_EXCEEDED",
		5:  "NOT_FOUND",
		6:  "ALREADY_EXISTS",
		7:  "PERMISSION_DENIED",
		16: "UNAUTHENTICATED",
		8:  "RESOURCE_EXHAUSTED",
		9:  "FAILED_PRECONDITION",
		10: "ABORTED",
		11: "OUT_OF_RANGE",
		12: "UNIMPLEMENTED",
		13: "INTERNAL",
		14: "UNAVAILABLE",
		15: "DATA_LOSS",
	}
	Code_value = map[string]int32{
		"OK":                  0,
		"CANCELLED":           1,
		"UNKNOWN":             2,
		"INVALID_ARGUMENT":    3,
		"DEADLINE_EXCEEDED":   4,
		"NOT_FOUND":           5,
		"ALREADY_EXISTS":      6,
		"PERMISSION_DENIED":   7,
		"UNAUTHENTICATED":     16,
		"RESOURCE_EXHAUSTED":  8,
		"FAILED_PRECONDITION": 9,
		"ABORTED":             10,
		"OUT_OF_RANGE":        11,
		"UNIMPLEMENTED":       12,
		"INTERNAL":            13,
		"UNAVAILABLE":         14,
		"DATA_LOSS":           15,
	}
)

Enum value maps for Code.

View Source
var (
	BootDevice_name = map[int32]string{
		0: "BOOT_DEVICE_UNSPECIFIED",
		1: "BOOT_DEVICE_NONE",
		2: "BOOT_DEVICE_BIOS",
		4: "BOOT_DEVICE_CDROM",
		5: "BOOT_DEVICE_DISK",
		6: "BOOT_DEVICE_PXE",
	}
	BootDevice_value = map[string]int32{
		"BOOT_DEVICE_UNSPECIFIED": 0,
		"BOOT_DEVICE_NONE":        1,
		"BOOT_DEVICE_BIOS":        2,
		"BOOT_DEVICE_CDROM":       4,
		"BOOT_DEVICE_DISK":        5,
		"BOOT_DEVICE_PXE":         6,
	}
)

Enum value maps for BootDevice.

View Source
var (
	PowerAction_name = map[int32]string{
		0: "POWER_ACTION_UNSPECIFIED",
		1: "POWER_ACTION_ON",
		2: "POWER_ACTION_OFF",
		3: "POWER_ACTION_HARDOFF",
		4: "POWER_ACTION_CYCLE",
		5: "POWER_ACTION_RESET",
		6: "POWER_ACTION_STATUS",
	}
	PowerAction_value = map[string]int32{
		"POWER_ACTION_UNSPECIFIED": 0,
		"POWER_ACTION_ON":          1,
		"POWER_ACTION_OFF":         2,
		"POWER_ACTION_HARDOFF":     3,
		"POWER_ACTION_CYCLE":       4,
		"POWER_ACTION_RESET":       5,
		"POWER_ACTION_STATUS":      6,
	}
)

Enum value maps for PowerAction.

View Source
var BMC_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.tinkerbell.pbnj.api.v1.BMC",
	HandlerType: (*BMCServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NetworkSource",
			Handler:    _BMC_NetworkSource_Handler,
		},
		{
			MethodName: "Reset",
			Handler:    _BMC_Reset_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _BMC_CreateUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _BMC_DeleteUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _BMC_UpdateUser_Handler,
		},
		{
			MethodName: "DeactivateSOL",
			Handler:    _BMC_DeactivateSOL_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/bmc.proto",
}

BMC_ServiceDesc is the grpc.ServiceDesc for BMC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Diagnostic_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.tinkerbell.pbnj.api.v1.Diagnostic",
	HandlerType: (*DiagnosticServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Screenshot",
			Handler:    _Diagnostic_Screenshot_Handler,
		},
		{
			MethodName: "ClearSystemEventLog",
			Handler:    _Diagnostic_ClearSystemEventLog_Handler,
		},
		{
			MethodName: "SendNMI",
			Handler:    _Diagnostic_SendNMI_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/diagnostic.proto",
}

Diagnostic_ServiceDesc is the grpc.ServiceDesc for Diagnostic service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_api_v1_bmc_proto protoreflect.FileDescriptor
View Source
var File_api_v1_common_proto protoreflect.FileDescriptor
View Source
var File_api_v1_diagnostic_proto protoreflect.FileDescriptor
View Source
var File_api_v1_machine_proto protoreflect.FileDescriptor
View Source
var File_api_v1_task_proto protoreflect.FileDescriptor
View Source
var Machine_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.tinkerbell.pbnj.api.v1.Machine",
	HandlerType: (*MachineServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "BootDevice",
			Handler:    _Machine_BootDevice_Handler,
		},
		{
			MethodName: "Power",
			Handler:    _Machine_Power_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/machine.proto",
}

Machine_ServiceDesc is the grpc.ServiceDesc for Machine service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Task_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "github.com.tinkerbell.pbnj.api.v1.Task",
	HandlerType: (*TaskServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Status",
			Handler:    _Task_Status_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/task.proto",
}

Task_ServiceDesc is the grpc.ServiceDesc for Task service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBMCServer

func RegisterBMCServer(s grpc.ServiceRegistrar, srv BMCServer)

func RegisterDiagnosticServer

func RegisterDiagnosticServer(s grpc.ServiceRegistrar, srv DiagnosticServer)

func RegisterMachineServer

func RegisterMachineServer(s grpc.ServiceRegistrar, srv MachineServer)

func RegisterTaskServer

func RegisterTaskServer(s grpc.ServiceRegistrar, srv TaskServer)

Types

type Authn

type Authn struct {

	// Types that are assignable to Authn:
	//
	//	*Authn_DirectAuthn
	Authn isAuthn_Authn `protobuf_oneof:"authn"`
	// contains filtered or unexported fields
}

func (*Authn) Descriptor deprecated

func (*Authn) Descriptor() ([]byte, []int)

Deprecated: Use Authn.ProtoReflect.Descriptor instead.

func (*Authn) GetAuthn

func (m *Authn) GetAuthn() isAuthn_Authn

func (*Authn) GetDirectAuthn

func (x *Authn) GetDirectAuthn() *DirectAuthn

func (*Authn) ProtoMessage

func (*Authn) ProtoMessage()

func (*Authn) ProtoReflect

func (x *Authn) ProtoReflect() protoreflect.Message

func (*Authn) Reset

func (x *Authn) Reset()

func (*Authn) String

func (x *Authn) String() string

func (*Authn) Validate

func (this *Authn) Validate() error

type Authn_DirectAuthn

type Authn_DirectAuthn struct {
	DirectAuthn *DirectAuthn `protobuf:"bytes,1,opt,name=directAuthn,proto3,oneof"` //ExternalAuthn externalAuthn = 2;
}

type BMCClient

type BMCClient interface {
	NetworkSource(ctx context.Context, in *NetworkSourceRequest, opts ...grpc.CallOption) (*NetworkSourceResponse, error)
	Reset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*ResetResponse, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	DeactivateSOL(ctx context.Context, in *DeactivateSOLRequest, opts ...grpc.CallOption) (*DeactivateSOLResponse, error)
}

BMCClient is the client API for BMC service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewBMCClient

func NewBMCClient(cc grpc.ClientConnInterface) BMCClient

type BMCServer

BMCServer is the server API for BMC service. All implementations must embed UnimplementedBMCServer for forward compatibility

type BootDevice

type BootDevice int32
const (
	BootDevice_BOOT_DEVICE_UNSPECIFIED BootDevice = 0
	BootDevice_BOOT_DEVICE_NONE        BootDevice = 1
	BootDevice_BOOT_DEVICE_BIOS        BootDevice = 2
	BootDevice_BOOT_DEVICE_CDROM       BootDevice = 4
	BootDevice_BOOT_DEVICE_DISK        BootDevice = 5
	BootDevice_BOOT_DEVICE_PXE         BootDevice = 6
)

func (BootDevice) Descriptor

func (BootDevice) Descriptor() protoreflect.EnumDescriptor

func (BootDevice) Enum

func (x BootDevice) Enum() *BootDevice

func (BootDevice) EnumDescriptor deprecated

func (BootDevice) EnumDescriptor() ([]byte, []int)

Deprecated: Use BootDevice.Descriptor instead.

func (BootDevice) Number

func (x BootDevice) Number() protoreflect.EnumNumber

func (BootDevice) String

func (x BootDevice) String() string

func (BootDevice) Type

type ClearSystemEventLogRequest

type ClearSystemEventLogRequest struct {
	Authn  *Authn  `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	Vendor *Vendor `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// contains filtered or unexported fields
}

func (*ClearSystemEventLogRequest) Descriptor deprecated

func (*ClearSystemEventLogRequest) Descriptor() ([]byte, []int)

Deprecated: Use ClearSystemEventLogRequest.ProtoReflect.Descriptor instead.

func (*ClearSystemEventLogRequest) GetAuthn

func (x *ClearSystemEventLogRequest) GetAuthn() *Authn

func (*ClearSystemEventLogRequest) GetVendor

func (x *ClearSystemEventLogRequest) GetVendor() *Vendor

func (*ClearSystemEventLogRequest) ProtoMessage

func (*ClearSystemEventLogRequest) ProtoMessage()

func (*ClearSystemEventLogRequest) ProtoReflect

func (*ClearSystemEventLogRequest) Reset

func (x *ClearSystemEventLogRequest) Reset()

func (*ClearSystemEventLogRequest) String

func (x *ClearSystemEventLogRequest) String() string

func (*ClearSystemEventLogRequest) Validate

func (this *ClearSystemEventLogRequest) Validate() error

type ClearSystemEventLogResponse

type ClearSystemEventLogResponse struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ClearSystemEventLogResponse) Descriptor deprecated

func (*ClearSystemEventLogResponse) Descriptor() ([]byte, []int)

Deprecated: Use ClearSystemEventLogResponse.ProtoReflect.Descriptor instead.

func (*ClearSystemEventLogResponse) GetTaskId

func (x *ClearSystemEventLogResponse) GetTaskId() string

func (*ClearSystemEventLogResponse) ProtoMessage

func (*ClearSystemEventLogResponse) ProtoMessage()

func (*ClearSystemEventLogResponse) ProtoReflect

func (*ClearSystemEventLogResponse) Reset

func (x *ClearSystemEventLogResponse) Reset()

func (*ClearSystemEventLogResponse) String

func (x *ClearSystemEventLogResponse) String() string

func (*ClearSystemEventLogResponse) Validate

func (this *ClearSystemEventLogResponse) Validate() error

type Code

type Code int32

The canonical error codes for gRPC APIs. https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto

Sometimes multiple error codes may apply. Services should return the most specific error code that applies. For example, prefer `OUT_OF_RANGE` over `FAILED_PRECONDITION` if both codes apply. Similarly prefer `NOT_FOUND` or `ALREADY_EXISTS` over `FAILED_PRECONDITION`.

const (
	// Not an error; returned on success
	//
	// HTTP Mapping: 200 OK
	Code_OK Code = 0
	// The operation was cancelled, typically by the caller.
	//
	// HTTP Mapping: 499 Client Closed Request
	Code_CANCELLED Code = 1
	// Unknown error.  For example, this error may be returned when
	// a `Status` value received from another address space belongs to
	// an error space that is not known in this address space.  Also
	// errors raised by APIs that do not return enough error information
	// may be converted to this error.
	//
	// HTTP Mapping: 500 Internal Server Error
	Code_UNKNOWN Code = 2
	// The client specified an invalid argument.  Note that this differs
	// from `FAILED_PRECONDITION`.  `INVALID_ARGUMENT` indicates arguments
	// that are problematic regardless of the state of the system
	// (e.g., a malformed file name).
	//
	// HTTP Mapping: 400 Bad Request
	Code_INVALID_ARGUMENT Code = 3
	// The deadline expired before the operation could complete. For operations
	// that change the state of the system, this error may be returned
	// even if the operation has completed successfully.  For example, a
	// successful response from a server could have been delayed long
	// enough for the deadline to expire.
	//
	// HTTP Mapping: 504 Gateway Timeout
	Code_DEADLINE_EXCEEDED Code = 4
	// Some requested entity (e.g., file or directory) was not found.
	//
	// Note to server developers: if a request is denied for an entire class
	// of users, such as gradual feature rollout or undocumented whitelist,
	// `NOT_FOUND` may be used. If a request is denied for some users within
	// a class of users, such as user-based access control, `PERMISSION_DENIED`
	// must be used.
	//
	// HTTP Mapping: 404 Not Found
	Code_NOT_FOUND Code = 5
	// The entity that a client attempted to create (e.g., file or directory)
	// already exists.
	//
	// HTTP Mapping: 409 Conflict
	Code_ALREADY_EXISTS Code = 6
	// The caller does not have permission to execute the specified
	// operation. `PERMISSION_DENIED` must not be used for rejections
	// caused by exhausting some resource (use `RESOURCE_EXHAUSTED`
	// instead for those errors). `PERMISSION_DENIED` must not be
	// used if the caller can not be identified (use `UNAUTHENTICATED`
	// instead for those errors). This error code does not imply the
	// request is valid or the requested entity exists or satisfies
	// other pre-conditions.
	//
	// HTTP Mapping: 403 Forbidden
	Code_PERMISSION_DENIED Code = 7
	// The request does not have valid authentication credentials for the
	// operation.
	//
	// HTTP Mapping: 401 Unauthorized
	Code_UNAUTHENTICATED Code = 16
	// Some resource has been exhausted, perhaps a per-user quota, or
	// perhaps the entire file system is out of space.
	//
	// HTTP Mapping: 429 Too Many Requests
	Code_RESOURCE_EXHAUSTED Code = 8
	// The operation was rejected because the system is not in a state
	// required for the operation's execution.  For example, the directory
	// to be deleted is non-empty, an rmdir operation is applied to
	// a non-directory, etc.
	//
	// Service implementors can use the following guidelines to decide
	// between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`:
	//
	//	(a) Use `UNAVAILABLE` if the client can retry just the failing call.
	//	(b) Use `ABORTED` if the client should retry at a higher level
	//	    (e.g., when a client-specified test-and-set fails, indicating the
	//	    client should restart a read-modify-write sequence).
	//	(c) Use `FAILED_PRECONDITION` if the client should not retry until
	//	    the system state has been explicitly fixed.  E.g., if an "rmdir"
	//	    fails because the directory is non-empty, `FAILED_PRECONDITION`
	//	    should be returned since the client should not retry unless
	//	    the files are deleted from the directory.
	//
	// HTTP Mapping: 400 Bad Request
	Code_FAILED_PRECONDITION Code = 9
	// The operation was aborted, typically due to a concurrency issue such as
	// a sequencer check failure or transaction abort.
	//
	// See the guidelines above for deciding between `FAILED_PRECONDITION`,
	// `ABORTED`, and `UNAVAILABLE`.
	//
	// HTTP Mapping: 409 Conflict
	Code_ABORTED Code = 10
	// The operation was attempted past the valid range.  E.g., seeking or
	// reading past end-of-file.
	//
	// Unlike `INVALID_ARGUMENT`, this error indicates a problem that may
	// be fixed if the system state changes. For example, a 32-bit file
	// system will generate `INVALID_ARGUMENT` if asked to read at an
	// offset that is not in the range [0,2^32-1], but it will generate
	// `OUT_OF_RANGE` if asked to read from an offset past the current
	// file size.
	//
	// There is a fair bit of overlap between `FAILED_PRECONDITION` and
	// `OUT_OF_RANGE`.  We recommend using `OUT_OF_RANGE` (the more specific
	// error) when it applies so that callers who are iterating through
	// a space can easily look for an `OUT_OF_RANGE` error to detect when
	// they are done.
	//
	// HTTP Mapping: 400 Bad Request
	Code_OUT_OF_RANGE Code = 11
	// The operation is not implemented or is not supported/enabled in this
	// service.
	//
	// HTTP Mapping: 501 Not Implemented
	Code_UNIMPLEMENTED Code = 12
	// Internal errors.  This means that some invariants expected by the
	// underlying system have been broken.  This error code is reserved
	// for serious errors.
	//
	// HTTP Mapping: 500 Internal Server Error
	Code_INTERNAL Code = 13
	// The service is currently unavailable.  This is most likely a
	// transient condition, which can be corrected by retrying with
	// a backoff. Note that it is not always safe to retry
	// non-idempotent operations.
	//
	// See the guidelines above for deciding between `FAILED_PRECONDITION`,
	// `ABORTED`, and `UNAVAILABLE`.
	//
	// HTTP Mapping: 503 Service Unavailable
	Code_UNAVAILABLE Code = 14
	// Unrecoverable data loss or corruption.
	//
	// HTTP Mapping: 500 Internal Server Error
	Code_DATA_LOSS Code = 15
)

func (Code) Descriptor

func (Code) Descriptor() protoreflect.EnumDescriptor

func (Code) Enum

func (x Code) Enum() *Code

func (Code) EnumDescriptor deprecated

func (Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use Code.Descriptor instead.

func (Code) Number

func (x Code) Number() protoreflect.EnumNumber

func (Code) String

func (x Code) String() string

func (Code) Type

func (Code) Type() protoreflect.EnumType

type CreateUserRequest

type CreateUserRequest struct {
	Authn     *Authn     `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	Vendor    *Vendor    `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	UserCreds *UserCreds `protobuf:"bytes,3,opt,name=user_creds,json=userCreds,proto3" json:"user_creds,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

func (*CreateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetAuthn

func (x *CreateUserRequest) GetAuthn() *Authn

func (*CreateUserRequest) GetUserCreds

func (x *CreateUserRequest) GetUserCreds() *UserCreds

func (*CreateUserRequest) GetVendor

func (x *CreateUserRequest) GetVendor() *Vendor

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

func (x *CreateUserRequest) ProtoReflect() protoreflect.Message

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

func (*CreateUserRequest) Validate

func (this *CreateUserRequest) Validate() error

type CreateUserResponse

type CreateUserResponse struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated

func (*CreateUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetTaskId

func (x *CreateUserResponse) GetTaskId() string

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

func (x *CreateUserResponse) ProtoReflect() protoreflect.Message

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

func (*CreateUserResponse) Validate

func (this *CreateUserResponse) Validate() error

type DeactivateSOLRequest

type DeactivateSOLRequest struct {
	Authn  *Authn  `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	Vendor *Vendor `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// contains filtered or unexported fields
}

func (*DeactivateSOLRequest) Descriptor deprecated

func (*DeactivateSOLRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeactivateSOLRequest.ProtoReflect.Descriptor instead.

func (*DeactivateSOLRequest) GetAuthn

func (x *DeactivateSOLRequest) GetAuthn() *Authn

func (*DeactivateSOLRequest) GetVendor

func (x *DeactivateSOLRequest) GetVendor() *Vendor

func (*DeactivateSOLRequest) ProtoMessage

func (*DeactivateSOLRequest) ProtoMessage()

func (*DeactivateSOLRequest) ProtoReflect

func (x *DeactivateSOLRequest) ProtoReflect() protoreflect.Message

func (*DeactivateSOLRequest) Reset

func (x *DeactivateSOLRequest) Reset()

func (*DeactivateSOLRequest) String

func (x *DeactivateSOLRequest) String() string

func (*DeactivateSOLRequest) Validate

func (this *DeactivateSOLRequest) Validate() error

type DeactivateSOLResponse

type DeactivateSOLResponse struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeactivateSOLResponse) Descriptor deprecated

func (*DeactivateSOLResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeactivateSOLResponse.ProtoReflect.Descriptor instead.

func (*DeactivateSOLResponse) GetTaskId

func (x *DeactivateSOLResponse) GetTaskId() string

func (*DeactivateSOLResponse) ProtoMessage

func (*DeactivateSOLResponse) ProtoMessage()

func (*DeactivateSOLResponse) ProtoReflect

func (x *DeactivateSOLResponse) ProtoReflect() protoreflect.Message

func (*DeactivateSOLResponse) Reset

func (x *DeactivateSOLResponse) Reset()

func (*DeactivateSOLResponse) String

func (x *DeactivateSOLResponse) String() string

func (*DeactivateSOLResponse) Validate

func (this *DeactivateSOLResponse) Validate() error

type DeleteUserRequest

type DeleteUserRequest struct {
	Authn    *Authn  `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	Vendor   *Vendor `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	Username string  `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetAuthn

func (x *DeleteUserRequest) GetAuthn() *Authn

func (*DeleteUserRequest) GetUsername

func (x *DeleteUserRequest) GetUsername() string

func (*DeleteUserRequest) GetVendor

func (x *DeleteUserRequest) GetVendor() *Vendor

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

func (*DeleteUserRequest) Validate

func (this *DeleteUserRequest) Validate() error

type DeleteUserResponse

type DeleteUserResponse struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserResponse) Descriptor deprecated

func (*DeleteUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) GetTaskId

func (x *DeleteUserResponse) GetTaskId() string

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

func (*DeleteUserResponse) Validate

func (this *DeleteUserResponse) Validate() error

type DeviceRequest

type DeviceRequest struct {
	Authn      *Authn     `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	Vendor     *Vendor    `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	BootDevice BootDevice `` /* 142-byte string literal not displayed */
	Persistent bool       `protobuf:"varint,4,opt,name=persistent,proto3" json:"persistent,omitempty"`
	EfiBoot    bool       `protobuf:"varint,5,opt,name=efi_boot,json=efiBoot,proto3" json:"efi_boot,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceRequest) Descriptor deprecated

func (*DeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeviceRequest.ProtoReflect.Descriptor instead.

func (*DeviceRequest) GetAuthn

func (x *DeviceRequest) GetAuthn() *Authn

func (*DeviceRequest) GetBootDevice

func (x *DeviceRequest) GetBootDevice() BootDevice

func (*DeviceRequest) GetEfiBoot

func (x *DeviceRequest) GetEfiBoot() bool

func (*DeviceRequest) GetPersistent

func (x *DeviceRequest) GetPersistent() bool

func (*DeviceRequest) GetVendor

func (x *DeviceRequest) GetVendor() *Vendor

func (*DeviceRequest) ProtoMessage

func (*DeviceRequest) ProtoMessage()

func (*DeviceRequest) ProtoReflect

func (x *DeviceRequest) ProtoReflect() protoreflect.Message

func (*DeviceRequest) Reset

func (x *DeviceRequest) Reset()

func (*DeviceRequest) String

func (x *DeviceRequest) String() string

func (*DeviceRequest) Validate

func (this *DeviceRequest) Validate() error

type DeviceResponse

type DeviceResponse struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceResponse) Descriptor deprecated

func (*DeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeviceResponse.ProtoReflect.Descriptor instead.

func (*DeviceResponse) GetTaskId

func (x *DeviceResponse) GetTaskId() string

func (*DeviceResponse) ProtoMessage

func (*DeviceResponse) ProtoMessage()

func (*DeviceResponse) ProtoReflect

func (x *DeviceResponse) ProtoReflect() protoreflect.Message

func (*DeviceResponse) Reset

func (x *DeviceResponse) Reset()

func (*DeviceResponse) String

func (x *DeviceResponse) String() string

func (*DeviceResponse) Validate

func (this *DeviceResponse) Validate() error

type DiagnosticClient

type DiagnosticClient interface {
	Screenshot(ctx context.Context, in *ScreenshotRequest, opts ...grpc.CallOption) (*ScreenshotResponse, error)
	ClearSystemEventLog(ctx context.Context, in *ClearSystemEventLogRequest, opts ...grpc.CallOption) (*ClearSystemEventLogResponse, error)
	SendNMI(ctx context.Context, in *SendNMIRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

DiagnosticClient is the client API for Diagnostic service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewDiagnosticClient

func NewDiagnosticClient(cc grpc.ClientConnInterface) DiagnosticClient

type DiagnosticServer

type DiagnosticServer interface {
	Screenshot(context.Context, *ScreenshotRequest) (*ScreenshotResponse, error)
	ClearSystemEventLog(context.Context, *ClearSystemEventLogRequest) (*ClearSystemEventLogResponse, error)
	SendNMI(context.Context, *SendNMIRequest) (*emptypb.Empty, error)
	// contains filtered or unexported methods
}

DiagnosticServer is the server API for Diagnostic service. All implementations must embed UnimplementedDiagnosticServer for forward compatibility

type DirectAuthn

type DirectAuthn struct {
	Host     *Host  `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*DirectAuthn) Descriptor deprecated

func (*DirectAuthn) Descriptor() ([]byte, []int)

Deprecated: Use DirectAuthn.ProtoReflect.Descriptor instead.

func (*DirectAuthn) GetHost

func (x *DirectAuthn) GetHost() *Host

func (*DirectAuthn) GetPassword

func (x *DirectAuthn) GetPassword() string

func (*DirectAuthn) GetUsername

func (x *DirectAuthn) GetUsername() string

func (*DirectAuthn) ProtoMessage

func (*DirectAuthn) ProtoMessage()

func (*DirectAuthn) ProtoReflect

func (x *DirectAuthn) ProtoReflect() protoreflect.Message

func (*DirectAuthn) Reset

func (x *DirectAuthn) Reset()

func (*DirectAuthn) String

func (x *DirectAuthn) String() string

func (*DirectAuthn) Validate

func (this *DirectAuthn) Validate() error

type Error

type Error struct {

	// A simple error code that can be easily handled by the client. The
	// actual error code is defined by `google.rpc.Code`.
	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// A developer-facing human-readable error message in English. It should
	// both explain the error and offer an actionable resolution to it.
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Additional error information that the client code can use to handle
	// the error, such as retry delay or a help link.
	Details []string `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

func (*Error) Descriptor() ([]byte, []int)

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode

func (x *Error) GetCode() int32

func (*Error) GetDetails

func (x *Error) GetDetails() []string

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

func (*Error) Validate

func (this *Error) Validate() error

type ExternalAuthn

type ExternalAuthn struct {
	Host *Host `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalAuthn) Descriptor deprecated

func (*ExternalAuthn) Descriptor() ([]byte, []int)

Deprecated: Use ExternalAuthn.ProtoReflect.Descriptor instead.

func (*ExternalAuthn) GetHost

func (x *ExternalAuthn) GetHost() *Host

func (*ExternalAuthn) ProtoMessage

func (*ExternalAuthn) ProtoMessage()

func (*ExternalAuthn) ProtoReflect

func (x *ExternalAuthn) ProtoReflect() protoreflect.Message

func (*ExternalAuthn) Reset

func (x *ExternalAuthn) Reset()

func (*ExternalAuthn) String

func (x *ExternalAuthn) String() string

func (*ExternalAuthn) Validate

func (this *ExternalAuthn) Validate() error

type Host

type Host struct {
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*Host) Descriptor deprecated

func (*Host) Descriptor() ([]byte, []int)

Deprecated: Use Host.ProtoReflect.Descriptor instead.

func (*Host) GetHost

func (x *Host) GetHost() string

func (*Host) ProtoMessage

func (*Host) ProtoMessage()

func (*Host) ProtoReflect

func (x *Host) ProtoReflect() protoreflect.Message

func (*Host) Reset

func (x *Host) Reset()

func (*Host) String

func (x *Host) String() string

func (*Host) Validate

func (this *Host) Validate() error

type MachineClient

type MachineClient interface {
	BootDevice(ctx context.Context, in *DeviceRequest, opts ...grpc.CallOption) (*DeviceResponse, error)
	Power(ctx context.Context, in *PowerRequest, opts ...grpc.CallOption) (*PowerResponse, error)
}

MachineClient is the client API for Machine service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewMachineClient

func NewMachineClient(cc grpc.ClientConnInterface) MachineClient

type MachineServer

type MachineServer interface {
	BootDevice(context.Context, *DeviceRequest) (*DeviceResponse, error)
	Power(context.Context, *PowerRequest) (*PowerResponse, error)
	// contains filtered or unexported methods
}

MachineServer is the server API for Machine service. All implementations must embed UnimplementedMachineServer for forward compatibility

type NetworkSource

type NetworkSource int32
const (
	NetworkSource_NETWORK_SOURCE_UNSPECIFIED NetworkSource = 0
	NetworkSource_NETWORK_SOURCE_DHCP        NetworkSource = 1
	NetworkSource_NETWORK_SOURCE_STATIC      NetworkSource = 2
)

func (NetworkSource) Descriptor

func (NetworkSource) Enum

func (x NetworkSource) Enum() *NetworkSource

func (NetworkSource) EnumDescriptor deprecated

func (NetworkSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use NetworkSource.Descriptor instead.

func (NetworkSource) Number

func (NetworkSource) String

func (x NetworkSource) String() string

func (NetworkSource) Type

type NetworkSourceRequest

type NetworkSourceRequest struct {
	Authn         *Authn        `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	Vendor        *Vendor       `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	NetworkSource NetworkSource `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NetworkSourceRequest) Descriptor deprecated

func (*NetworkSourceRequest) Descriptor() ([]byte, []int)

Deprecated: Use NetworkSourceRequest.ProtoReflect.Descriptor instead.

func (*NetworkSourceRequest) GetAuthn

func (x *NetworkSourceRequest) GetAuthn() *Authn

func (*NetworkSourceRequest) GetNetworkSource

func (x *NetworkSourceRequest) GetNetworkSource() NetworkSource

func (*NetworkSourceRequest) GetVendor

func (x *NetworkSourceRequest) GetVendor() *Vendor

func (*NetworkSourceRequest) ProtoMessage

func (*NetworkSourceRequest) ProtoMessage()

func (*NetworkSourceRequest) ProtoReflect

func (x *NetworkSourceRequest) ProtoReflect() protoreflect.Message

func (*NetworkSourceRequest) Reset

func (x *NetworkSourceRequest) Reset()

func (*NetworkSourceRequest) String

func (x *NetworkSourceRequest) String() string

func (*NetworkSourceRequest) Validate

func (this *NetworkSourceRequest) Validate() error

type NetworkSourceResponse

type NetworkSourceResponse struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkSourceResponse) Descriptor deprecated

func (*NetworkSourceResponse) Descriptor() ([]byte, []int)

Deprecated: Use NetworkSourceResponse.ProtoReflect.Descriptor instead.

func (*NetworkSourceResponse) GetTaskId

func (x *NetworkSourceResponse) GetTaskId() string

func (*NetworkSourceResponse) ProtoMessage

func (*NetworkSourceResponse) ProtoMessage()

func (*NetworkSourceResponse) ProtoReflect

func (x *NetworkSourceResponse) ProtoReflect() protoreflect.Message

func (*NetworkSourceResponse) Reset

func (x *NetworkSourceResponse) Reset()

func (*NetworkSourceResponse) String

func (x *NetworkSourceResponse) String() string

func (*NetworkSourceResponse) Validate

func (this *NetworkSourceResponse) Validate() error

type PowerAction

type PowerAction int32
const (
	PowerAction_POWER_ACTION_UNSPECIFIED PowerAction = 0
	PowerAction_POWER_ACTION_ON          PowerAction = 1
	PowerAction_POWER_ACTION_OFF         PowerAction = 2
	PowerAction_POWER_ACTION_HARDOFF     PowerAction = 3
	PowerAction_POWER_ACTION_CYCLE       PowerAction = 4
	PowerAction_POWER_ACTION_RESET       PowerAction = 5
	PowerAction_POWER_ACTION_STATUS      PowerAction = 6
)

func (PowerAction) Descriptor

func (PowerAction) Enum

func (x PowerAction) Enum() *PowerAction

func (PowerAction) EnumDescriptor deprecated

func (PowerAction) EnumDescriptor() ([]byte, []int)

Deprecated: Use PowerAction.Descriptor instead.

func (PowerAction) Number

func (x PowerAction) Number() protoreflect.EnumNumber

func (PowerAction) String

func (x PowerAction) String() string

func (PowerAction) Type

type PowerRequest

type PowerRequest struct {
	Authn       *Authn      `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	Vendor      *Vendor     `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	PowerAction PowerAction `` /* 146-byte string literal not displayed */
	SoftTimeout int32       `protobuf:"varint,4,opt,name=soft_timeout,json=softTimeout,proto3" json:"soft_timeout,omitempty"`
	OffDuration int32       `protobuf:"varint,5,opt,name=off_duration,json=offDuration,proto3" json:"off_duration,omitempty"`
	// contains filtered or unexported fields
}

func (*PowerRequest) Descriptor deprecated

func (*PowerRequest) Descriptor() ([]byte, []int)

Deprecated: Use PowerRequest.ProtoReflect.Descriptor instead.

func (*PowerRequest) GetAuthn

func (x *PowerRequest) GetAuthn() *Authn

func (*PowerRequest) GetOffDuration

func (x *PowerRequest) GetOffDuration() int32

func (*PowerRequest) GetPowerAction

func (x *PowerRequest) GetPowerAction() PowerAction

func (*PowerRequest) GetSoftTimeout

func (x *PowerRequest) GetSoftTimeout() int32

func (*PowerRequest) GetVendor

func (x *PowerRequest) GetVendor() *Vendor

func (*PowerRequest) ProtoMessage

func (*PowerRequest) ProtoMessage()

func (*PowerRequest) ProtoReflect

func (x *PowerRequest) ProtoReflect() protoreflect.Message

func (*PowerRequest) Reset

func (x *PowerRequest) Reset()

func (*PowerRequest) String

func (x *PowerRequest) String() string

func (*PowerRequest) Validate

func (this *PowerRequest) Validate() error

type PowerResponse

type PowerResponse struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PowerResponse) Descriptor deprecated

func (*PowerResponse) Descriptor() ([]byte, []int)

Deprecated: Use PowerResponse.ProtoReflect.Descriptor instead.

func (*PowerResponse) GetTaskId

func (x *PowerResponse) GetTaskId() string

func (*PowerResponse) ProtoMessage

func (*PowerResponse) ProtoMessage()

func (*PowerResponse) ProtoReflect

func (x *PowerResponse) ProtoReflect() protoreflect.Message

func (*PowerResponse) Reset

func (x *PowerResponse) Reset()

func (*PowerResponse) String

func (x *PowerResponse) String() string

func (*PowerResponse) Validate

func (this *PowerResponse) Validate() error

type ResetKind

type ResetKind int32
const (
	ResetKind_RESET_KIND_UNSPECIFIED ResetKind = 0
	ResetKind_RESET_KIND_COLD        ResetKind = 1
	ResetKind_RESET_KIND_WARM        ResetKind = 2
)

func (ResetKind) Descriptor

func (ResetKind) Descriptor() protoreflect.EnumDescriptor

func (ResetKind) Enum

func (x ResetKind) Enum() *ResetKind

func (ResetKind) EnumDescriptor deprecated

func (ResetKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResetKind.Descriptor instead.

func (ResetKind) Number

func (x ResetKind) Number() protoreflect.EnumNumber

func (ResetKind) String

func (x ResetKind) String() string

func (ResetKind) Type

type ResetRequest

type ResetRequest struct {
	Authn     *Authn    `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	Vendor    *Vendor   `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	ResetKind ResetKind `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ResetRequest) Descriptor deprecated

func (*ResetRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetRequest.ProtoReflect.Descriptor instead.

func (*ResetRequest) GetAuthn

func (x *ResetRequest) GetAuthn() *Authn

func (*ResetRequest) GetResetKind

func (x *ResetRequest) GetResetKind() ResetKind

func (*ResetRequest) GetVendor

func (x *ResetRequest) GetVendor() *Vendor

func (*ResetRequest) ProtoMessage

func (*ResetRequest) ProtoMessage()

func (*ResetRequest) ProtoReflect

func (x *ResetRequest) ProtoReflect() protoreflect.Message

func (*ResetRequest) Reset

func (x *ResetRequest) Reset()

func (*ResetRequest) String

func (x *ResetRequest) String() string

func (*ResetRequest) Validate

func (this *ResetRequest) Validate() error

type ResetResponse

type ResetResponse struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetResponse) Descriptor deprecated

func (*ResetResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetResponse.ProtoReflect.Descriptor instead.

func (*ResetResponse) GetTaskId

func (x *ResetResponse) GetTaskId() string

func (*ResetResponse) ProtoMessage

func (*ResetResponse) ProtoMessage()

func (*ResetResponse) ProtoReflect

func (x *ResetResponse) ProtoReflect() protoreflect.Message

func (*ResetResponse) Reset

func (x *ResetResponse) Reset()

func (*ResetResponse) String

func (x *ResetResponse) String() string

func (*ResetResponse) Validate

func (this *ResetResponse) Validate() error

type ScreenshotRequest

type ScreenshotRequest struct {
	Authn  *Authn  `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	Vendor *Vendor `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	// contains filtered or unexported fields
}

func (*ScreenshotRequest) Descriptor deprecated

func (*ScreenshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use ScreenshotRequest.ProtoReflect.Descriptor instead.

func (*ScreenshotRequest) GetAuthn

func (x *ScreenshotRequest) GetAuthn() *Authn

func (*ScreenshotRequest) GetVendor

func (x *ScreenshotRequest) GetVendor() *Vendor

func (*ScreenshotRequest) ProtoMessage

func (*ScreenshotRequest) ProtoMessage()

func (*ScreenshotRequest) ProtoReflect

func (x *ScreenshotRequest) ProtoReflect() protoreflect.Message

func (*ScreenshotRequest) Reset

func (x *ScreenshotRequest) Reset()

func (*ScreenshotRequest) String

func (x *ScreenshotRequest) String() string

func (*ScreenshotRequest) Validate

func (this *ScreenshotRequest) Validate() error

type ScreenshotResponse

type ScreenshotResponse struct {
	Image    []byte `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Filetype string `protobuf:"bytes,2,opt,name=filetype,proto3" json:"filetype,omitempty"`
	// contains filtered or unexported fields
}

func (*ScreenshotResponse) Descriptor deprecated

func (*ScreenshotResponse) Descriptor() ([]byte, []int)

Deprecated: Use ScreenshotResponse.ProtoReflect.Descriptor instead.

func (*ScreenshotResponse) GetFiletype

func (x *ScreenshotResponse) GetFiletype() string

func (*ScreenshotResponse) GetImage

func (x *ScreenshotResponse) GetImage() []byte

func (*ScreenshotResponse) ProtoMessage

func (*ScreenshotResponse) ProtoMessage()

func (*ScreenshotResponse) ProtoReflect

func (x *ScreenshotResponse) ProtoReflect() protoreflect.Message

func (*ScreenshotResponse) Reset

func (x *ScreenshotResponse) Reset()

func (*ScreenshotResponse) String

func (x *ScreenshotResponse) String() string

func (*ScreenshotResponse) Validate

func (this *ScreenshotResponse) Validate() error

type SendNMIRequest

type SendNMIRequest struct {
	Authn *Authn `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	// contains filtered or unexported fields
}

func (*SendNMIRequest) Descriptor deprecated

func (*SendNMIRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendNMIRequest.ProtoReflect.Descriptor instead.

func (*SendNMIRequest) GetAuthn

func (x *SendNMIRequest) GetAuthn() *Authn

func (*SendNMIRequest) ProtoMessage

func (*SendNMIRequest) ProtoMessage()

func (*SendNMIRequest) ProtoReflect

func (x *SendNMIRequest) ProtoReflect() protoreflect.Message

func (*SendNMIRequest) Reset

func (x *SendNMIRequest) Reset()

func (*SendNMIRequest) String

func (x *SendNMIRequest) String() string

func (*SendNMIRequest) Validate

func (this *SendNMIRequest) Validate() error

type StatusRequest

type StatusRequest struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusRequest) Descriptor deprecated

func (*StatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.

func (*StatusRequest) GetTaskId

func (x *StatusRequest) GetTaskId() string

func (*StatusRequest) ProtoMessage

func (*StatusRequest) ProtoMessage()

func (*StatusRequest) ProtoReflect

func (x *StatusRequest) ProtoReflect() protoreflect.Message

func (*StatusRequest) Reset

func (x *StatusRequest) Reset()

func (*StatusRequest) String

func (x *StatusRequest) String() string

func (*StatusRequest) Validate

func (this *StatusRequest) Validate() error

type StatusResponse

type StatusResponse struct {
	Id          string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Description string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Error       *Error   `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	State       string   `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	Result      string   `protobuf:"bytes,5,opt,name=result,proto3" json:"result,omitempty"`
	Complete    bool     `protobuf:"varint,6,opt,name=complete,proto3" json:"complete,omitempty"`
	Messages    []string `protobuf:"bytes,7,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*StatusResponse) Descriptor deprecated

func (*StatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use StatusResponse.ProtoReflect.Descriptor instead.

func (*StatusResponse) GetComplete

func (x *StatusResponse) GetComplete() bool

func (*StatusResponse) GetDescription

func (x *StatusResponse) GetDescription() string

func (*StatusResponse) GetError

func (x *StatusResponse) GetError() *Error

func (*StatusResponse) GetId

func (x *StatusResponse) GetId() string

func (*StatusResponse) GetMessages

func (x *StatusResponse) GetMessages() []string

func (*StatusResponse) GetResult

func (x *StatusResponse) GetResult() string

func (*StatusResponse) GetState

func (x *StatusResponse) GetState() string

func (*StatusResponse) ProtoMessage

func (*StatusResponse) ProtoMessage()

func (*StatusResponse) ProtoReflect

func (x *StatusResponse) ProtoReflect() protoreflect.Message

func (*StatusResponse) Reset

func (x *StatusResponse) Reset()

func (*StatusResponse) String

func (x *StatusResponse) String() string

func (*StatusResponse) Validate

func (this *StatusResponse) Validate() error

type TaskClient

type TaskClient interface {
	Status(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error)
}

TaskClient is the client API for Task service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewTaskClient

func NewTaskClient(cc grpc.ClientConnInterface) TaskClient

type TaskServer

type TaskServer interface {
	Status(context.Context, *StatusRequest) (*StatusResponse, error)
	// contains filtered or unexported methods
}

TaskServer is the server API for Task service. All implementations must embed UnimplementedTaskServer for forward compatibility

type UnimplementedBMCServer

type UnimplementedBMCServer struct {
}

UnimplementedBMCServer must be embedded to have forward compatible implementations.

func (UnimplementedBMCServer) CreateUser

func (UnimplementedBMCServer) DeactivateSOL

func (UnimplementedBMCServer) DeleteUser

func (UnimplementedBMCServer) NetworkSource

func (UnimplementedBMCServer) Reset

func (UnimplementedBMCServer) UpdateUser

type UnimplementedDiagnosticServer

type UnimplementedDiagnosticServer struct {
}

UnimplementedDiagnosticServer must be embedded to have forward compatible implementations.

func (UnimplementedDiagnosticServer) Screenshot

func (UnimplementedDiagnosticServer) SendNMI

type UnimplementedMachineServer

type UnimplementedMachineServer struct {
}

UnimplementedMachineServer must be embedded to have forward compatible implementations.

func (UnimplementedMachineServer) BootDevice

func (UnimplementedMachineServer) Power

type UnimplementedTaskServer

type UnimplementedTaskServer struct {
}

UnimplementedTaskServer must be embedded to have forward compatible implementations.

func (UnimplementedTaskServer) Status

type UnsafeBMCServer

type UnsafeBMCServer interface {
	// contains filtered or unexported methods
}

UnsafeBMCServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BMCServer will result in compilation errors.

type UnsafeDiagnosticServer

type UnsafeDiagnosticServer interface {
	// contains filtered or unexported methods
}

UnsafeDiagnosticServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DiagnosticServer will result in compilation errors.

type UnsafeMachineServer

type UnsafeMachineServer interface {
	// contains filtered or unexported methods
}

UnsafeMachineServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MachineServer will result in compilation errors.

type UnsafeTaskServer

type UnsafeTaskServer interface {
	// contains filtered or unexported methods
}

UnsafeTaskServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TaskServer will result in compilation errors.

type UpdateUserRequest

type UpdateUserRequest struct {
	Authn     *Authn     `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"`
	Vendor    *Vendor    `protobuf:"bytes,2,opt,name=vendor,proto3" json:"vendor,omitempty"`
	UserCreds *UserCreds `protobuf:"bytes,3,opt,name=user_creds,json=userCreds,proto3" json:"user_creds,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

func (*UpdateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetAuthn

func (x *UpdateUserRequest) GetAuthn() *Authn

func (*UpdateUserRequest) GetUserCreds

func (x *UpdateUserRequest) GetUserCreds() *UserCreds

func (*UpdateUserRequest) GetVendor

func (x *UpdateUserRequest) GetVendor() *Vendor

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

func (*UpdateUserRequest) Validate

func (this *UpdateUserRequest) Validate() error

type UpdateUserResponse

type UpdateUserResponse struct {
	TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserResponse) Descriptor deprecated

func (*UpdateUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserResponse) GetTaskId

func (x *UpdateUserResponse) GetTaskId() string

func (*UpdateUserResponse) ProtoMessage

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) ProtoReflect

func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message

func (*UpdateUserResponse) Reset

func (x *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String

func (x *UpdateUserResponse) String() string

func (*UpdateUserResponse) Validate

func (this *UpdateUserResponse) Validate() error

type UserCreds

type UserCreds struct {
	Username string   `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	UserRole UserRole `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UserCreds) Descriptor deprecated

func (*UserCreds) Descriptor() ([]byte, []int)

Deprecated: Use UserCreds.ProtoReflect.Descriptor instead.

func (*UserCreds) GetPassword

func (x *UserCreds) GetPassword() string

func (*UserCreds) GetUserRole

func (x *UserCreds) GetUserRole() UserRole

func (*UserCreds) GetUsername

func (x *UserCreds) GetUsername() string

func (*UserCreds) ProtoMessage

func (*UserCreds) ProtoMessage()

func (*UserCreds) ProtoReflect

func (x *UserCreds) ProtoReflect() protoreflect.Message

func (*UserCreds) Reset

func (x *UserCreds) Reset()

func (*UserCreds) String

func (x *UserCreds) String() string

func (*UserCreds) Validate

func (this *UserCreds) Validate() error

type UserRole

type UserRole int32
const (
	UserRole_USER_ROLE_UNSPECIFIED UserRole = 0
	UserRole_USER_ROLE_ADMIN       UserRole = 1
	UserRole_USER_ROLE_USER        UserRole = 2
)

func (UserRole) Descriptor

func (UserRole) Descriptor() protoreflect.EnumDescriptor

func (UserRole) Enum

func (x UserRole) Enum() *UserRole

func (UserRole) EnumDescriptor deprecated

func (UserRole) EnumDescriptor() ([]byte, []int)

Deprecated: Use UserRole.Descriptor instead.

func (UserRole) Number

func (x UserRole) Number() protoreflect.EnumNumber

func (UserRole) String

func (x UserRole) String() string

func (UserRole) Type

type Vendor

type Vendor struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Vendor) Descriptor deprecated

func (*Vendor) Descriptor() ([]byte, []int)

Deprecated: Use Vendor.ProtoReflect.Descriptor instead.

func (*Vendor) GetName

func (x *Vendor) GetName() string

func (*Vendor) ProtoMessage

func (*Vendor) ProtoMessage()

func (*Vendor) ProtoReflect

func (x *Vendor) ProtoReflect() protoreflect.Message

func (*Vendor) Reset

func (x *Vendor) Reset()

func (*Vendor) String

func (x *Vendor) String() string

func (*Vendor) Validate

func (this *Vendor) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL