managementv1

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Type                = "KeystoreProvider"
	GRPCServiceFullName = "plugin.keystore.management.v1.KeystoreProvider"
)
View Source
const (
	KeystoreProvider_CreateKeystore_FullMethodName = "/plugin.keystore.management.v1.KeystoreProvider/CreateKeystore"
	KeystoreProvider_DeleteKeystore_FullMethodName = "/plugin.keystore.management.v1.KeystoreProvider/DeleteKeystore"
)

Variables

View Source
var File_plugin_keystore_management_v1_management_proto protoreflect.FileDescriptor
View Source
var KeystoreProvider_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "plugin.keystore.management.v1.KeystoreProvider",
	HandlerType: (*KeystoreProviderServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateKeystore",
			Handler:    _KeystoreProvider_CreateKeystore_Handler,
		},
		{
			MethodName: "DeleteKeystore",
			Handler:    _KeystoreProvider_DeleteKeystore_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "plugin/keystore/management/v1/management.proto",
}

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

Functions

func KeystoreProviderPluginServer

func KeystoreProviderPluginServer(server KeystoreProviderServer) api.PluginServer

func RegisterKeystoreProviderServer

func RegisterKeystoreProviderServer(s grpc.ServiceRegistrar, srv KeystoreProviderServer)

Types

type CreateKeystoreRequest

type CreateKeystoreRequest struct {
	Values *structpb.Struct `protobuf:"bytes,1,opt,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateKeystoreRequest) Descriptor deprecated

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

Deprecated: Use CreateKeystoreRequest.ProtoReflect.Descriptor instead.

func (*CreateKeystoreRequest) GetValues

func (x *CreateKeystoreRequest) GetValues() *structpb.Struct

func (*CreateKeystoreRequest) ProtoMessage

func (*CreateKeystoreRequest) ProtoMessage()

func (*CreateKeystoreRequest) ProtoReflect

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

func (*CreateKeystoreRequest) Reset

func (x *CreateKeystoreRequest) Reset()

func (*CreateKeystoreRequest) String

func (x *CreateKeystoreRequest) String() string

func (*CreateKeystoreRequest) Validate

func (m *CreateKeystoreRequest) Validate() error

Validate checks the field values on CreateKeystoreRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateKeystoreRequest) ValidateAll

func (m *CreateKeystoreRequest) ValidateAll() error

ValidateAll checks the field values on CreateKeystoreRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateKeystoreRequestMultiError, or nil if none found.

type CreateKeystoreRequestMultiError

type CreateKeystoreRequestMultiError []error

CreateKeystoreRequestMultiError is an error wrapping multiple validation errors returned by CreateKeystoreRequest.ValidateAll() if the designated constraints aren't met.

func (CreateKeystoreRequestMultiError) AllErrors

func (m CreateKeystoreRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateKeystoreRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateKeystoreRequestValidationError

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

CreateKeystoreRequestValidationError is the validation error returned by CreateKeystoreRequest.Validate if the designated constraints aren't met.

func (CreateKeystoreRequestValidationError) Cause

Cause function returns cause value.

func (CreateKeystoreRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateKeystoreRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateKeystoreRequestValidationError) Field

Field function returns field value.

func (CreateKeystoreRequestValidationError) Key

Key function returns key value.

func (CreateKeystoreRequestValidationError) Reason

Reason function returns reason value.

type CreateKeystoreResponse

type CreateKeystoreResponse struct {
	Config *v1.KeystoreInstanceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateKeystoreResponse) Descriptor deprecated

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

Deprecated: Use CreateKeystoreResponse.ProtoReflect.Descriptor instead.

func (*CreateKeystoreResponse) GetConfig

func (*CreateKeystoreResponse) ProtoMessage

func (*CreateKeystoreResponse) ProtoMessage()

func (*CreateKeystoreResponse) ProtoReflect

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

func (*CreateKeystoreResponse) Reset

func (x *CreateKeystoreResponse) Reset()

func (*CreateKeystoreResponse) String

func (x *CreateKeystoreResponse) String() string

func (*CreateKeystoreResponse) Validate

func (m *CreateKeystoreResponse) Validate() error

Validate checks the field values on CreateKeystoreResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateKeystoreResponse) ValidateAll

func (m *CreateKeystoreResponse) ValidateAll() error

ValidateAll checks the field values on CreateKeystoreResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateKeystoreResponseMultiError, or nil if none found.

type CreateKeystoreResponseMultiError

type CreateKeystoreResponseMultiError []error

CreateKeystoreResponseMultiError is an error wrapping multiple validation errors returned by CreateKeystoreResponse.ValidateAll() if the designated constraints aren't met.

func (CreateKeystoreResponseMultiError) AllErrors

func (m CreateKeystoreResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateKeystoreResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateKeystoreResponseValidationError

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

CreateKeystoreResponseValidationError is the validation error returned by CreateKeystoreResponse.Validate if the designated constraints aren't met.

func (CreateKeystoreResponseValidationError) Cause

Cause function returns cause value.

func (CreateKeystoreResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateKeystoreResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateKeystoreResponseValidationError) Field

Field function returns field value.

func (CreateKeystoreResponseValidationError) Key

Key function returns key value.

func (CreateKeystoreResponseValidationError) Reason

Reason function returns reason value.

type DeleteKeystoreRequest

type DeleteKeystoreRequest struct {
	Config *v1.KeystoreInstanceConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteKeystoreRequest) Descriptor deprecated

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

Deprecated: Use DeleteKeystoreRequest.ProtoReflect.Descriptor instead.

func (*DeleteKeystoreRequest) GetConfig

func (*DeleteKeystoreRequest) ProtoMessage

func (*DeleteKeystoreRequest) ProtoMessage()

func (*DeleteKeystoreRequest) ProtoReflect

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

func (*DeleteKeystoreRequest) Reset

func (x *DeleteKeystoreRequest) Reset()

func (*DeleteKeystoreRequest) String

func (x *DeleteKeystoreRequest) String() string

func (*DeleteKeystoreRequest) Validate

func (m *DeleteKeystoreRequest) Validate() error

Validate checks the field values on DeleteKeystoreRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteKeystoreRequest) ValidateAll

func (m *DeleteKeystoreRequest) ValidateAll() error

ValidateAll checks the field values on DeleteKeystoreRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteKeystoreRequestMultiError, or nil if none found.

type DeleteKeystoreRequestMultiError

type DeleteKeystoreRequestMultiError []error

DeleteKeystoreRequestMultiError is an error wrapping multiple validation errors returned by DeleteKeystoreRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteKeystoreRequestMultiError) AllErrors

func (m DeleteKeystoreRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteKeystoreRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteKeystoreRequestValidationError

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

DeleteKeystoreRequestValidationError is the validation error returned by DeleteKeystoreRequest.Validate if the designated constraints aren't met.

func (DeleteKeystoreRequestValidationError) Cause

Cause function returns cause value.

func (DeleteKeystoreRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteKeystoreRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteKeystoreRequestValidationError) Field

Field function returns field value.

func (DeleteKeystoreRequestValidationError) Key

Key function returns key value.

func (DeleteKeystoreRequestValidationError) Reason

Reason function returns reason value.

type DeleteKeystoreResponse

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

func (*DeleteKeystoreResponse) Descriptor deprecated

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

Deprecated: Use DeleteKeystoreResponse.ProtoReflect.Descriptor instead.

func (*DeleteKeystoreResponse) ProtoMessage

func (*DeleteKeystoreResponse) ProtoMessage()

func (*DeleteKeystoreResponse) ProtoReflect

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

func (*DeleteKeystoreResponse) Reset

func (x *DeleteKeystoreResponse) Reset()

func (*DeleteKeystoreResponse) String

func (x *DeleteKeystoreResponse) String() string

func (*DeleteKeystoreResponse) Validate

func (m *DeleteKeystoreResponse) Validate() error

Validate checks the field values on DeleteKeystoreResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteKeystoreResponse) ValidateAll

func (m *DeleteKeystoreResponse) ValidateAll() error

ValidateAll checks the field values on DeleteKeystoreResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteKeystoreResponseMultiError, or nil if none found.

type DeleteKeystoreResponseMultiError

type DeleteKeystoreResponseMultiError []error

DeleteKeystoreResponseMultiError is an error wrapping multiple validation errors returned by DeleteKeystoreResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteKeystoreResponseMultiError) AllErrors

func (m DeleteKeystoreResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteKeystoreResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteKeystoreResponseValidationError

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

DeleteKeystoreResponseValidationError is the validation error returned by DeleteKeystoreResponse.Validate if the designated constraints aren't met.

func (DeleteKeystoreResponseValidationError) Cause

Cause function returns cause value.

func (DeleteKeystoreResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteKeystoreResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteKeystoreResponseValidationError) Field

Field function returns field value.

func (DeleteKeystoreResponseValidationError) Key

Key function returns key value.

func (DeleteKeystoreResponseValidationError) Reason

Reason function returns reason value.

type KeystoreProviderClient

type KeystoreProviderClient interface {
	CreateKeystore(ctx context.Context, in *CreateKeystoreRequest, opts ...grpc.CallOption) (*CreateKeystoreResponse, error)
	DeleteKeystore(ctx context.Context, in *DeleteKeystoreRequest, opts ...grpc.CallOption) (*DeleteKeystoreResponse, error)
}

KeystoreProviderClient is the client API for KeystoreProvider 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 KeystoreProviderPluginClient

type KeystoreProviderPluginClient struct {
	KeystoreProviderClient
}

func (*KeystoreProviderPluginClient) GRPCServiceName

func (c *KeystoreProviderPluginClient) GRPCServiceName() string

func (*KeystoreProviderPluginClient) InitClient

func (*KeystoreProviderPluginClient) IsInitialized

func (c *KeystoreProviderPluginClient) IsInitialized() bool

func (KeystoreProviderPluginClient) Type

type KeystoreProviderServer

type KeystoreProviderServer interface {
	CreateKeystore(context.Context, *CreateKeystoreRequest) (*CreateKeystoreResponse, error)
	DeleteKeystore(context.Context, *DeleteKeystoreRequest) (*DeleteKeystoreResponse, error)
	// contains filtered or unexported methods
}

KeystoreProviderServer is the server API for KeystoreProvider service. All implementations must embed UnimplementedKeystoreProviderServer for forward compatibility

type UnimplementedKeystoreProviderServer

type UnimplementedKeystoreProviderServer struct {
}

UnimplementedKeystoreProviderServer must be embedded to have forward compatible implementations.

func (UnimplementedKeystoreProviderServer) CreateKeystore

func (UnimplementedKeystoreProviderServer) DeleteKeystore

type UnsafeKeystoreProviderServer

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

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

Jump to

Keyboard shortcuts

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