pb

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CertificateService_SetupCA_FullMethodName          = "/kmgm.CertificateService/SetupCA"
	CertificateService_IssuePreflight_FullMethodName   = "/kmgm.CertificateService/IssuePreflight"
	CertificateService_IssueCertificate_FullMethodName = "/kmgm.CertificateService/IssueCertificate"
	CertificateService_GetCertificate_FullMethodName   = "/kmgm.CertificateService/GetCertificate"
)
View Source
const ApiVersion = 3
View Source
const (
	HelloService_Hello_FullMethodName = "/kmgm.HelloService/Hello"
)
View Source
const (
	VersionService_GetVersion_FullMethodName = "/kmgm.VersionService/GetVersion"
)

Variables

View Source
var (
	AuthenticationType_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "ANONYMOUS",
		2: "BOOTSTRAP_TOKEN",
		3: "CLIENT_CERT",
	}
	AuthenticationType_value = map[string]int32{
		"UNSPECIFIED":     0,
		"ANONYMOUS":       1,
		"BOOTSTRAP_TOKEN": 2,
		"CLIENT_CERT":     3,
	}
)

Enum value maps for AuthenticationType.

View Source
var (
	KeyType_name = map[int32]string{
		0: "KEYTYPE_UNSPECIFIED",
		1: "KEYTYPE_RSA4096",
		2: "KEYTYPE_SECP256R1",
		3: "KEYTYPE_RSA2048",
	}
	KeyType_value = map[string]int32{
		"KEYTYPE_UNSPECIFIED": 0,
		"KEYTYPE_RSA4096":     1,
		"KEYTYPE_SECP256R1":   2,
		"KEYTYPE_RSA2048":     3,
	}
)

Enum value maps for KeyType.

View Source
var CertificateService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kmgm.CertificateService",
	HandlerType: (*CertificateServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetupCA",
			Handler:    _CertificateService_SetupCA_Handler,
		},
		{
			MethodName: "IssuePreflight",
			Handler:    _CertificateService_IssuePreflight_Handler,
		},
		{
			MethodName: "IssueCertificate",
			Handler:    _CertificateService_IssueCertificate_Handler,
		},
		{
			MethodName: "GetCertificate",
			Handler:    _CertificateService_GetCertificate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pb/kmgm.proto",
}

CertificateService_ServiceDesc is the grpc.ServiceDesc for CertificateService 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_pb_kmgm_proto protoreflect.FileDescriptor
View Source
var HelloService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kmgm.HelloService",
	HandlerType: (*HelloServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Hello",
			Handler:    _HelloService_Hello_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pb/kmgm.proto",
}

HelloService_ServiceDesc is the grpc.ServiceDesc for HelloService 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 VersionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kmgm.VersionService",
	HandlerType: (*VersionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetVersion",
			Handler:    _VersionService_GetVersion_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "pb/kmgm.proto",
}

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

Functions

func RegisterCertificateServiceServer

func RegisterCertificateServiceServer(s grpc.ServiceRegistrar, srv CertificateServiceServer)

func RegisterHelloServiceServer

func RegisterHelloServiceServer(s grpc.ServiceRegistrar, srv HelloServiceServer)

func RegisterVersionServiceServer

func RegisterVersionServiceServer(s grpc.ServiceRegistrar, srv VersionServiceServer)

Types

type AuthenticationType

type AuthenticationType int32
const (
	AuthenticationType_UNSPECIFIED     AuthenticationType = 0
	AuthenticationType_ANONYMOUS       AuthenticationType = 1
	AuthenticationType_BOOTSTRAP_TOKEN AuthenticationType = 2
	AuthenticationType_CLIENT_CERT     AuthenticationType = 3
)

func (AuthenticationType) Descriptor added in v0.2.1

func (AuthenticationType) Enum added in v0.2.1

func (AuthenticationType) EnumDescriptor deprecated

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

Deprecated: Use AuthenticationType.Descriptor instead.

func (AuthenticationType) Number added in v0.2.1

func (AuthenticationType) String

func (x AuthenticationType) String() string

func (AuthenticationType) Type added in v0.2.1

type CertificateServiceClient

type CertificateServiceClient interface {
	SetupCA(ctx context.Context, in *SetupCARequest, opts ...grpc.CallOption) (*SetupCAResponse, error)
	IssuePreflight(ctx context.Context, in *IssuePreflightRequest, opts ...grpc.CallOption) (*IssuePreflightResponse, error)
	IssueCertificate(ctx context.Context, in *IssueCertificateRequest, opts ...grpc.CallOption) (*IssueCertificateResponse, error)
	GetCertificate(ctx context.Context, in *GetCertificateRequest, opts ...grpc.CallOption) (*GetCertificateResponse, error)
}

CertificateServiceClient is the client API for CertificateService 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 CertificateServiceServer

type CertificateServiceServer interface {
	SetupCA(context.Context, *SetupCARequest) (*SetupCAResponse, error)
	IssuePreflight(context.Context, *IssuePreflightRequest) (*IssuePreflightResponse, error)
	IssueCertificate(context.Context, *IssueCertificateRequest) (*IssueCertificateResponse, error)
	GetCertificate(context.Context, *GetCertificateRequest) (*GetCertificateResponse, error)
	// contains filtered or unexported methods
}

CertificateServiceServer is the server API for CertificateService service. All implementations must embed UnimplementedCertificateServiceServer for forward compatibility

type DistinguishedName

type DistinguishedName struct {
	CommonName         string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	Organization       string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
	OrganizationalUnit string `protobuf:"bytes,3,opt,name=organizational_unit,json=organizationalUnit,proto3" json:"organizational_unit,omitempty"`
	Country            string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
	Locality           string `protobuf:"bytes,5,opt,name=locality,proto3" json:"locality,omitempty"`
	Province           string `protobuf:"bytes,6,opt,name=province,proto3" json:"province,omitempty"`
	StreetAddress      string `protobuf:"bytes,7,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
	PostalCode         string `protobuf:"bytes,8,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	// contains filtered or unexported fields
}

func (*DistinguishedName) Descriptor deprecated

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

Deprecated: Use DistinguishedName.ProtoReflect.Descriptor instead.

func (*DistinguishedName) GetCommonName

func (x *DistinguishedName) GetCommonName() string

func (*DistinguishedName) GetCountry

func (x *DistinguishedName) GetCountry() string

func (*DistinguishedName) GetLocality

func (x *DistinguishedName) GetLocality() string

func (*DistinguishedName) GetOrganization

func (x *DistinguishedName) GetOrganization() string

func (*DistinguishedName) GetOrganizationalUnit

func (x *DistinguishedName) GetOrganizationalUnit() string

func (*DistinguishedName) GetPostalCode

func (x *DistinguishedName) GetPostalCode() string

func (*DistinguishedName) GetProvince

func (x *DistinguishedName) GetProvince() string

func (*DistinguishedName) GetStreetAddress

func (x *DistinguishedName) GetStreetAddress() string

func (*DistinguishedName) ProtoMessage

func (*DistinguishedName) ProtoMessage()

func (*DistinguishedName) ProtoReflect added in v0.2.1

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

func (*DistinguishedName) Reset

func (x *DistinguishedName) Reset()

func (*DistinguishedName) String

func (x *DistinguishedName) String() string

type GetCertificateRequest added in v0.2.1

type GetCertificateRequest struct {
	Profile      string `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	SerialNumber int64  `protobuf:"varint,2,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCertificateRequest) Descriptor deprecated added in v0.2.1

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

Deprecated: Use GetCertificateRequest.ProtoReflect.Descriptor instead.

func (*GetCertificateRequest) GetProfile added in v0.2.1

func (x *GetCertificateRequest) GetProfile() string

func (*GetCertificateRequest) GetSerialNumber added in v0.2.1

func (x *GetCertificateRequest) GetSerialNumber() int64

func (*GetCertificateRequest) ProtoMessage added in v0.2.1

func (*GetCertificateRequest) ProtoMessage()

func (*GetCertificateRequest) ProtoReflect added in v0.2.1

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

func (*GetCertificateRequest) Reset added in v0.2.1

func (x *GetCertificateRequest) Reset()

func (*GetCertificateRequest) String added in v0.2.1

func (x *GetCertificateRequest) String() string

type GetCertificateResponse added in v0.2.1

type GetCertificateResponse struct {
	Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCertificateResponse) Descriptor deprecated added in v0.2.1

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

Deprecated: Use GetCertificateResponse.ProtoReflect.Descriptor instead.

func (*GetCertificateResponse) GetCertificate added in v0.2.1

func (x *GetCertificateResponse) GetCertificate() []byte

func (*GetCertificateResponse) ProtoMessage added in v0.2.1

func (*GetCertificateResponse) ProtoMessage()

func (*GetCertificateResponse) ProtoReflect added in v0.2.1

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

func (*GetCertificateResponse) Reset added in v0.2.1

func (x *GetCertificateResponse) Reset()

func (*GetCertificateResponse) String added in v0.2.1

func (x *GetCertificateResponse) String() string

type GetVersionRequest

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

func (*GetVersionRequest) Descriptor deprecated

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

Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.

func (*GetVersionRequest) ProtoMessage

func (*GetVersionRequest) ProtoMessage()

func (*GetVersionRequest) ProtoReflect added in v0.2.1

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

func (*GetVersionRequest) Reset

func (x *GetVersionRequest) Reset()

func (*GetVersionRequest) String

func (x *GetVersionRequest) String() string

type GetVersionResponse

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

func (*GetVersionResponse) Descriptor deprecated

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

Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead.

func (*GetVersionResponse) GetCommit

func (x *GetVersionResponse) GetCommit() string

func (*GetVersionResponse) GetVersion

func (x *GetVersionResponse) GetVersion() string

func (*GetVersionResponse) ProtoMessage

func (*GetVersionResponse) ProtoMessage()

func (*GetVersionResponse) ProtoReflect added in v0.2.1

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

func (*GetVersionResponse) Reset

func (x *GetVersionResponse) Reset()

func (*GetVersionResponse) String

func (x *GetVersionResponse) String() string

type HelloRequest

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

func (*HelloRequest) Descriptor deprecated

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

Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.

func (*HelloRequest) ProtoMessage

func (*HelloRequest) ProtoMessage()

func (*HelloRequest) ProtoReflect added in v0.2.1

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

func (*HelloRequest) Reset

func (x *HelloRequest) Reset()

func (*HelloRequest) String

func (x *HelloRequest) String() string

type HelloResponse

type HelloResponse struct {
	ApiVersion         int32              `protobuf:"varint,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	AuthenticationType AuthenticationType `` /* 145-byte string literal not displayed */
	AuthenticatedUser  string             `protobuf:"bytes,3,opt,name=authenticated_user,json=authenticatedUser,proto3" json:"authenticated_user,omitempty"`
	// contains filtered or unexported fields
}

func (*HelloResponse) Descriptor deprecated

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

Deprecated: Use HelloResponse.ProtoReflect.Descriptor instead.

func (*HelloResponse) GetApiVersion

func (x *HelloResponse) GetApiVersion() int32

func (*HelloResponse) GetAuthenticatedUser

func (x *HelloResponse) GetAuthenticatedUser() string

func (*HelloResponse) GetAuthenticationType

func (x *HelloResponse) GetAuthenticationType() AuthenticationType

func (*HelloResponse) ProtoMessage

func (*HelloResponse) ProtoMessage()

func (*HelloResponse) ProtoReflect added in v0.2.1

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

func (*HelloResponse) Reset

func (x *HelloResponse) Reset()

func (*HelloResponse) String

func (x *HelloResponse) String() string

type HelloServiceClient

type HelloServiceClient interface {
	Hello(ctx context.Context, in *HelloRequest, opts ...grpc.CallOption) (*HelloResponse, error)
}

HelloServiceClient is the client API for HelloService 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 HelloServiceServer

type HelloServiceServer interface {
	Hello(context.Context, *HelloRequest) (*HelloResponse, error)
	// contains filtered or unexported methods
}

HelloServiceServer is the server API for HelloService service. All implementations must embed UnimplementedHelloServiceServer for forward compatibility

type IssueCertificateRequest

type IssueCertificateRequest struct {
	PublicKey        []byte             `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Subject          *DistinguishedName `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Names            *Names             `protobuf:"bytes,3,opt,name=names,proto3" json:"names,omitempty"`
	NotAfterUnixtime int64              `protobuf:"varint,4,opt,name=not_after_unixtime,json=notAfterUnixtime,proto3" json:"not_after_unixtime,omitempty"`
	KeyUsage         *KeyUsage          `protobuf:"bytes,5,opt,name=key_usage,json=keyUsage,proto3" json:"key_usage,omitempty"`
	Profile          string             `protobuf:"bytes,6,opt,name=profile,proto3" json:"profile,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueCertificateRequest) Descriptor deprecated

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

Deprecated: Use IssueCertificateRequest.ProtoReflect.Descriptor instead.

func (*IssueCertificateRequest) GetKeyUsage

func (x *IssueCertificateRequest) GetKeyUsage() *KeyUsage

func (*IssueCertificateRequest) GetNames

func (x *IssueCertificateRequest) GetNames() *Names

func (*IssueCertificateRequest) GetNotAfterUnixtime

func (x *IssueCertificateRequest) GetNotAfterUnixtime() int64

func (*IssueCertificateRequest) GetProfile

func (x *IssueCertificateRequest) GetProfile() string

func (*IssueCertificateRequest) GetPublicKey

func (x *IssueCertificateRequest) GetPublicKey() []byte

func (*IssueCertificateRequest) GetSubject

func (x *IssueCertificateRequest) GetSubject() *DistinguishedName

func (*IssueCertificateRequest) ProtoMessage

func (*IssueCertificateRequest) ProtoMessage()

func (*IssueCertificateRequest) ProtoReflect added in v0.2.1

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

func (*IssueCertificateRequest) Reset

func (x *IssueCertificateRequest) Reset()

func (*IssueCertificateRequest) String

func (x *IssueCertificateRequest) String() string

type IssueCertificateResponse

type IssueCertificateResponse struct {
	Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// contains filtered or unexported fields
}

func (*IssueCertificateResponse) Descriptor deprecated

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

Deprecated: Use IssueCertificateResponse.ProtoReflect.Descriptor instead.

func (*IssueCertificateResponse) GetCertificate

func (x *IssueCertificateResponse) GetCertificate() []byte

func (*IssueCertificateResponse) ProtoMessage

func (*IssueCertificateResponse) ProtoMessage()

func (*IssueCertificateResponse) ProtoReflect added in v0.2.1

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

func (*IssueCertificateResponse) Reset

func (x *IssueCertificateResponse) Reset()

func (*IssueCertificateResponse) String

func (x *IssueCertificateResponse) String() string

type IssuePreflightRequest added in v0.2.2

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

func (*IssuePreflightRequest) Descriptor deprecated added in v0.2.2

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

Deprecated: Use IssuePreflightRequest.ProtoReflect.Descriptor instead.

func (*IssuePreflightRequest) GetProfile added in v0.2.2

func (x *IssuePreflightRequest) GetProfile() string

func (*IssuePreflightRequest) ProtoMessage added in v0.2.2

func (*IssuePreflightRequest) ProtoMessage()

func (*IssuePreflightRequest) ProtoReflect added in v0.2.2

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

func (*IssuePreflightRequest) Reset added in v0.2.2

func (x *IssuePreflightRequest) Reset()

func (*IssuePreflightRequest) String added in v0.2.2

func (x *IssuePreflightRequest) String() string

type IssuePreflightResponse added in v0.2.2

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

func (*IssuePreflightResponse) Descriptor deprecated added in v0.2.2

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

Deprecated: Use IssuePreflightResponse.ProtoReflect.Descriptor instead.

func (*IssuePreflightResponse) ProtoMessage added in v0.2.2

func (*IssuePreflightResponse) ProtoMessage()

func (*IssuePreflightResponse) ProtoReflect added in v0.2.2

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

func (*IssuePreflightResponse) Reset added in v0.2.2

func (x *IssuePreflightResponse) Reset()

func (*IssuePreflightResponse) String added in v0.2.2

func (x *IssuePreflightResponse) String() string

type KeyType added in v0.3.0

type KeyType int32

Keep this in sync with wcrypto.KeyType

const (
	KeyType_KEYTYPE_UNSPECIFIED KeyType = 0
	KeyType_KEYTYPE_RSA4096     KeyType = 1
	KeyType_KEYTYPE_SECP256R1   KeyType = 2
	KeyType_KEYTYPE_RSA2048     KeyType = 3
)

func (KeyType) Descriptor added in v0.3.0

func (KeyType) Descriptor() protoreflect.EnumDescriptor

func (KeyType) Enum added in v0.3.0

func (x KeyType) Enum() *KeyType

func (KeyType) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use KeyType.Descriptor instead.

func (KeyType) Number added in v0.3.0

func (x KeyType) Number() protoreflect.EnumNumber

func (KeyType) String added in v0.3.0

func (x KeyType) String() string

func (KeyType) Type added in v0.3.0

func (KeyType) Type() protoreflect.EnumType

type KeyUsage

type KeyUsage struct {
	KeyUsage     uint32   `protobuf:"varint,1,opt,name=key_usage,json=keyUsage,proto3" json:"key_usage,omitempty"`
	ExtKeyUsages []uint32 `protobuf:"varint,2,rep,packed,name=ext_key_usages,json=extKeyUsages,proto3" json:"ext_key_usages,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyUsage) Descriptor deprecated

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

Deprecated: Use KeyUsage.ProtoReflect.Descriptor instead.

func (*KeyUsage) GetExtKeyUsages

func (x *KeyUsage) GetExtKeyUsages() []uint32

func (*KeyUsage) GetKeyUsage

func (x *KeyUsage) GetKeyUsage() uint32

func (*KeyUsage) ProtoMessage

func (*KeyUsage) ProtoMessage()

func (*KeyUsage) ProtoReflect added in v0.2.1

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

func (*KeyUsage) Reset

func (x *KeyUsage) Reset()

func (*KeyUsage) String

func (x *KeyUsage) String() string

type Names

type Names struct {
	Dnsnames []string `protobuf:"bytes,1,rep,name=dnsnames,proto3" json:"dnsnames,omitempty"`
	Ipaddrs  []string `protobuf:"bytes,2,rep,name=ipaddrs,proto3" json:"ipaddrs,omitempty"`
	// contains filtered or unexported fields
}

func (*Names) Descriptor deprecated

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

Deprecated: Use Names.ProtoReflect.Descriptor instead.

func (*Names) GetDnsnames added in v0.1.0

func (x *Names) GetDnsnames() []string

func (*Names) GetIpaddrs added in v0.1.0

func (x *Names) GetIpaddrs() []string

func (*Names) ProtoMessage

func (*Names) ProtoMessage()

func (*Names) ProtoReflect added in v0.2.1

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

func (*Names) Reset

func (x *Names) Reset()

func (*Names) String

func (x *Names) String() string

type SetupCARequest added in v0.3.0

type SetupCARequest struct {
	Profile          string             `protobuf:"bytes,1,opt,name=profile,proto3" json:"profile,omitempty"`
	Subject          *DistinguishedName `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	KeyType          KeyType            `protobuf:"varint,3,opt,name=key_type,json=keyType,proto3,enum=kmgm.KeyType" json:"key_type,omitempty"`
	NotAfterUnixtime int64              `protobuf:"varint,4,opt,name=not_after_unixtime,json=notAfterUnixtime,proto3" json:"not_after_unixtime,omitempty"`
	// contains filtered or unexported fields
}

func (*SetupCARequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use SetupCARequest.ProtoReflect.Descriptor instead.

func (*SetupCARequest) GetKeyType added in v0.3.0

func (x *SetupCARequest) GetKeyType() KeyType

func (*SetupCARequest) GetNotAfterUnixtime added in v0.3.0

func (x *SetupCARequest) GetNotAfterUnixtime() int64

func (*SetupCARequest) GetProfile added in v0.3.0

func (x *SetupCARequest) GetProfile() string

func (*SetupCARequest) GetSubject added in v0.3.0

func (x *SetupCARequest) GetSubject() *DistinguishedName

func (*SetupCARequest) ProtoMessage added in v0.3.0

func (*SetupCARequest) ProtoMessage()

func (*SetupCARequest) ProtoReflect added in v0.3.0

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

func (*SetupCARequest) Reset added in v0.3.0

func (x *SetupCARequest) Reset()

func (*SetupCARequest) String added in v0.3.0

func (x *SetupCARequest) String() string

type SetupCAResponse added in v0.3.0

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

func (*SetupCAResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use SetupCAResponse.ProtoReflect.Descriptor instead.

func (*SetupCAResponse) ProtoMessage added in v0.3.0

func (*SetupCAResponse) ProtoMessage()

func (*SetupCAResponse) ProtoReflect added in v0.3.0

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

func (*SetupCAResponse) Reset added in v0.3.0

func (x *SetupCAResponse) Reset()

func (*SetupCAResponse) String added in v0.3.0

func (x *SetupCAResponse) String() string

type UnimplementedCertificateServiceServer added in v0.2.1

type UnimplementedCertificateServiceServer struct {
}

UnimplementedCertificateServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCertificateServiceServer) GetCertificate added in v0.2.1

func (UnimplementedCertificateServiceServer) IssueCertificate added in v0.2.1

func (UnimplementedCertificateServiceServer) IssuePreflight added in v0.2.2

func (UnimplementedCertificateServiceServer) SetupCA added in v0.3.0

type UnimplementedHelloServiceServer added in v0.2.1

type UnimplementedHelloServiceServer struct {
}

UnimplementedHelloServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedHelloServiceServer) Hello added in v0.2.1

type UnimplementedVersionServiceServer added in v0.2.1

type UnimplementedVersionServiceServer struct {
}

UnimplementedVersionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedVersionServiceServer) GetVersion added in v0.2.1

type UnsafeCertificateServiceServer added in v0.2.4

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

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

type UnsafeHelloServiceServer added in v0.2.4

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

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

type UnsafeVersionServiceServer added in v0.2.4

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

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

type VersionServiceClient

type VersionServiceClient interface {
	GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*GetVersionResponse, error)
}

VersionServiceClient is the client API for VersionService 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 VersionServiceServer

type VersionServiceServer interface {
	GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
	// contains filtered or unexported methods
}

VersionServiceServer is the server API for VersionService service. All implementations must embed UnimplementedVersionServiceServer for forward compatibility

Jump to

Keyboard shortcuts

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