os

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InstallError_Type_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "INCOMPATIBLE",
		2: "TOO_LARGE",
		3: "PARSE_FAIL",
		4: "INTEGRITY_FAIL",
		5: "INSTALL_RUN_PACKAGE",
		6: "INSTALL_IN_PROGRESS",
		7: "UNEXPECTED_SWITCHOVER",
		8: "SYNC_FAIL",
		9: "NOT_SUPPORTED_ON_BACKUP",
	}
	InstallError_Type_value = map[string]int32{
		"UNSPECIFIED":             0,
		"INCOMPATIBLE":            1,
		"TOO_LARGE":               2,
		"PARSE_FAIL":              3,
		"INTEGRITY_FAIL":          4,
		"INSTALL_RUN_PACKAGE":     5,
		"INSTALL_IN_PROGRESS":     6,
		"UNEXPECTED_SWITCHOVER":   7,
		"SYNC_FAIL":               8,
		"NOT_SUPPORTED_ON_BACKUP": 9,
	}
)

Enum value maps for InstallError_Type.

View Source
var (
	ActivateError_Type_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "NON_EXISTENT_VERSION",
		2: "NOT_SUPPORTED_ON_BACKUP",
	}
	ActivateError_Type_value = map[string]int32{
		"UNSPECIFIED":             0,
		"NON_EXISTENT_VERSION":    1,
		"NOT_SUPPORTED_ON_BACKUP": 2,
	}
)

Enum value maps for ActivateError_Type.

View Source
var (
	StandbyState_State_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "UNSUPPORTED",
		2: "NON_EXISTENT",
		3: "UNAVAILABLE",
	}
	StandbyState_State_value = map[string]int32{
		"UNSPECIFIED":  0,
		"UNSUPPORTED":  1,
		"NON_EXISTENT": 2,
		"UNAVAILABLE":  3,
	}
)

Enum value maps for StandbyState_State.

View Source
var File_os_os_proto protoreflect.FileDescriptor
View Source
var OS_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gnoi.os.OS",
	HandlerType: (*OSServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Activate",
			Handler:    _OS_Activate_Handler,
		},
		{
			MethodName: "Verify",
			Handler:    _OS_Verify_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Install",
			Handler:       _OS_Install_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "os/os.proto",
}

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

Functions

func RegisterOSServer

func RegisterOSServer(s grpc.ServiceRegistrar, srv OSServer)

Types

type ActivateError

type ActivateError struct {
	Type   ActivateError_Type `protobuf:"varint,1,opt,name=type,proto3,enum=gnoi.os.ActivateError_Type" json:"type,omitempty"`
	Detail string             `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateError) Descriptor deprecated

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

Deprecated: Use ActivateError.ProtoReflect.Descriptor instead.

func (*ActivateError) GetDetail

func (x *ActivateError) GetDetail() string

func (*ActivateError) GetType

func (x *ActivateError) GetType() ActivateError_Type

func (*ActivateError) ProtoMessage

func (*ActivateError) ProtoMessage()

func (*ActivateError) ProtoReflect

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

func (*ActivateError) Reset

func (x *ActivateError) Reset()

func (*ActivateError) String

func (x *ActivateError) String() string

type ActivateError_Type

type ActivateError_Type int32
const (
	ActivateError_UNSPECIFIED             ActivateError_Type = 0
	ActivateError_NON_EXISTENT_VERSION    ActivateError_Type = 1
	ActivateError_NOT_SUPPORTED_ON_BACKUP ActivateError_Type = 2
)

func (ActivateError_Type) Descriptor

func (ActivateError_Type) Enum

func (ActivateError_Type) EnumDescriptor deprecated

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

Deprecated: Use ActivateError_Type.Descriptor instead.

func (ActivateError_Type) Number

func (ActivateError_Type) String

func (x ActivateError_Type) String() string

func (ActivateError_Type) Type

type ActivateOK

type ActivateOK struct {
	// contains filtered or unexported fields
}

func (*ActivateOK) Descriptor deprecated

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

Deprecated: Use ActivateOK.ProtoReflect.Descriptor instead.

func (*ActivateOK) ProtoMessage

func (*ActivateOK) ProtoMessage()

func (*ActivateOK) ProtoReflect

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

func (*ActivateOK) Reset

func (x *ActivateOK) Reset()

func (*ActivateOK) String

func (x *ActivateOK) String() string

type ActivateRequest

type ActivateRequest struct {
	Version           string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	StandbySupervisor bool   `protobuf:"varint,2,opt,name=standby_supervisor,json=standbySupervisor,proto3" json:"standby_supervisor,omitempty"`
	NoReboot          bool   `protobuf:"varint,3,opt,name=no_reboot,json=noReboot,proto3" json:"no_reboot,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateRequest) Descriptor deprecated

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

Deprecated: Use ActivateRequest.ProtoReflect.Descriptor instead.

func (*ActivateRequest) GetNoReboot

func (x *ActivateRequest) GetNoReboot() bool

func (*ActivateRequest) GetStandbySupervisor

func (x *ActivateRequest) GetStandbySupervisor() bool

func (*ActivateRequest) GetVersion

func (x *ActivateRequest) GetVersion() string

func (*ActivateRequest) ProtoMessage

func (*ActivateRequest) ProtoMessage()

func (*ActivateRequest) ProtoReflect

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

func (*ActivateRequest) Reset

func (x *ActivateRequest) Reset()

func (*ActivateRequest) String

func (x *ActivateRequest) String() string

type ActivateResponse

type ActivateResponse struct {

	// Types that are assignable to Response:
	//
	//	*ActivateResponse_ActivateOk
	//	*ActivateResponse_ActivateError
	Response isActivateResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*ActivateResponse) Descriptor deprecated

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

Deprecated: Use ActivateResponse.ProtoReflect.Descriptor instead.

func (*ActivateResponse) GetActivateError

func (x *ActivateResponse) GetActivateError() *ActivateError

func (*ActivateResponse) GetActivateOk

func (x *ActivateResponse) GetActivateOk() *ActivateOK

func (*ActivateResponse) GetResponse

func (m *ActivateResponse) GetResponse() isActivateResponse_Response

func (*ActivateResponse) ProtoMessage

func (*ActivateResponse) ProtoMessage()

func (*ActivateResponse) ProtoReflect

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

func (*ActivateResponse) Reset

func (x *ActivateResponse) Reset()

func (*ActivateResponse) String

func (x *ActivateResponse) String() string

type ActivateResponse_ActivateError

type ActivateResponse_ActivateError struct {
	ActivateError *ActivateError `protobuf:"bytes,2,opt,name=activate_error,json=activateError,proto3,oneof"`
}

type ActivateResponse_ActivateOk

type ActivateResponse_ActivateOk struct {
	ActivateOk *ActivateOK `protobuf:"bytes,1,opt,name=activate_ok,json=activateOk,proto3,oneof"`
}

type InstallError

type InstallError struct {
	Type   InstallError_Type `protobuf:"varint,1,opt,name=type,proto3,enum=gnoi.os.InstallError_Type" json:"type,omitempty"`
	Detail string            `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*InstallError) Descriptor deprecated

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

Deprecated: Use InstallError.ProtoReflect.Descriptor instead.

func (*InstallError) GetDetail

func (x *InstallError) GetDetail() string

func (*InstallError) GetType

func (x *InstallError) GetType() InstallError_Type

func (*InstallError) ProtoMessage

func (*InstallError) ProtoMessage()

func (*InstallError) ProtoReflect

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

func (*InstallError) Reset

func (x *InstallError) Reset()

func (*InstallError) String

func (x *InstallError) String() string

type InstallError_Type

type InstallError_Type int32
const (
	InstallError_UNSPECIFIED             InstallError_Type = 0
	InstallError_INCOMPATIBLE            InstallError_Type = 1
	InstallError_TOO_LARGE               InstallError_Type = 2
	InstallError_PARSE_FAIL              InstallError_Type = 3
	InstallError_INTEGRITY_FAIL          InstallError_Type = 4
	InstallError_INSTALL_RUN_PACKAGE     InstallError_Type = 5
	InstallError_INSTALL_IN_PROGRESS     InstallError_Type = 6
	InstallError_UNEXPECTED_SWITCHOVER   InstallError_Type = 7
	InstallError_SYNC_FAIL               InstallError_Type = 8
	InstallError_NOT_SUPPORTED_ON_BACKUP InstallError_Type = 9
)

func (InstallError_Type) Descriptor

func (InstallError_Type) Enum

func (InstallError_Type) EnumDescriptor deprecated

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

Deprecated: Use InstallError_Type.Descriptor instead.

func (InstallError_Type) Number

func (InstallError_Type) String

func (x InstallError_Type) String() string

func (InstallError_Type) Type

type InstallRequest

type InstallRequest struct {

	// Types that are assignable to Request:
	//
	//	*InstallRequest_TransferRequest
	//	*InstallRequest_TransferContent
	//	*InstallRequest_TransferEnd
	Request isInstallRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*InstallRequest) Descriptor deprecated

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

Deprecated: Use InstallRequest.ProtoReflect.Descriptor instead.

func (*InstallRequest) GetRequest

func (m *InstallRequest) GetRequest() isInstallRequest_Request

func (*InstallRequest) GetTransferContent

func (x *InstallRequest) GetTransferContent() []byte

func (*InstallRequest) GetTransferEnd

func (x *InstallRequest) GetTransferEnd() *TransferEnd

func (*InstallRequest) GetTransferRequest

func (x *InstallRequest) GetTransferRequest() *TransferRequest

func (*InstallRequest) ProtoMessage

func (*InstallRequest) ProtoMessage()

func (*InstallRequest) ProtoReflect

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

func (*InstallRequest) Reset

func (x *InstallRequest) Reset()

func (*InstallRequest) String

func (x *InstallRequest) String() string

type InstallRequest_TransferContent

type InstallRequest_TransferContent struct {
	TransferContent []byte `protobuf:"bytes,2,opt,name=transfer_content,json=transferContent,proto3,oneof"`
}

type InstallRequest_TransferEnd

type InstallRequest_TransferEnd struct {
	TransferEnd *TransferEnd `protobuf:"bytes,3,opt,name=transfer_end,json=transferEnd,proto3,oneof"`
}

type InstallRequest_TransferRequest

type InstallRequest_TransferRequest struct {
	TransferRequest *TransferRequest `protobuf:"bytes,1,opt,name=transfer_request,json=transferRequest,proto3,oneof"`
}

type InstallResponse

type InstallResponse struct {

	// Types that are assignable to Response:
	//
	//	*InstallResponse_TransferReady
	//	*InstallResponse_TransferProgress
	//	*InstallResponse_SyncProgress
	//	*InstallResponse_Validated
	//	*InstallResponse_InstallError
	Response isInstallResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*InstallResponse) Descriptor deprecated

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

Deprecated: Use InstallResponse.ProtoReflect.Descriptor instead.

func (*InstallResponse) GetInstallError

func (x *InstallResponse) GetInstallError() *InstallError

func (*InstallResponse) GetResponse

func (m *InstallResponse) GetResponse() isInstallResponse_Response

func (*InstallResponse) GetSyncProgress

func (x *InstallResponse) GetSyncProgress() *SyncProgress

func (*InstallResponse) GetTransferProgress

func (x *InstallResponse) GetTransferProgress() *TransferProgress

func (*InstallResponse) GetTransferReady

func (x *InstallResponse) GetTransferReady() *TransferReady

func (*InstallResponse) GetValidated

func (x *InstallResponse) GetValidated() *Validated

func (*InstallResponse) ProtoMessage

func (*InstallResponse) ProtoMessage()

func (*InstallResponse) ProtoReflect

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

func (*InstallResponse) Reset

func (x *InstallResponse) Reset()

func (*InstallResponse) String

func (x *InstallResponse) String() string

type InstallResponse_InstallError

type InstallResponse_InstallError struct {
	InstallError *InstallError `protobuf:"bytes,5,opt,name=install_error,json=installError,proto3,oneof"`
}

type InstallResponse_SyncProgress

type InstallResponse_SyncProgress struct {
	SyncProgress *SyncProgress `protobuf:"bytes,3,opt,name=sync_progress,json=syncProgress,proto3,oneof"`
}

type InstallResponse_TransferProgress

type InstallResponse_TransferProgress struct {
	TransferProgress *TransferProgress `protobuf:"bytes,2,opt,name=transfer_progress,json=transferProgress,proto3,oneof"`
}

type InstallResponse_TransferReady

type InstallResponse_TransferReady struct {
	TransferReady *TransferReady `protobuf:"bytes,1,opt,name=transfer_ready,json=transferReady,proto3,oneof"`
}

type InstallResponse_Validated

type InstallResponse_Validated struct {
	Validated *Validated `protobuf:"bytes,4,opt,name=validated,proto3,oneof"`
}

type OSClient

type OSClient interface {
	Install(ctx context.Context, opts ...grpc.CallOption) (OS_InstallClient, error)
	Activate(ctx context.Context, in *ActivateRequest, opts ...grpc.CallOption) (*ActivateResponse, error)
	Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*VerifyResponse, error)
}

OSClient is the client API for OS 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 NewOSClient

func NewOSClient(cc grpc.ClientConnInterface) OSClient

type OSServer

type OSServer interface {
	Install(OS_InstallServer) error
	Activate(context.Context, *ActivateRequest) (*ActivateResponse, error)
	Verify(context.Context, *VerifyRequest) (*VerifyResponse, error)
	// contains filtered or unexported methods
}

OSServer is the server API for OS service. All implementations must embed UnimplementedOSServer for forward compatibility

type OS_InstallClient

type OS_InstallClient interface {
	Send(*InstallRequest) error
	Recv() (*InstallResponse, error)
	grpc.ClientStream
}

type OS_InstallServer

type OS_InstallServer interface {
	Send(*InstallResponse) error
	Recv() (*InstallRequest, error)
	grpc.ServerStream
}

type StandbyResponse

type StandbyResponse struct {
	Id                    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Version               string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	ActivationFailMessage string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StandbyResponse) Descriptor deprecated

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

Deprecated: Use StandbyResponse.ProtoReflect.Descriptor instead.

func (*StandbyResponse) GetActivationFailMessage

func (x *StandbyResponse) GetActivationFailMessage() string

func (*StandbyResponse) GetId

func (x *StandbyResponse) GetId() string

func (*StandbyResponse) GetVersion

func (x *StandbyResponse) GetVersion() string

func (*StandbyResponse) ProtoMessage

func (*StandbyResponse) ProtoMessage()

func (*StandbyResponse) ProtoReflect

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

func (*StandbyResponse) Reset

func (x *StandbyResponse) Reset()

func (*StandbyResponse) String

func (x *StandbyResponse) String() string

type StandbyState

type StandbyState struct {
	State StandbyState_State `protobuf:"varint,1,opt,name=state,proto3,enum=gnoi.os.StandbyState_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*StandbyState) Descriptor deprecated

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

Deprecated: Use StandbyState.ProtoReflect.Descriptor instead.

func (*StandbyState) GetState

func (x *StandbyState) GetState() StandbyState_State

func (*StandbyState) ProtoMessage

func (*StandbyState) ProtoMessage()

func (*StandbyState) ProtoReflect

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

func (*StandbyState) Reset

func (x *StandbyState) Reset()

func (*StandbyState) String

func (x *StandbyState) String() string

type StandbyState_State

type StandbyState_State int32
const (
	StandbyState_UNSPECIFIED  StandbyState_State = 0
	StandbyState_UNSUPPORTED  StandbyState_State = 1
	StandbyState_NON_EXISTENT StandbyState_State = 2
	StandbyState_UNAVAILABLE  StandbyState_State = 3
)

func (StandbyState_State) Descriptor

func (StandbyState_State) Enum

func (StandbyState_State) EnumDescriptor deprecated

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

Deprecated: Use StandbyState_State.Descriptor instead.

func (StandbyState_State) Number

func (StandbyState_State) String

func (x StandbyState_State) String() string

func (StandbyState_State) Type

type SyncProgress

type SyncProgress struct {
	PercentageTransferred uint32 `protobuf:"varint,1,opt,name=percentage_transferred,json=percentageTransferred,proto3" json:"percentage_transferred,omitempty"`
	// contains filtered or unexported fields
}

func (*SyncProgress) Descriptor deprecated

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

Deprecated: Use SyncProgress.ProtoReflect.Descriptor instead.

func (*SyncProgress) GetPercentageTransferred

func (x *SyncProgress) GetPercentageTransferred() uint32

func (*SyncProgress) ProtoMessage

func (*SyncProgress) ProtoMessage()

func (*SyncProgress) ProtoReflect

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

func (*SyncProgress) Reset

func (x *SyncProgress) Reset()

func (*SyncProgress) String

func (x *SyncProgress) String() string

type TransferEnd

type TransferEnd struct {
	// contains filtered or unexported fields
}

func (*TransferEnd) Descriptor deprecated

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

Deprecated: Use TransferEnd.ProtoReflect.Descriptor instead.

func (*TransferEnd) ProtoMessage

func (*TransferEnd) ProtoMessage()

func (*TransferEnd) ProtoReflect

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

func (*TransferEnd) Reset

func (x *TransferEnd) Reset()

func (*TransferEnd) String

func (x *TransferEnd) String() string

type TransferProgress

type TransferProgress struct {
	BytesReceived uint64 `protobuf:"varint,1,opt,name=bytes_received,json=bytesReceived,proto3" json:"bytes_received,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferProgress) Descriptor deprecated

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

Deprecated: Use TransferProgress.ProtoReflect.Descriptor instead.

func (*TransferProgress) GetBytesReceived

func (x *TransferProgress) GetBytesReceived() uint64

func (*TransferProgress) ProtoMessage

func (*TransferProgress) ProtoMessage()

func (*TransferProgress) ProtoReflect

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

func (*TransferProgress) Reset

func (x *TransferProgress) Reset()

func (*TransferProgress) String

func (x *TransferProgress) String() string

type TransferReady

type TransferReady struct {
	// contains filtered or unexported fields
}

func (*TransferReady) Descriptor deprecated

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

Deprecated: Use TransferReady.ProtoReflect.Descriptor instead.

func (*TransferReady) ProtoMessage

func (*TransferReady) ProtoMessage()

func (*TransferReady) ProtoReflect

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

func (*TransferReady) Reset

func (x *TransferReady) Reset()

func (*TransferReady) String

func (x *TransferReady) String() string

type TransferRequest

type TransferRequest struct {
	Version           string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	StandbySupervisor bool   `protobuf:"varint,2,opt,name=standby_supervisor,json=standbySupervisor,proto3" json:"standby_supervisor,omitempty"`
	PackageSize       uint64 `protobuf:"varint,3,opt,name=package_size,json=packageSize,proto3" json:"package_size,omitempty"`
	// contains filtered or unexported fields
}

func (*TransferRequest) Descriptor deprecated

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

Deprecated: Use TransferRequest.ProtoReflect.Descriptor instead.

func (*TransferRequest) GetPackageSize

func (x *TransferRequest) GetPackageSize() uint64

func (*TransferRequest) GetStandbySupervisor

func (x *TransferRequest) GetStandbySupervisor() bool

func (*TransferRequest) GetVersion

func (x *TransferRequest) GetVersion() string

func (*TransferRequest) ProtoMessage

func (*TransferRequest) ProtoMessage()

func (*TransferRequest) ProtoReflect

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

func (*TransferRequest) Reset

func (x *TransferRequest) Reset()

func (*TransferRequest) String

func (x *TransferRequest) String() string

type UnimplementedOSServer

type UnimplementedOSServer struct {
}

UnimplementedOSServer must be embedded to have forward compatible implementations.

func (UnimplementedOSServer) Activate

func (UnimplementedOSServer) Install

func (UnimplementedOSServer) Verify

type UnsafeOSServer

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

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

type Validated

type Validated struct {
	Version     string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Validated) Descriptor deprecated

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

Deprecated: Use Validated.ProtoReflect.Descriptor instead.

func (*Validated) GetDescription

func (x *Validated) GetDescription() string

func (*Validated) GetVersion

func (x *Validated) GetVersion() string

func (*Validated) ProtoMessage

func (*Validated) ProtoMessage()

func (*Validated) ProtoReflect

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

func (*Validated) Reset

func (x *Validated) Reset()

func (*Validated) String

func (x *Validated) String() string

type VerifyRequest

type VerifyRequest struct {
	// contains filtered or unexported fields
}

func (*VerifyRequest) Descriptor deprecated

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

Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead.

func (*VerifyRequest) ProtoMessage

func (*VerifyRequest) ProtoMessage()

func (*VerifyRequest) ProtoReflect

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

func (*VerifyRequest) Reset

func (x *VerifyRequest) Reset()

func (*VerifyRequest) String

func (x *VerifyRequest) String() string

type VerifyResponse

type VerifyResponse struct {
	Version                     string         `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	ActivationFailMessage       string         `` /* 126-byte string literal not displayed */
	VerifyStandby               *VerifyStandby `protobuf:"bytes,3,opt,name=verify_standby,json=verifyStandby,proto3" json:"verify_standby,omitempty"`
	IndividualSupervisorInstall bool           `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VerifyResponse) Descriptor deprecated

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

Deprecated: Use VerifyResponse.ProtoReflect.Descriptor instead.

func (*VerifyResponse) GetActivationFailMessage

func (x *VerifyResponse) GetActivationFailMessage() string

func (*VerifyResponse) GetIndividualSupervisorInstall added in v0.2.0

func (x *VerifyResponse) GetIndividualSupervisorInstall() bool

func (*VerifyResponse) GetVerifyStandby

func (x *VerifyResponse) GetVerifyStandby() *VerifyStandby

func (*VerifyResponse) GetVersion

func (x *VerifyResponse) GetVersion() string

func (*VerifyResponse) ProtoMessage

func (*VerifyResponse) ProtoMessage()

func (*VerifyResponse) ProtoReflect

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

func (*VerifyResponse) Reset

func (x *VerifyResponse) Reset()

func (*VerifyResponse) String

func (x *VerifyResponse) String() string

type VerifyStandby

type VerifyStandby struct {

	// Types that are assignable to State:
	//
	//	*VerifyStandby_StandbyState
	//	*VerifyStandby_VerifyResponse
	State isVerifyStandby_State `protobuf_oneof:"state"`
	// contains filtered or unexported fields
}

func (*VerifyStandby) Descriptor deprecated

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

Deprecated: Use VerifyStandby.ProtoReflect.Descriptor instead.

func (*VerifyStandby) GetStandbyState

func (x *VerifyStandby) GetStandbyState() *StandbyState

func (*VerifyStandby) GetState

func (m *VerifyStandby) GetState() isVerifyStandby_State

func (*VerifyStandby) GetVerifyResponse

func (x *VerifyStandby) GetVerifyResponse() *StandbyResponse

func (*VerifyStandby) ProtoMessage

func (*VerifyStandby) ProtoMessage()

func (*VerifyStandby) ProtoReflect

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

func (*VerifyStandby) Reset

func (x *VerifyStandby) Reset()

func (*VerifyStandby) String

func (x *VerifyStandby) String() string

type VerifyStandby_StandbyState

type VerifyStandby_StandbyState struct {
	StandbyState *StandbyState `protobuf:"bytes,1,opt,name=standby_state,json=standbyState,proto3,oneof"`
}

type VerifyStandby_VerifyResponse

type VerifyStandby_VerifyResponse struct {
	VerifyResponse *StandbyResponse `protobuf:"bytes,2,opt,name=verify_response,json=verifyResponse,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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