cav1

package
v0.0.0-...-94cd6a6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CaService_IssueCertificate_FullMethodName     = "/cloudstack.management.ca.v1.CaService/IssueCertificate"
	CaService_ListCAProviders_FullMethodName      = "/cloudstack.management.ca.v1.CaService/ListCAProviders"
	CaService_ListCaCertificate_FullMethodName    = "/cloudstack.management.ca.v1.CaService/ListCaCertificate"
	CaService_ProvisionCertificate_FullMethodName = "/cloudstack.management.ca.v1.CaService/ProvisionCertificate"
	CaService_RevokeCertificate_FullMethodName    = "/cloudstack.management.ca.v1.CaService/RevokeCertificate"
)

Variables

View Source
var CaService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cloudstack.management.ca.v1.CaService",
	HandlerType: (*CaServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "IssueCertificate",
			Handler:    _CaService_IssueCertificate_Handler,
		},
		{
			MethodName: "ListCAProviders",
			Handler:    _CaService_ListCAProviders_Handler,
		},
		{
			MethodName: "ListCaCertificate",
			Handler:    _CaService_ListCaCertificate_Handler,
		},
		{
			MethodName: "ProvisionCertificate",
			Handler:    _CaService_ProvisionCertificate_Handler,
		},
		{
			MethodName: "RevokeCertificate",
			Handler:    _CaService_RevokeCertificate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cloudstack/management/ca/v1/ca.gen.proto",
}

CaService_ServiceDesc is the grpc.ServiceDesc for CaService 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_cloudstack_management_ca_v1_ca_gen_proto protoreflect.FileDescriptor

Functions

func RegisterCaServiceServer

func RegisterCaServiceServer(s grpc.ServiceRegistrar, srv CaServiceServer)

Types

type CAProvider

type CAProvider struct {

	// The ID of the CAProvider
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the CAProvider
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the CAProvider
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the CAProvider
	Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	// The date this entity was created
	Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
	// contains filtered or unexported fields
}

CAProvider represents a CAProvider Item

func (*CAProvider) Descriptor deprecated

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

Deprecated: Use CAProvider.ProtoReflect.Descriptor instead.

func (*CAProvider) GetCreated

func (x *CAProvider) GetCreated() string

func (*CAProvider) GetDescription

func (x *CAProvider) GetDescription() string

func (*CAProvider) GetDisplayName

func (x *CAProvider) GetDisplayName() string

func (*CAProvider) GetId

func (x *CAProvider) GetId() string

func (*CAProvider) GetName

func (x *CAProvider) GetName() string

func (*CAProvider) ProtoMessage

func (*CAProvider) ProtoMessage()

func (*CAProvider) ProtoReflect

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

func (*CAProvider) Reset

func (x *CAProvider) Reset()

func (*CAProvider) String

func (x *CAProvider) String() string

type CaServiceClient

type CaServiceClient interface {
	// IssueCertificate Issues a client certificate using configured or provided CA plugin
	IssueCertificate(ctx context.Context, in *IssueCertificateRequest, opts ...grpc.CallOption) (*IssueCertificateResponse, error)
	// ListCAProviders Lists available certificate authority providers in CloudStack
	ListCAProviders(ctx context.Context, in *ListCAProvidersRequest, opts ...grpc.CallOption) (*ListCAProvidersResponse, error)
	// ListCaCertificate Lists the CA public certificate(s) as support by the configured/provided CA plugin
	ListCaCertificate(ctx context.Context, in *ListCaCertificateRequest, opts ...grpc.CallOption) (*ListCaCertificateResponse, error)
	// ProvisionCertificate Issues and propagates client certificate on a connected host/agent using configured CA plugin
	ProvisionCertificate(ctx context.Context, in *ProvisionCertificateRequest, opts ...grpc.CallOption) (*ProvisionCertificateResponse, error)
	// RevokeCertificate Revokes certificate using configured CA plugin
	RevokeCertificate(ctx context.Context, in *RevokeCertificateRequest, opts ...grpc.CallOption) (*RevokeCertificateResponse, error)
}

CaServiceClient is the client API for CaService 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.

CaService provides operations for managing Cas

func NewCaServiceClient

func NewCaServiceClient(cc grpc.ClientConnInterface) CaServiceClient

type CaServiceServer

type CaServiceServer interface {
	// IssueCertificate Issues a client certificate using configured or provided CA plugin
	IssueCertificate(context.Context, *IssueCertificateRequest) (*IssueCertificateResponse, error)
	// ListCAProviders Lists available certificate authority providers in CloudStack
	ListCAProviders(context.Context, *ListCAProvidersRequest) (*ListCAProvidersResponse, error)
	// ListCaCertificate Lists the CA public certificate(s) as support by the configured/provided CA plugin
	ListCaCertificate(context.Context, *ListCaCertificateRequest) (*ListCaCertificateResponse, error)
	// ProvisionCertificate Issues and propagates client certificate on a connected host/agent using configured CA plugin
	ProvisionCertificate(context.Context, *ProvisionCertificateRequest) (*ProvisionCertificateResponse, error)
	// RevokeCertificate Revokes certificate using configured CA plugin
	RevokeCertificate(context.Context, *RevokeCertificateRequest) (*RevokeCertificateResponse, error)
	// contains filtered or unexported methods
}

CaServiceServer is the server API for CaService service. All implementations must embed UnimplementedCaServiceServer for forward compatibility.

CaService provides operations for managing Cas

type Certificate

type Certificate struct {

	// The ID of the Certificate
	Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// The name of the Certificate
	Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// The display name of the Certificate
	DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"`
	// The description of the Certificate
	Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
	// The date this entity was created
	Created *string `protobuf:"bytes,5,opt,name=created" json:"created,omitempty"`
	// contains filtered or unexported fields
}

Certificate represents a Certificate Item

func (*Certificate) Descriptor deprecated

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

Deprecated: Use Certificate.ProtoReflect.Descriptor instead.

func (*Certificate) GetCreated

func (x *Certificate) GetCreated() string

func (*Certificate) GetDescription

func (x *Certificate) GetDescription() string

func (*Certificate) GetDisplayName

func (x *Certificate) GetDisplayName() string

func (*Certificate) GetId

func (x *Certificate) GetId() string

func (*Certificate) GetName

func (x *Certificate) GetName() string

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) ProtoReflect

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

func (*Certificate) Reset

func (x *Certificate) Reset()

func (*Certificate) String

func (x *Certificate) String() string

type IssueCertificateRequest

type IssueCertificateRequest struct {

	// The certificate signing request (in pem format), if CSR is not provided then configured/provided options are considered
	Csr *string `protobuf:"bytes,1,opt,name=csr" json:"csr,omitempty"`
	// Comma separated list of domains, the certificate should be issued for. When csr is not provided, the first domain is used as a subject/CN
	Domains *string `protobuf:"bytes,2,opt,name=domains" json:"domains,omitempty"`
	// Comma separated list of IP addresses, the certificate should be issued for
	Addresses *string `protobuf:"bytes,3,opt,name=addresses" json:"addresses,omitempty"`
	// Certificate validity duration in number of days, when not provided the default configured value will be used
	ValidityDuration *int32 `protobuf:"varint,4,opt,name=validity_duration,json=validityDuration" json:"validity_duration,omitempty"`
	// Name of the CA service provider, otherwise the default configured provider plugin will be used
	Provider      *string `protobuf:"bytes,5,opt,name=provider" json:"provider,omitempty"`
	StartEventId  *int64  `protobuf:"varint,6,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,7,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,8,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

IssueCertificateRequest represents the parameters for issues a client certificate using configured or provided ca plugin

func (*IssueCertificateRequest) Descriptor deprecated

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

Deprecated: Use IssueCertificateRequest.ProtoReflect.Descriptor instead.

func (*IssueCertificateRequest) GetAddresses

func (x *IssueCertificateRequest) GetAddresses() string

func (*IssueCertificateRequest) GetCsr

func (x *IssueCertificateRequest) GetCsr() string

func (*IssueCertificateRequest) GetDomains

func (x *IssueCertificateRequest) GetDomains() string

func (*IssueCertificateRequest) GetInjectedJobId

func (x *IssueCertificateRequest) GetInjectedJobId() string

func (*IssueCertificateRequest) GetProvider

func (x *IssueCertificateRequest) GetProvider() string

func (*IssueCertificateRequest) GetResponseType

func (x *IssueCertificateRequest) GetResponseType() string

func (*IssueCertificateRequest) GetStartEventId

func (x *IssueCertificateRequest) GetStartEventId() int64

func (*IssueCertificateRequest) GetValidityDuration

func (x *IssueCertificateRequest) GetValidityDuration() int32

func (*IssueCertificateRequest) ProtoMessage

func (*IssueCertificateRequest) ProtoMessage()

func (*IssueCertificateRequest) ProtoReflect

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 {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

IssueCertificateResponse represents the response from issues a client certificate using configured or provided ca plugin

func (*IssueCertificateResponse) Descriptor deprecated

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

Deprecated: Use IssueCertificateResponse.ProtoReflect.Descriptor instead.

func (*IssueCertificateResponse) GetResult

func (x *IssueCertificateResponse) GetResult() *Result

func (*IssueCertificateResponse) ProtoMessage

func (*IssueCertificateResponse) ProtoMessage()

func (*IssueCertificateResponse) ProtoReflect

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

func (*IssueCertificateResponse) Reset

func (x *IssueCertificateResponse) Reset()

func (*IssueCertificateResponse) String

func (x *IssueCertificateResponse) String() string

type ListCAProvidersRequest

type ListCAProvidersRequest struct {

	// List CA service provider by name
	Name         *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListCAProvidersRequest represents the parameters for lists available certificate authority providers in cloudstack

func (*ListCAProvidersRequest) Descriptor deprecated

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

Deprecated: Use ListCAProvidersRequest.ProtoReflect.Descriptor instead.

func (*ListCAProvidersRequest) GetName

func (x *ListCAProvidersRequest) GetName() string

func (*ListCAProvidersRequest) GetResponseType

func (x *ListCAProvidersRequest) GetResponseType() string

func (*ListCAProvidersRequest) ProtoMessage

func (*ListCAProvidersRequest) ProtoMessage()

func (*ListCAProvidersRequest) ProtoReflect

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

func (*ListCAProvidersRequest) Reset

func (x *ListCAProvidersRequest) Reset()

func (*ListCAProvidersRequest) String

func (x *ListCAProvidersRequest) String() string

type ListCAProvidersResponse

type ListCAProvidersResponse struct {

	// The list of CAProviders
	Items []*CAProvider `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of CAProviders
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListCAProvidersResponse represents the response from lists available certificate authority providers in cloudstack

func (*ListCAProvidersResponse) Descriptor deprecated

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

Deprecated: Use ListCAProvidersResponse.ProtoReflect.Descriptor instead.

func (*ListCAProvidersResponse) GetItems

func (x *ListCAProvidersResponse) GetItems() []*CAProvider

func (*ListCAProvidersResponse) GetTotalCount

func (x *ListCAProvidersResponse) GetTotalCount() int32

func (*ListCAProvidersResponse) ProtoMessage

func (*ListCAProvidersResponse) ProtoMessage()

func (*ListCAProvidersResponse) ProtoReflect

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

func (*ListCAProvidersResponse) Reset

func (x *ListCAProvidersResponse) Reset()

func (*ListCAProvidersResponse) String

func (x *ListCAProvidersResponse) String() string

type ListCaCertificateRequest

type ListCaCertificateRequest struct {

	// Name of the CA service provider, otherwise the default configured provider plugin will be used
	Provider     *string `protobuf:"bytes,1,opt,name=provider" json:"provider,omitempty"`
	ResponseType *string `protobuf:"bytes,2,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ListCaCertificateRequest represents the parameters for lists the ca public certificate(s) as support by the configured/provided ca plugin

func (*ListCaCertificateRequest) Descriptor deprecated

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

Deprecated: Use ListCaCertificateRequest.ProtoReflect.Descriptor instead.

func (*ListCaCertificateRequest) GetProvider

func (x *ListCaCertificateRequest) GetProvider() string

func (*ListCaCertificateRequest) GetResponseType

func (x *ListCaCertificateRequest) GetResponseType() string

func (*ListCaCertificateRequest) ProtoMessage

func (*ListCaCertificateRequest) ProtoMessage()

func (*ListCaCertificateRequest) ProtoReflect

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

func (*ListCaCertificateRequest) Reset

func (x *ListCaCertificateRequest) Reset()

func (*ListCaCertificateRequest) String

func (x *ListCaCertificateRequest) String() string

type ListCaCertificateResponse

type ListCaCertificateResponse struct {

	// The list of Certificates
	Items []*Certificate `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
	// The total count of Certificates
	TotalCount *int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount" json:"total_count,omitempty"`
	// contains filtered or unexported fields
}

ListCaCertificateResponse represents the response from lists the ca public certificate(s) as support by the configured/provided ca plugin

func (*ListCaCertificateResponse) Descriptor deprecated

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

Deprecated: Use ListCaCertificateResponse.ProtoReflect.Descriptor instead.

func (*ListCaCertificateResponse) GetItems

func (x *ListCaCertificateResponse) GetItems() []*Certificate

func (*ListCaCertificateResponse) GetTotalCount

func (x *ListCaCertificateResponse) GetTotalCount() int32

func (*ListCaCertificateResponse) ProtoMessage

func (*ListCaCertificateResponse) ProtoMessage()

func (*ListCaCertificateResponse) ProtoReflect

func (*ListCaCertificateResponse) Reset

func (x *ListCaCertificateResponse) Reset()

func (*ListCaCertificateResponse) String

func (x *ListCaCertificateResponse) String() string

type ProvisionCertificateRequest

type ProvisionCertificateRequest struct {

	// The host/agent uuid to which the certificate has to be provisioned (issued and propagated)
	HostId *int64 `protobuf:"varint,1,opt,name=host_id,json=hostId" json:"host_id,omitempty"`
	// Whether to attempt reconnection with host/agent after successful deployment of certificate. When option is not provided, configured global setting is used
	Reconnect *bool `protobuf:"varint,2,opt,name=reconnect" json:"reconnect,omitempty"`
	// Name of the CA service provider, otherwise the default configured provider plugin will be used
	Provider      *string `protobuf:"bytes,3,opt,name=provider" json:"provider,omitempty"`
	StartEventId  *int64  `protobuf:"varint,4,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,5,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

ProvisionCertificateRequest represents the parameters for issues and propagates client certificate on a connected host/agent using configured ca plugin

func (*ProvisionCertificateRequest) Descriptor deprecated

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

Deprecated: Use ProvisionCertificateRequest.ProtoReflect.Descriptor instead.

func (*ProvisionCertificateRequest) GetHostId

func (x *ProvisionCertificateRequest) GetHostId() int64

func (*ProvisionCertificateRequest) GetInjectedJobId

func (x *ProvisionCertificateRequest) GetInjectedJobId() string

func (*ProvisionCertificateRequest) GetProvider

func (x *ProvisionCertificateRequest) GetProvider() string

func (*ProvisionCertificateRequest) GetReconnect

func (x *ProvisionCertificateRequest) GetReconnect() bool

func (*ProvisionCertificateRequest) GetResponseType

func (x *ProvisionCertificateRequest) GetResponseType() string

func (*ProvisionCertificateRequest) GetStartEventId

func (x *ProvisionCertificateRequest) GetStartEventId() int64

func (*ProvisionCertificateRequest) ProtoMessage

func (*ProvisionCertificateRequest) ProtoMessage()

func (*ProvisionCertificateRequest) ProtoReflect

func (*ProvisionCertificateRequest) Reset

func (x *ProvisionCertificateRequest) Reset()

func (*ProvisionCertificateRequest) String

func (x *ProvisionCertificateRequest) String() string

type ProvisionCertificateResponse

type ProvisionCertificateResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

ProvisionCertificateResponse represents the response from issues and propagates client certificate on a connected host/agent using configured ca plugin

func (*ProvisionCertificateResponse) Descriptor deprecated

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

Deprecated: Use ProvisionCertificateResponse.ProtoReflect.Descriptor instead.

func (*ProvisionCertificateResponse) GetResult

func (x *ProvisionCertificateResponse) GetResult() *Result

func (*ProvisionCertificateResponse) ProtoMessage

func (*ProvisionCertificateResponse) ProtoMessage()

func (*ProvisionCertificateResponse) ProtoReflect

func (*ProvisionCertificateResponse) Reset

func (x *ProvisionCertificateResponse) Reset()

func (*ProvisionCertificateResponse) String

type Result

type Result struct {

	// Whether the operation was successful
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// Any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// The ID of the resource affected by the operation
	Id *string `protobuf:"bytes,3,opt,name=id" json:"id,omitempty"`
	// The job ID for an async operation
	JobId *string `protobuf:"bytes,4,opt,name=job_id,json=jobId" json:"job_id,omitempty"`
	// The status of the job
	JobStatus *string `protobuf:"bytes,5,opt,name=job_status,json=jobStatus" json:"job_status,omitempty"`
	// contains filtered or unexported fields
}

Result represents a generic operation result

func (*Result) Descriptor deprecated

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

Deprecated: Use Result.ProtoReflect.Descriptor instead.

func (*Result) GetDisplayText

func (x *Result) GetDisplayText() string

func (*Result) GetId

func (x *Result) GetId() string

func (*Result) GetJobId

func (x *Result) GetJobId() string

func (*Result) GetJobStatus

func (x *Result) GetJobStatus() string

func (*Result) GetSuccess

func (x *Result) GetSuccess() bool

func (*Result) ProtoMessage

func (*Result) ProtoMessage()

func (*Result) ProtoReflect

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

func (*Result) Reset

func (x *Result) Reset()

func (*Result) String

func (x *Result) String() string

type RevokeCertificateRequest

type RevokeCertificateRequest struct {

	// The certificate serial number, as a hex value
	Serial *string `protobuf:"bytes,1,opt,name=serial" json:"serial,omitempty"`
	// The certificate CN
	Cn *string `protobuf:"bytes,2,opt,name=cn" json:"cn,omitempty"`
	// Name of the CA service provider, otherwise the default configured provider plugin will be used
	Provider      *string `protobuf:"bytes,3,opt,name=provider" json:"provider,omitempty"`
	StartEventId  *int64  `protobuf:"varint,4,opt,name=start_event_id,json=startEventId" json:"start_event_id,omitempty"`
	InjectedJobId *string `protobuf:"bytes,5,opt,name=injected_job_id,json=injectedJobId" json:"injected_job_id,omitempty"`
	ResponseType  *string `protobuf:"bytes,6,opt,name=response_type,json=responseType" json:"response_type,omitempty"`
	// contains filtered or unexported fields
}

RevokeCertificateRequest represents the parameters for revokes certificate using configured ca plugin

func (*RevokeCertificateRequest) Descriptor deprecated

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

Deprecated: Use RevokeCertificateRequest.ProtoReflect.Descriptor instead.

func (*RevokeCertificateRequest) GetCn

func (x *RevokeCertificateRequest) GetCn() string

func (*RevokeCertificateRequest) GetInjectedJobId

func (x *RevokeCertificateRequest) GetInjectedJobId() string

func (*RevokeCertificateRequest) GetProvider

func (x *RevokeCertificateRequest) GetProvider() string

func (*RevokeCertificateRequest) GetResponseType

func (x *RevokeCertificateRequest) GetResponseType() string

func (*RevokeCertificateRequest) GetSerial

func (x *RevokeCertificateRequest) GetSerial() string

func (*RevokeCertificateRequest) GetStartEventId

func (x *RevokeCertificateRequest) GetStartEventId() int64

func (*RevokeCertificateRequest) ProtoMessage

func (*RevokeCertificateRequest) ProtoMessage()

func (*RevokeCertificateRequest) ProtoReflect

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

func (*RevokeCertificateRequest) Reset

func (x *RevokeCertificateRequest) Reset()

func (*RevokeCertificateRequest) String

func (x *RevokeCertificateRequest) String() string

type RevokeCertificateResponse

type RevokeCertificateResponse struct {

	// The Result
	Result *Result `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
	// contains filtered or unexported fields
}

RevokeCertificateResponse represents the response from revokes certificate using configured ca plugin

func (*RevokeCertificateResponse) Descriptor deprecated

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

Deprecated: Use RevokeCertificateResponse.ProtoReflect.Descriptor instead.

func (*RevokeCertificateResponse) GetResult

func (x *RevokeCertificateResponse) GetResult() *Result

func (*RevokeCertificateResponse) ProtoMessage

func (*RevokeCertificateResponse) ProtoMessage()

func (*RevokeCertificateResponse) ProtoReflect

func (*RevokeCertificateResponse) Reset

func (x *RevokeCertificateResponse) Reset()

func (*RevokeCertificateResponse) String

func (x *RevokeCertificateResponse) String() string

type Success

type Success struct {

	// true if operation is executed successfully
	Success *bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
	// any text associated with the success or failure
	DisplayText *string `protobuf:"bytes,2,opt,name=display_text,json=displayText" json:"display_text,omitempty"`
	// contains filtered or unexported fields
}

Success represents a Success Operation Response

func (*Success) Descriptor deprecated

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

Deprecated: Use Success.ProtoReflect.Descriptor instead.

func (*Success) GetDisplayText

func (x *Success) GetDisplayText() string

func (*Success) GetSuccess

func (x *Success) GetSuccess() bool

func (*Success) ProtoMessage

func (*Success) ProtoMessage()

func (*Success) ProtoReflect

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

func (*Success) Reset

func (x *Success) Reset()

func (*Success) String

func (x *Success) String() string

type UnimplementedCaServiceServer

type UnimplementedCaServiceServer struct{}

UnimplementedCaServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCaServiceServer) IssueCertificate

func (UnimplementedCaServiceServer) ListCAProviders

func (UnimplementedCaServiceServer) ListCaCertificate

func (UnimplementedCaServiceServer) RevokeCertificate

type UnsafeCaServiceServer

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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