keystone_admin

package
v0.0.0-...-b7ec496 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_keystone2_admin_proto protoreflect.FileDescriptor
View Source
var KeyringAdmin_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "keystone.keyringAdmin",
	HandlerType: (*KeyringAdminServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "newKeyring",
			Handler:    _KeyringAdmin_NewKeyring_Handler,
		},
		{
			MethodName: "keys",
			Handler:    _KeyringAdmin_Keys_Handler,
		},
		{
			MethodName: "label",
			Handler:    _KeyringAdmin_Label_Handler,
		},
		{
			MethodName: "remove",
			Handler:    _KeyringAdmin_Remove_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "keystone2_admin.proto",
}

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

Functions

func RegisterKeyringAdminServer

func RegisterKeyringAdminServer(s grpc.ServiceRegistrar, srv KeyringAdminServer)

Types

type KeyrefList

type KeyrefList struct {
	Id           uint64             `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	InResponseTo uint64             `protobuf:"varint,2,opt,name=inResponseTo,proto3" json:"inResponseTo,omitempty"`
	Label        []*keystone.KeyRef `protobuf:"bytes,3,rep,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyrefList) Descriptor deprecated

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

Deprecated: Use KeyrefList.ProtoReflect.Descriptor instead.

func (*KeyrefList) GetId

func (x *KeyrefList) GetId() uint64

func (*KeyrefList) GetInResponseTo

func (x *KeyrefList) GetInResponseTo() uint64

func (*KeyrefList) GetLabel

func (x *KeyrefList) GetLabel() []*keystone.KeyRef

func (*KeyrefList) ProtoMessage

func (*KeyrefList) ProtoMessage()

func (*KeyrefList) ProtoReflect

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

func (*KeyrefList) Reset

func (x *KeyrefList) Reset()

func (*KeyrefList) String

func (x *KeyrefList) String() string

type KeyringAdminClient

type KeyringAdminClient interface {
	NewKeyring(ctx context.Context, in *KeyringSpec, opts ...grpc.CallOption) (*KeyringRef, error)
	Keys(ctx context.Context, in *KeyringSpec, opts ...grpc.CallOption) (*KeyrefList, error)
	Label(ctx context.Context, in *keystone.Empty, opts ...grpc.CallOption) (*KeyringLabel, error)
	Remove(ctx context.Context, in *keystone.KeySpec, opts ...grpc.CallOption) (*keystone.Result, error)
}

KeyringAdminClient is the client API for KeyringAdmin 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 KeyringAdminServer

type KeyringAdminServer interface {
	NewKeyring(context.Context, *KeyringSpec) (*KeyringRef, error)
	Keys(context.Context, *KeyringSpec) (*KeyrefList, error)
	Label(context.Context, *keystone.Empty) (*KeyringLabel, error)
	Remove(context.Context, *keystone.KeySpec) (*keystone.Result, error)
	// contains filtered or unexported methods
}

KeyringAdminServer is the server API for KeyringAdmin service. All implementations must embed UnimplementedKeyringAdminServer for forward compatibility

type KeyringLabel

type KeyringLabel struct {
	Id           uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	InResponseTo uint64 `protobuf:"varint,2,opt,name=inResponseTo,proto3" json:"inResponseTo,omitempty"`
	Label        string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyringLabel) Descriptor deprecated

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

Deprecated: Use KeyringLabel.ProtoReflect.Descriptor instead.

func (*KeyringLabel) GetId

func (x *KeyringLabel) GetId() uint64

func (*KeyringLabel) GetInResponseTo

func (x *KeyringLabel) GetInResponseTo() uint64

func (*KeyringLabel) GetLabel

func (x *KeyringLabel) GetLabel() string

func (*KeyringLabel) ProtoMessage

func (*KeyringLabel) ProtoMessage()

func (*KeyringLabel) ProtoReflect

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

func (*KeyringLabel) Reset

func (x *KeyringLabel) Reset()

func (*KeyringLabel) String

func (x *KeyringLabel) String() string

type KeyringRef

type KeyringRef struct {
	Id           uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	InResponseTo uint64 `protobuf:"varint,2,opt,name=inResponseTo,proto3" json:"inResponseTo,omitempty"`
	Label        string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
	IssuerUrl    string `protobuf:"bytes,4,opt,name=issuerUrl,proto3" json:"issuerUrl,omitempty"`
	Expires      uint64 `protobuf:"varint,5,opt,name=expires,proto3" json:"expires,omitempty"`
	IssuerIdUrl  string `protobuf:"bytes,6,opt,name=issuerIdUrl,proto3" json:"issuerIdUrl,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyringRef) Descriptor deprecated

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

Deprecated: Use KeyringRef.ProtoReflect.Descriptor instead.

func (*KeyringRef) GetExpires

func (x *KeyringRef) GetExpires() uint64

func (*KeyringRef) GetId

func (x *KeyringRef) GetId() uint64

func (*KeyringRef) GetInResponseTo

func (x *KeyringRef) GetInResponseTo() uint64

func (*KeyringRef) GetIssuerIdUrl

func (x *KeyringRef) GetIssuerIdUrl() string

func (*KeyringRef) GetIssuerUrl

func (x *KeyringRef) GetIssuerUrl() string

func (*KeyringRef) GetLabel

func (x *KeyringRef) GetLabel() string

func (*KeyringRef) ProtoMessage

func (*KeyringRef) ProtoMessage()

func (*KeyringRef) ProtoReflect

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

func (*KeyringRef) Reset

func (x *KeyringRef) Reset()

func (*KeyringRef) String

func (x *KeyringRef) String() string

type KeyringSpec

type KeyringSpec struct {
	Id    uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyringSpec) Descriptor deprecated

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

Deprecated: Use KeyringSpec.ProtoReflect.Descriptor instead.

func (*KeyringSpec) GetId

func (x *KeyringSpec) GetId() uint64

func (*KeyringSpec) GetLabel

func (x *KeyringSpec) GetLabel() string

func (*KeyringSpec) ProtoMessage

func (*KeyringSpec) ProtoMessage()

func (*KeyringSpec) ProtoReflect

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

func (*KeyringSpec) Reset

func (x *KeyringSpec) Reset()

func (*KeyringSpec) String

func (x *KeyringSpec) String() string

type UnimplementedKeyringAdminServer

type UnimplementedKeyringAdminServer struct {
}

UnimplementedKeyringAdminServer must be embedded to have forward compatible implementations.

func (UnimplementedKeyringAdminServer) Keys

func (UnimplementedKeyringAdminServer) Label

func (UnimplementedKeyringAdminServer) NewKeyring

func (UnimplementedKeyringAdminServer) Remove

type UnsafeKeyringAdminServer

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

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

Jump to

Keyboard shortcuts

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