iamanager

package
v0.0.0-...-4c73ccb Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_iamanager_v4_iamanager_proto protoreflect.FileDescriptor
View Source
var IAMCertificateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "iamanager.v4.IAMCertificateService",
	HandlerType: (*IAMCertificateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateKey",
			Handler:    _IAMCertificateService_CreateKey_Handler,
		},
		{
			MethodName: "ApplyCert",
			Handler:    _IAMCertificateService_ApplyCert_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "iamanager/v4/iamanager.proto",
}

IAMCertificateService_ServiceDesc is the grpc.ServiceDesc for IAMCertificateService 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 IAMPermissionsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "iamanager.v4.IAMPermissionsService",
	HandlerType: (*IAMPermissionsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RegisterInstance",
			Handler:    _IAMPermissionsService_RegisterInstance_Handler,
		},
		{
			MethodName: "UnregisterInstance",
			Handler:    _IAMPermissionsService_UnregisterInstance_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "iamanager/v4/iamanager.proto",
}

IAMPermissionsService_ServiceDesc is the grpc.ServiceDesc for IAMPermissionsService 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 IAMProvisioningService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "iamanager.v4.IAMProvisioningService",
	HandlerType: (*IAMProvisioningServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAllNodeIDs",
			Handler:    _IAMProvisioningService_GetAllNodeIDs_Handler,
		},
		{
			MethodName: "GetCertTypes",
			Handler:    _IAMProvisioningService_GetCertTypes_Handler,
		},
		{
			MethodName: "SetOwner",
			Handler:    _IAMProvisioningService_SetOwner_Handler,
		},
		{
			MethodName: "Clear",
			Handler:    _IAMProvisioningService_Clear_Handler,
		},
		{
			MethodName: "EncryptDisk",
			Handler:    _IAMProvisioningService_EncryptDisk_Handler,
		},
		{
			MethodName: "FinishProvisioning",
			Handler:    _IAMProvisioningService_FinishProvisioning_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "iamanager/v4/iamanager.proto",
}

IAMProvisioningService_ServiceDesc is the grpc.ServiceDesc for IAMProvisioningService 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 IAMPublicIdentityService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "iamanager.v4.IAMPublicIdentityService",
	HandlerType: (*IAMPublicIdentityServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSystemInfo",
			Handler:    _IAMPublicIdentityService_GetSystemInfo_Handler,
		},
		{
			MethodName: "GetSubjects",
			Handler:    _IAMPublicIdentityService_GetSubjects_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "SubscribeSubjectsChanged",
			Handler:       _IAMPublicIdentityService_SubscribeSubjectsChanged_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "iamanager/v4/iamanager.proto",
}

IAMPublicIdentityService_ServiceDesc is the grpc.ServiceDesc for IAMPublicIdentityService 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 IAMPublicPermissionsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "iamanager.v4.IAMPublicPermissionsService",
	HandlerType: (*IAMPublicPermissionsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPermissions",
			Handler:    _IAMPublicPermissionsService_GetPermissions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "iamanager/v4/iamanager.proto",
}

IAMPublicPermissionsService_ServiceDesc is the grpc.ServiceDesc for IAMPublicPermissionsService 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 IAMPublicService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "iamanager.v4.IAMPublicService",
	HandlerType: (*IAMPublicServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAPIVersion",
			Handler:    _IAMPublicService_GetAPIVersion_Handler,
		},
		{
			MethodName: "GetNodeInfo",
			Handler:    _IAMPublicService_GetNodeInfo_Handler,
		},
		{
			MethodName: "GetCert",
			Handler:    _IAMPublicService_GetCert_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "iamanager/v4/iamanager.proto",
}

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

Functions

func RegisterIAMCertificateServiceServer

func RegisterIAMCertificateServiceServer(s grpc.ServiceRegistrar, srv IAMCertificateServiceServer)

func RegisterIAMPermissionsServiceServer

func RegisterIAMPermissionsServiceServer(s grpc.ServiceRegistrar, srv IAMPermissionsServiceServer)

func RegisterIAMProvisioningServiceServer

func RegisterIAMProvisioningServiceServer(s grpc.ServiceRegistrar, srv IAMProvisioningServiceServer)

func RegisterIAMPublicIdentityServiceServer

func RegisterIAMPublicIdentityServiceServer(s grpc.ServiceRegistrar, srv IAMPublicIdentityServiceServer)

func RegisterIAMPublicPermissionsServiceServer

func RegisterIAMPublicPermissionsServiceServer(s grpc.ServiceRegistrar, srv IAMPublicPermissionsServiceServer)

func RegisterIAMPublicServiceServer

func RegisterIAMPublicServiceServer(s grpc.ServiceRegistrar, srv IAMPublicServiceServer)

Types

type APIVersion

type APIVersion struct {
	Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*APIVersion) Descriptor deprecated

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

Deprecated: Use APIVersion.ProtoReflect.Descriptor instead.

func (*APIVersion) GetVersion

func (x *APIVersion) GetVersion() uint64

func (*APIVersion) ProtoMessage

func (*APIVersion) ProtoMessage()

func (*APIVersion) ProtoReflect

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

func (*APIVersion) Reset

func (x *APIVersion) Reset()

func (*APIVersion) String

func (x *APIVersion) String() string

type ApplyCertRequest

type ApplyCertRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Type   string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Cert   string `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyCertRequest) Descriptor deprecated

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

Deprecated: Use ApplyCertRequest.ProtoReflect.Descriptor instead.

func (*ApplyCertRequest) GetCert

func (x *ApplyCertRequest) GetCert() string

func (*ApplyCertRequest) GetNodeId

func (x *ApplyCertRequest) GetNodeId() string

func (*ApplyCertRequest) GetType

func (x *ApplyCertRequest) GetType() string

func (*ApplyCertRequest) ProtoMessage

func (*ApplyCertRequest) ProtoMessage()

func (*ApplyCertRequest) ProtoReflect

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

func (*ApplyCertRequest) Reset

func (x *ApplyCertRequest) Reset()

func (*ApplyCertRequest) String

func (x *ApplyCertRequest) String() string

type ApplyCertResponse

type ApplyCertResponse struct {
	NodeId  string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Type    string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	CertUrl string `protobuf:"bytes,3,opt,name=cert_url,json=certUrl,proto3" json:"cert_url,omitempty"`
	Serial  string `protobuf:"bytes,4,opt,name=serial,proto3" json:"serial,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyCertResponse) Descriptor deprecated

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

Deprecated: Use ApplyCertResponse.ProtoReflect.Descriptor instead.

func (*ApplyCertResponse) GetCertUrl

func (x *ApplyCertResponse) GetCertUrl() string

func (*ApplyCertResponse) GetNodeId

func (x *ApplyCertResponse) GetNodeId() string

func (*ApplyCertResponse) GetSerial

func (x *ApplyCertResponse) GetSerial() string

func (*ApplyCertResponse) GetType

func (x *ApplyCertResponse) GetType() string

func (*ApplyCertResponse) ProtoMessage

func (*ApplyCertResponse) ProtoMessage()

func (*ApplyCertResponse) ProtoReflect

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

func (*ApplyCertResponse) Reset

func (x *ApplyCertResponse) Reset()

func (*ApplyCertResponse) String

func (x *ApplyCertResponse) String() string

type CertTypes

type CertTypes struct {
	Types []string `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"`
	// contains filtered or unexported fields
}

func (*CertTypes) Descriptor deprecated

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

Deprecated: Use CertTypes.ProtoReflect.Descriptor instead.

func (*CertTypes) GetTypes

func (x *CertTypes) GetTypes() []string

func (*CertTypes) ProtoMessage

func (*CertTypes) ProtoMessage()

func (*CertTypes) ProtoReflect

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

func (*CertTypes) Reset

func (x *CertTypes) Reset()

func (*CertTypes) String

func (x *CertTypes) String() string

type ClearRequest

type ClearRequest struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Type   string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*ClearRequest) Descriptor deprecated

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

Deprecated: Use ClearRequest.ProtoReflect.Descriptor instead.

func (*ClearRequest) GetNodeId

func (x *ClearRequest) GetNodeId() string

func (*ClearRequest) GetType

func (x *ClearRequest) GetType() string

func (*ClearRequest) ProtoMessage

func (*ClearRequest) ProtoMessage()

func (*ClearRequest) ProtoReflect

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

func (*ClearRequest) Reset

func (x *ClearRequest) Reset()

func (*ClearRequest) String

func (x *ClearRequest) String() string

type CreateKeyRequest

type CreateKeyRequest struct {
	NodeId   string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Subject  string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Type     string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateKeyRequest) Descriptor deprecated

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

Deprecated: Use CreateKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateKeyRequest) GetNodeId

func (x *CreateKeyRequest) GetNodeId() string

func (*CreateKeyRequest) GetPassword

func (x *CreateKeyRequest) GetPassword() string

func (*CreateKeyRequest) GetSubject

func (x *CreateKeyRequest) GetSubject() string

func (*CreateKeyRequest) GetType

func (x *CreateKeyRequest) GetType() string

func (*CreateKeyRequest) ProtoMessage

func (*CreateKeyRequest) ProtoMessage()

func (*CreateKeyRequest) ProtoReflect

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

func (*CreateKeyRequest) Reset

func (x *CreateKeyRequest) Reset()

func (*CreateKeyRequest) String

func (x *CreateKeyRequest) String() string

type CreateKeyResponse

type CreateKeyResponse struct {
	NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Type   string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Csr    string `protobuf:"bytes,3,opt,name=csr,proto3" json:"csr,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateKeyResponse) Descriptor deprecated

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

Deprecated: Use CreateKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateKeyResponse) GetCsr

func (x *CreateKeyResponse) GetCsr() string

func (*CreateKeyResponse) GetNodeId

func (x *CreateKeyResponse) GetNodeId() string

func (*CreateKeyResponse) GetType

func (x *CreateKeyResponse) GetType() string

func (*CreateKeyResponse) ProtoMessage

func (*CreateKeyResponse) ProtoMessage()

func (*CreateKeyResponse) ProtoReflect

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

func (*CreateKeyResponse) Reset

func (x *CreateKeyResponse) Reset()

func (*CreateKeyResponse) String

func (x *CreateKeyResponse) String() string

type EncryptDiskRequest

type EncryptDiskRequest struct {
	NodeId   string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*EncryptDiskRequest) Descriptor deprecated

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

Deprecated: Use EncryptDiskRequest.ProtoReflect.Descriptor instead.

func (*EncryptDiskRequest) GetNodeId

func (x *EncryptDiskRequest) GetNodeId() string

func (*EncryptDiskRequest) GetPassword

func (x *EncryptDiskRequest) GetPassword() string

func (*EncryptDiskRequest) ProtoMessage

func (*EncryptDiskRequest) ProtoMessage()

func (*EncryptDiskRequest) ProtoReflect

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

func (*EncryptDiskRequest) Reset

func (x *EncryptDiskRequest) Reset()

func (*EncryptDiskRequest) String

func (x *EncryptDiskRequest) String() string

type GetCertRequest

type GetCertRequest struct {
	Type   string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Issuer []byte `protobuf:"bytes,2,opt,name=issuer,proto3" json:"issuer,omitempty"`
	Serial string `protobuf:"bytes,3,opt,name=serial,proto3" json:"serial,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCertRequest) Descriptor deprecated

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

Deprecated: Use GetCertRequest.ProtoReflect.Descriptor instead.

func (*GetCertRequest) GetIssuer

func (x *GetCertRequest) GetIssuer() []byte

func (*GetCertRequest) GetSerial

func (x *GetCertRequest) GetSerial() string

func (*GetCertRequest) GetType

func (x *GetCertRequest) GetType() string

func (*GetCertRequest) ProtoMessage

func (*GetCertRequest) ProtoMessage()

func (*GetCertRequest) ProtoReflect

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

func (*GetCertRequest) Reset

func (x *GetCertRequest) Reset()

func (*GetCertRequest) String

func (x *GetCertRequest) String() string

type GetCertResponse

type GetCertResponse struct {
	Type    string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	CertUrl string `protobuf:"bytes,2,opt,name=cert_url,json=certUrl,proto3" json:"cert_url,omitempty"`
	KeyUrl  string `protobuf:"bytes,3,opt,name=key_url,json=keyUrl,proto3" json:"key_url,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCertResponse) Descriptor deprecated

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

Deprecated: Use GetCertResponse.ProtoReflect.Descriptor instead.

func (*GetCertResponse) GetCertUrl

func (x *GetCertResponse) GetCertUrl() string

func (*GetCertResponse) GetKeyUrl

func (x *GetCertResponse) GetKeyUrl() string

func (*GetCertResponse) GetType

func (x *GetCertResponse) GetType() string

func (*GetCertResponse) ProtoMessage

func (*GetCertResponse) ProtoMessage()

func (*GetCertResponse) ProtoReflect

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

func (*GetCertResponse) Reset

func (x *GetCertResponse) Reset()

func (*GetCertResponse) String

func (x *GetCertResponse) String() string

type GetCertTypesRequest

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

func (*GetCertTypesRequest) Descriptor deprecated

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

Deprecated: Use GetCertTypesRequest.ProtoReflect.Descriptor instead.

func (*GetCertTypesRequest) GetNodeId

func (x *GetCertTypesRequest) GetNodeId() string

func (*GetCertTypesRequest) ProtoMessage

func (*GetCertTypesRequest) ProtoMessage()

func (*GetCertTypesRequest) ProtoReflect

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

func (*GetCertTypesRequest) Reset

func (x *GetCertTypesRequest) Reset()

func (*GetCertTypesRequest) String

func (x *GetCertTypesRequest) String() string

type IAMCertificateServiceClient

type IAMCertificateServiceClient interface {
	CreateKey(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*CreateKeyResponse, error)
	ApplyCert(ctx context.Context, in *ApplyCertRequest, opts ...grpc.CallOption) (*ApplyCertResponse, error)
}

IAMCertificateServiceClient is the client API for IAMCertificateService 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.

type IAMCertificateServiceServer

type IAMCertificateServiceServer interface {
	CreateKey(context.Context, *CreateKeyRequest) (*CreateKeyResponse, error)
	ApplyCert(context.Context, *ApplyCertRequest) (*ApplyCertResponse, error)
	// contains filtered or unexported methods
}

IAMCertificateServiceServer is the server API for IAMCertificateService service. All implementations must embed UnimplementedIAMCertificateServiceServer for forward compatibility

type IAMPermissionsServiceClient

type IAMPermissionsServiceClient interface {
	RegisterInstance(ctx context.Context, in *RegisterInstanceRequest, opts ...grpc.CallOption) (*RegisterInstanceResponse, error)
	UnregisterInstance(ctx context.Context, in *UnregisterInstanceRequest, opts ...grpc.CallOption) (*empty.Empty, error)
}

IAMPermissionsServiceClient is the client API for IAMPermissionsService 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.

type IAMPermissionsServiceServer

type IAMPermissionsServiceServer interface {
	RegisterInstance(context.Context, *RegisterInstanceRequest) (*RegisterInstanceResponse, error)
	UnregisterInstance(context.Context, *UnregisterInstanceRequest) (*empty.Empty, error)
	// contains filtered or unexported methods
}

IAMPermissionsServiceServer is the server API for IAMPermissionsService service. All implementations must embed UnimplementedIAMPermissionsServiceServer for forward compatibility

type IAMProvisioningServiceClient

type IAMProvisioningServiceClient interface {
	GetAllNodeIDs(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*NodesID, error)
	GetCertTypes(ctx context.Context, in *GetCertTypesRequest, opts ...grpc.CallOption) (*CertTypes, error)
	SetOwner(ctx context.Context, in *SetOwnerRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Clear(ctx context.Context, in *ClearRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	EncryptDisk(ctx context.Context, in *EncryptDiskRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	FinishProvisioning(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
}

IAMProvisioningServiceClient is the client API for IAMProvisioningService 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.

type IAMProvisioningServiceServer

type IAMProvisioningServiceServer interface {
	GetAllNodeIDs(context.Context, *empty.Empty) (*NodesID, error)
	GetCertTypes(context.Context, *GetCertTypesRequest) (*CertTypes, error)
	SetOwner(context.Context, *SetOwnerRequest) (*empty.Empty, error)
	Clear(context.Context, *ClearRequest) (*empty.Empty, error)
	EncryptDisk(context.Context, *EncryptDiskRequest) (*empty.Empty, error)
	FinishProvisioning(context.Context, *empty.Empty) (*empty.Empty, error)
	// contains filtered or unexported methods
}

IAMProvisioningServiceServer is the server API for IAMProvisioningService service. All implementations must embed UnimplementedIAMProvisioningServiceServer for forward compatibility

type IAMPublicIdentityServiceClient

type IAMPublicIdentityServiceClient interface {
	GetSystemInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SystemInfo, error)
	GetSubjects(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*Subjects, error)
	SubscribeSubjectsChanged(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (IAMPublicIdentityService_SubscribeSubjectsChangedClient, error)
}

IAMPublicIdentityServiceClient is the client API for IAMPublicIdentityService 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.

type IAMPublicIdentityServiceServer

type IAMPublicIdentityServiceServer interface {
	GetSystemInfo(context.Context, *empty.Empty) (*SystemInfo, error)
	GetSubjects(context.Context, *empty.Empty) (*Subjects, error)
	SubscribeSubjectsChanged(*empty.Empty, IAMPublicIdentityService_SubscribeSubjectsChangedServer) error
	// contains filtered or unexported methods
}

IAMPublicIdentityServiceServer is the server API for IAMPublicIdentityService service. All implementations must embed UnimplementedIAMPublicIdentityServiceServer for forward compatibility

type IAMPublicIdentityService_SubscribeSubjectsChangedClient

type IAMPublicIdentityService_SubscribeSubjectsChangedClient interface {
	Recv() (*Subjects, error)
	grpc.ClientStream
}

type IAMPublicIdentityService_SubscribeSubjectsChangedServer

type IAMPublicIdentityService_SubscribeSubjectsChangedServer interface {
	Send(*Subjects) error
	grpc.ServerStream
}

type IAMPublicPermissionsServiceClient

type IAMPublicPermissionsServiceClient interface {
	GetPermissions(ctx context.Context, in *PermissionsRequest, opts ...grpc.CallOption) (*PermissionsResponse, error)
}

IAMPublicPermissionsServiceClient is the client API for IAMPublicPermissionsService 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.

type IAMPublicPermissionsServiceServer

type IAMPublicPermissionsServiceServer interface {
	GetPermissions(context.Context, *PermissionsRequest) (*PermissionsResponse, error)
	// contains filtered or unexported methods
}

IAMPublicPermissionsServiceServer is the server API for IAMPublicPermissionsService service. All implementations must embed UnimplementedIAMPublicPermissionsServiceServer for forward compatibility

type IAMPublicServiceClient

type IAMPublicServiceClient interface {
	GetAPIVersion(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*APIVersion, error)
	GetNodeInfo(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*NodeInfo, error)
	GetCert(ctx context.Context, in *GetCertRequest, opts ...grpc.CallOption) (*GetCertResponse, error)
}

IAMPublicServiceClient is the client API for IAMPublicService 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.

type IAMPublicServiceServer

type IAMPublicServiceServer interface {
	GetAPIVersion(context.Context, *empty.Empty) (*APIVersion, error)
	GetNodeInfo(context.Context, *empty.Empty) (*NodeInfo, error)
	GetCert(context.Context, *GetCertRequest) (*GetCertResponse, error)
	// contains filtered or unexported methods
}

IAMPublicServiceServer is the server API for IAMPublicService service. All implementations must embed UnimplementedIAMPublicServiceServer for forward compatibility

type InstanceIdent

type InstanceIdent struct {
	ServiceId string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	SubjectId string `protobuf:"bytes,2,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	Instance  uint64 `protobuf:"varint,3,opt,name=instance,proto3" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

func (*InstanceIdent) Descriptor deprecated

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

Deprecated: Use InstanceIdent.ProtoReflect.Descriptor instead.

func (*InstanceIdent) GetInstance

func (x *InstanceIdent) GetInstance() uint64

func (*InstanceIdent) GetServiceId

func (x *InstanceIdent) GetServiceId() string

func (*InstanceIdent) GetSubjectId

func (x *InstanceIdent) GetSubjectId() string

func (*InstanceIdent) ProtoMessage

func (*InstanceIdent) ProtoMessage()

func (*InstanceIdent) ProtoReflect

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

func (*InstanceIdent) Reset

func (x *InstanceIdent) Reset()

func (*InstanceIdent) String

func (x *InstanceIdent) String() string

type NodeInfo

type NodeInfo struct {
	NodeId   string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeType string `protobuf:"bytes,2,opt,name=node_type,json=nodeType,proto3" json:"node_type,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeInfo) Descriptor deprecated

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

Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.

func (*NodeInfo) GetNodeId

func (x *NodeInfo) GetNodeId() string

func (*NodeInfo) GetNodeType

func (x *NodeInfo) GetNodeType() string

func (*NodeInfo) ProtoMessage

func (*NodeInfo) ProtoMessage()

func (*NodeInfo) ProtoReflect

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

func (*NodeInfo) Reset

func (x *NodeInfo) Reset()

func (*NodeInfo) String

func (x *NodeInfo) String() string

type NodesID

type NodesID struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*NodesID) Descriptor deprecated

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

Deprecated: Use NodesID.ProtoReflect.Descriptor instead.

func (*NodesID) GetIds

func (x *NodesID) GetIds() []string

func (*NodesID) ProtoMessage

func (*NodesID) ProtoMessage()

func (*NodesID) ProtoReflect

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

func (*NodesID) Reset

func (x *NodesID) Reset()

func (*NodesID) String

func (x *NodesID) String() string

type Permissions

type Permissions struct {
	Permissions map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Permissions) Descriptor deprecated

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

Deprecated: Use Permissions.ProtoReflect.Descriptor instead.

func (*Permissions) GetPermissions

func (x *Permissions) GetPermissions() map[string]string

func (*Permissions) ProtoMessage

func (*Permissions) ProtoMessage()

func (*Permissions) ProtoReflect

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

func (*Permissions) Reset

func (x *Permissions) Reset()

func (*Permissions) String

func (x *Permissions) String() string

type PermissionsRequest

type PermissionsRequest struct {
	Secret             string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	FunctionalServerId string `protobuf:"bytes,2,opt,name=functional_server_id,json=functionalServerId,proto3" json:"functional_server_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PermissionsRequest) Descriptor deprecated

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

Deprecated: Use PermissionsRequest.ProtoReflect.Descriptor instead.

func (*PermissionsRequest) GetFunctionalServerId

func (x *PermissionsRequest) GetFunctionalServerId() string

func (*PermissionsRequest) GetSecret

func (x *PermissionsRequest) GetSecret() string

func (*PermissionsRequest) ProtoMessage

func (*PermissionsRequest) ProtoMessage()

func (*PermissionsRequest) ProtoReflect

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

func (*PermissionsRequest) Reset

func (x *PermissionsRequest) Reset()

func (*PermissionsRequest) String

func (x *PermissionsRequest) String() string

type PermissionsResponse

type PermissionsResponse struct {
	Instance    *InstanceIdent `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	Permissions *Permissions   `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*PermissionsResponse) Descriptor deprecated

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

Deprecated: Use PermissionsResponse.ProtoReflect.Descriptor instead.

func (*PermissionsResponse) GetInstance

func (x *PermissionsResponse) GetInstance() *InstanceIdent

func (*PermissionsResponse) GetPermissions

func (x *PermissionsResponse) GetPermissions() *Permissions

func (*PermissionsResponse) ProtoMessage

func (*PermissionsResponse) ProtoMessage()

func (*PermissionsResponse) ProtoReflect

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

func (*PermissionsResponse) Reset

func (x *PermissionsResponse) Reset()

func (*PermissionsResponse) String

func (x *PermissionsResponse) String() string

type RegisterInstanceRequest

type RegisterInstanceRequest struct {
	Instance    *InstanceIdent          `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	Permissions map[string]*Permissions `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RegisterInstanceRequest) Descriptor deprecated

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

Deprecated: Use RegisterInstanceRequest.ProtoReflect.Descriptor instead.

func (*RegisterInstanceRequest) GetInstance

func (x *RegisterInstanceRequest) GetInstance() *InstanceIdent

func (*RegisterInstanceRequest) GetPermissions

func (x *RegisterInstanceRequest) GetPermissions() map[string]*Permissions

func (*RegisterInstanceRequest) ProtoMessage

func (*RegisterInstanceRequest) ProtoMessage()

func (*RegisterInstanceRequest) ProtoReflect

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

func (*RegisterInstanceRequest) Reset

func (x *RegisterInstanceRequest) Reset()

func (*RegisterInstanceRequest) String

func (x *RegisterInstanceRequest) String() string

type RegisterInstanceResponse

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

func (*RegisterInstanceResponse) Descriptor deprecated

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

Deprecated: Use RegisterInstanceResponse.ProtoReflect.Descriptor instead.

func (*RegisterInstanceResponse) GetSecret

func (x *RegisterInstanceResponse) GetSecret() string

func (*RegisterInstanceResponse) ProtoMessage

func (*RegisterInstanceResponse) ProtoMessage()

func (*RegisterInstanceResponse) ProtoReflect

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

func (*RegisterInstanceResponse) Reset

func (x *RegisterInstanceResponse) Reset()

func (*RegisterInstanceResponse) String

func (x *RegisterInstanceResponse) String() string

type SetOwnerRequest

type SetOwnerRequest struct {
	NodeId   string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	Type     string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*SetOwnerRequest) Descriptor deprecated

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

Deprecated: Use SetOwnerRequest.ProtoReflect.Descriptor instead.

func (*SetOwnerRequest) GetNodeId

func (x *SetOwnerRequest) GetNodeId() string

func (*SetOwnerRequest) GetPassword

func (x *SetOwnerRequest) GetPassword() string

func (*SetOwnerRequest) GetType

func (x *SetOwnerRequest) GetType() string

func (*SetOwnerRequest) ProtoMessage

func (*SetOwnerRequest) ProtoMessage()

func (*SetOwnerRequest) ProtoReflect

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

func (*SetOwnerRequest) Reset

func (x *SetOwnerRequest) Reset()

func (*SetOwnerRequest) String

func (x *SetOwnerRequest) String() string

type Subjects

type Subjects struct {
	Subjects []string `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty"`
	// contains filtered or unexported fields
}

func (*Subjects) Descriptor deprecated

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

Deprecated: Use Subjects.ProtoReflect.Descriptor instead.

func (*Subjects) GetSubjects

func (x *Subjects) GetSubjects() []string

func (*Subjects) ProtoMessage

func (*Subjects) ProtoMessage()

func (*Subjects) ProtoReflect

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

func (*Subjects) Reset

func (x *Subjects) Reset()

func (*Subjects) String

func (x *Subjects) String() string

type SystemInfo

type SystemInfo struct {
	SystemId  string `protobuf:"bytes,1,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"`
	UnitModel string `protobuf:"bytes,2,opt,name=unit_model,json=unitModel,proto3" json:"unit_model,omitempty"`
	// contains filtered or unexported fields
}

func (*SystemInfo) Descriptor deprecated

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

Deprecated: Use SystemInfo.ProtoReflect.Descriptor instead.

func (*SystemInfo) GetSystemId

func (x *SystemInfo) GetSystemId() string

func (*SystemInfo) GetUnitModel

func (x *SystemInfo) GetUnitModel() string

func (*SystemInfo) ProtoMessage

func (*SystemInfo) ProtoMessage()

func (*SystemInfo) ProtoReflect

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

func (*SystemInfo) Reset

func (x *SystemInfo) Reset()

func (*SystemInfo) String

func (x *SystemInfo) String() string

type UnimplementedIAMCertificateServiceServer

type UnimplementedIAMCertificateServiceServer struct {
}

UnimplementedIAMCertificateServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIAMCertificateServiceServer) ApplyCert

func (UnimplementedIAMCertificateServiceServer) CreateKey

type UnimplementedIAMPermissionsServiceServer

type UnimplementedIAMPermissionsServiceServer struct {
}

UnimplementedIAMPermissionsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIAMPermissionsServiceServer) RegisterInstance

func (UnimplementedIAMPermissionsServiceServer) UnregisterInstance

type UnimplementedIAMProvisioningServiceServer

type UnimplementedIAMProvisioningServiceServer struct {
}

UnimplementedIAMProvisioningServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIAMProvisioningServiceServer) Clear

func (UnimplementedIAMProvisioningServiceServer) EncryptDisk

func (UnimplementedIAMProvisioningServiceServer) FinishProvisioning

func (UnimplementedIAMProvisioningServiceServer) GetAllNodeIDs

func (UnimplementedIAMProvisioningServiceServer) GetCertTypes

func (UnimplementedIAMProvisioningServiceServer) SetOwner

type UnimplementedIAMPublicIdentityServiceServer

type UnimplementedIAMPublicIdentityServiceServer struct {
}

UnimplementedIAMPublicIdentityServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIAMPublicIdentityServiceServer) GetSubjects

func (UnimplementedIAMPublicIdentityServiceServer) GetSystemInfo

func (UnimplementedIAMPublicIdentityServiceServer) SubscribeSubjectsChanged

type UnimplementedIAMPublicPermissionsServiceServer

type UnimplementedIAMPublicPermissionsServiceServer struct {
}

UnimplementedIAMPublicPermissionsServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIAMPublicPermissionsServiceServer) GetPermissions

type UnimplementedIAMPublicServiceServer

type UnimplementedIAMPublicServiceServer struct {
}

UnimplementedIAMPublicServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedIAMPublicServiceServer) GetAPIVersion

func (UnimplementedIAMPublicServiceServer) GetCert

func (UnimplementedIAMPublicServiceServer) GetNodeInfo

type UnregisterInstanceRequest

type UnregisterInstanceRequest struct {
	Instance *InstanceIdent `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// contains filtered or unexported fields
}

func (*UnregisterInstanceRequest) Descriptor deprecated

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

Deprecated: Use UnregisterInstanceRequest.ProtoReflect.Descriptor instead.

func (*UnregisterInstanceRequest) GetInstance

func (x *UnregisterInstanceRequest) GetInstance() *InstanceIdent

func (*UnregisterInstanceRequest) ProtoMessage

func (*UnregisterInstanceRequest) ProtoMessage()

func (*UnregisterInstanceRequest) ProtoReflect

func (*UnregisterInstanceRequest) Reset

func (x *UnregisterInstanceRequest) Reset()

func (*UnregisterInstanceRequest) String

func (x *UnregisterInstanceRequest) String() string

type UnsafeIAMCertificateServiceServer

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

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

type UnsafeIAMPermissionsServiceServer

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

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

type UnsafeIAMProvisioningServiceServer

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

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

type UnsafeIAMPublicIdentityServiceServer

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

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

type UnsafeIAMPublicPermissionsServiceServer

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

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

type UnsafeIAMPublicServiceServer

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

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

Jump to

Keyboard shortcuts

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