Versions in this module Expand all Collapse all v1 v1.0.0 Feb 28, 2023 Changes in this version + var ControlService_ServiceDesc = grpc.ServiceDesc + var File_certificates_proto protoreflect.FileDescriptor + var File_control_proto protoreflect.FileDescriptor + func RegisterControlServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterControlServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ControlServiceClient) error + func RegisterControlServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterControlServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ControlServiceServer) error + func RegisterControlServiceServer(s grpc.ServiceRegistrar, srv ControlServiceServer) + type AcmeAccount struct + Email string + PrivateKey []byte + PublicKey []byte + func (*AcmeAccount) Descriptor() ([]byte, []int) + func (*AcmeAccount) ProtoMessage() + func (x *AcmeAccount) GetEmail() string + func (x *AcmeAccount) GetPrivateKey() []byte + func (x *AcmeAccount) GetPublicKey() []byte + func (x *AcmeAccount) ProtoReflect() protoreflect.Message + func (x *AcmeAccount) Reset() + func (x *AcmeAccount) String() string + type Certificates struct + CertStableUrl string + CertUrl string + Certificate []byte + Csr []byte + Domain string + IssuerCertificate []byte + PrivateKey []byte + func (*Certificates) Descriptor() ([]byte, []int) + func (*Certificates) ProtoMessage() + func (x *Certificates) GetCertStableUrl() string + func (x *Certificates) GetCertUrl() string + func (x *Certificates) GetCertificate() []byte + func (x *Certificates) GetCsr() []byte + func (x *Certificates) GetDomain() string + func (x *Certificates) GetIssuerCertificate() []byte + func (x *Certificates) GetPrivateKey() []byte + func (x *Certificates) ProtoReflect() protoreflect.Message + func (x *Certificates) Reset() + func (x *Certificates) String() string + type Command struct + Args []string + Command string + func (*Command) Descriptor() ([]byte, []int) + func (*Command) ProtoMessage() + func (x *Command) GetArgs() []string + func (x *Command) GetCommand() string + func (x *Command) ProtoReflect() protoreflect.Message + func (x *Command) Reset() + func (x *Command) String() string + type CommandResult struct + Content string + func (*CommandResult) Descriptor() ([]byte, []int) + func (*CommandResult) ProtoMessage() + func (x *CommandResult) GetContent() string + func (x *CommandResult) ProtoReflect() protoreflect.Message + func (x *CommandResult) Reset() + func (x *CommandResult) String() string + type ControlServiceClient interface + Certificate func(ctx context.Context, in *Command, opts ...grpc.CallOption) (*CommandResult, error) + Config func(ctx context.Context, in *Command, opts ...grpc.CallOption) (*CommandResult, error) + Job func(ctx context.Context, in *Command, opts ...grpc.CallOption) (*CommandResult, error) + Node func(ctx context.Context, in *Command, opts ...grpc.CallOption) (*CommandResult, error) + Status func(ctx context.Context, in *StatusRequest, opts ...grpc.CallOption) (*StatusResponse, error) + Storage func(ctx context.Context, in *Command, opts ...grpc.CallOption) (*CommandResult, error) + StorageConsole func(ctx context.Context, opts ...grpc.CallOption) (ControlService_StorageConsoleClient, error) + func NewControlServiceClient(cc grpc.ClientConnInterface) ControlServiceClient + type ControlServiceServer interface + Certificate func(context.Context, *Command) (*CommandResult, error) + Config func(context.Context, *Command) (*CommandResult, error) + Job func(context.Context, *Command) (*CommandResult, error) + Node func(context.Context, *Command) (*CommandResult, error) + Status func(context.Context, *StatusRequest) (*StatusResponse, error) + Storage func(context.Context, *Command) (*CommandResult, error) + StorageConsole func(ControlService_StorageConsoleServer) error + type ControlService_StorageConsoleClient interface + Recv func() (*StorageConsoleResponse, error) + Send func(*StorageConsoleRequest) error + type ControlService_StorageConsoleServer interface + Recv func() (*StorageConsoleRequest, error) + Send func(*StorageConsoleResponse) error + type SelfSigner struct + Certificate []byte + Issuer *SelfSigner + Name string + PrivateKey []byte + func (*SelfSigner) Descriptor() ([]byte, []int) + func (*SelfSigner) ProtoMessage() + func (x *SelfSigner) GetCertificate() []byte + func (x *SelfSigner) GetIssuer() *SelfSigner + func (x *SelfSigner) GetName() string + func (x *SelfSigner) GetPrivateKey() []byte + func (x *SelfSigner) ProtoReflect() protoreflect.Message + func (x *SelfSigner) Reset() + func (x *SelfSigner) String() string + type StatusRequest struct + func (*StatusRequest) Descriptor() ([]byte, []int) + func (*StatusRequest) ProtoMessage() + func (x *StatusRequest) ProtoReflect() protoreflect.Message + func (x *StatusRequest) Reset() + func (x *StatusRequest) String() string + type StatusResponse struct + Stats map[string]string + func (*StatusResponse) Descriptor() ([]byte, []int) + func (*StatusResponse) ProtoMessage() + func (x *StatusResponse) GetStats() map[string]string + func (x *StatusResponse) ProtoReflect() protoreflect.Message + func (x *StatusResponse) Reset() + func (x *StatusResponse) String() string + type StorageConsoleRequest struct + Query string + func (*StorageConsoleRequest) Descriptor() ([]byte, []int) + func (*StorageConsoleRequest) ProtoMessage() + func (x *StorageConsoleRequest) GetQuery() string + func (x *StorageConsoleRequest) ProtoReflect() protoreflect.Message + func (x *StorageConsoleRequest) Reset() + func (x *StorageConsoleRequest) String() string + type StorageConsoleResponse struct + Content string + Status int32 + func (*StorageConsoleResponse) Descriptor() ([]byte, []int) + func (*StorageConsoleResponse) ProtoMessage() + func (x *StorageConsoleResponse) GetContent() string + func (x *StorageConsoleResponse) GetStatus() int32 + func (x *StorageConsoleResponse) ProtoReflect() protoreflect.Message + func (x *StorageConsoleResponse) Reset() + func (x *StorageConsoleResponse) String() string + type UnimplementedControlServiceServer struct + func (UnimplementedControlServiceServer) Certificate(context.Context, *Command) (*CommandResult, error) + func (UnimplementedControlServiceServer) Config(context.Context, *Command) (*CommandResult, error) + func (UnimplementedControlServiceServer) Job(context.Context, *Command) (*CommandResult, error) + func (UnimplementedControlServiceServer) Node(context.Context, *Command) (*CommandResult, error) + func (UnimplementedControlServiceServer) Status(context.Context, *StatusRequest) (*StatusResponse, error) + func (UnimplementedControlServiceServer) Storage(context.Context, *Command) (*CommandResult, error) + func (UnimplementedControlServiceServer) StorageConsole(ControlService_StorageConsoleServer) error + type UnsafeControlServiceServer interface + type Zone struct + AcmeEmail string + CertId string + CertProvider string + Certificates *Certificates + DnsProvider string + DnsProviderToken string + Domains []string + Options []string + OwnerId string + SelfSigner string + Zone string + func (*Zone) Descriptor() ([]byte, []int) + func (*Zone) ProtoMessage() + func (x *Zone) GetAcmeEmail() string + func (x *Zone) GetCertId() string + func (x *Zone) GetCertProvider() string + func (x *Zone) GetCertificates() *Certificates + func (x *Zone) GetDnsProvider() string + func (x *Zone) GetDnsProviderToken() string + func (x *Zone) GetDomains() []string + func (x *Zone) GetOptions() []string + func (x *Zone) GetOwnerId() string + func (x *Zone) GetSelfSigner() string + func (x *Zone) GetZone() string + func (x *Zone) ProtoReflect() protoreflect.Message + func (x *Zone) Reset() + func (x *Zone) String() string