apiv1

package
v0.0.6-beta Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HealthCheckResponse_ServingStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "SERVING",
		2: "NOT_SERVING",
	}
	HealthCheckResponse_ServingStatus_value = map[string]int32{
		"UNKNOWN":     0,
		"SERVING":     1,
		"NOT_SERVING": 2,
	}
)

Enum value maps for HealthCheckResponse_ServingStatus.

View Source
var Account_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "baseca.v1.Account",
	HandlerType: (*AccountServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LoginUser",
			Handler:    _Account_LoginUser_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _Account_DeleteUser_Handler,
		},
		{
			MethodName: "GetUser",
			Handler:    _Account_GetUser_Handler,
		},
		{
			MethodName: "ListUsers",
			Handler:    _Account_ListUsers_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _Account_CreateUser_Handler,
		},
		{
			MethodName: "UpdateUserCredentials",
			Handler:    _Account_UpdateUserCredentials_Handler,
		},
		{
			MethodName: "UpdateUserPermissions",
			Handler:    _Account_UpdateUserPermissions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "baseca/v1/api.proto",
}

Account_ServiceDesc is the grpc.ServiceDesc for Account 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 Certificate_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "baseca.v1.Certificate",
	HandlerType: (*CertificateServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SignCSR",
			Handler:    _Certificate_SignCSR_Handler,
		},
		{
			MethodName: "GetCertificate",
			Handler:    _Certificate_GetCertificate_Handler,
		},
		{
			MethodName: "ListCertificates",
			Handler:    _Certificate_ListCertificates_Handler,
		},
		{
			MethodName: "RevokeCertificate",
			Handler:    _Certificate_RevokeCertificate_Handler,
		},
		{
			MethodName: "OperationsSignCSR",
			Handler:    _Certificate_OperationsSignCSR_Handler,
		},
		{
			MethodName: "QueryCertificateMetadata",
			Handler:    _Certificate_QueryCertificateMetadata_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "baseca/v1/api.proto",
}

Certificate_ServiceDesc is the grpc.ServiceDesc for Certificate 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_baseca_v1_api_proto protoreflect.FileDescriptor
View Source
var Health_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "baseca.v1.Health",
	HandlerType: (*HealthServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Check",
			Handler:    _Health_Check_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "baseca/v1/api.proto",
}

Health_ServiceDesc is the grpc.ServiceDesc for Health 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 Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "baseca.v1.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateServiceAccount",
			Handler:    _Service_CreateServiceAccount_Handler,
		},
		{
			MethodName: "CreateProvisionerAccount",
			Handler:    _Service_CreateProvisionerAccount_Handler,
		},
		{
			MethodName: "GetProvisionerAccount",
			Handler:    _Service_GetProvisionerAccount_Handler,
		},
		{
			MethodName: "GetServiceAccount",
			Handler:    _Service_GetServiceAccount_Handler,
		},
		{
			MethodName: "GetServiceAccountMetadata",
			Handler:    _Service_GetServiceAccountMetadata_Handler,
		},
		{
			MethodName: "DeleteServiceAccount",
			Handler:    _Service_DeleteServiceAccount_Handler,
		},
		{
			MethodName: "DeleteProvisionedServiceAccount",
			Handler:    _Service_DeleteProvisionedServiceAccount_Handler,
		},
		{
			MethodName: "DeleteProvisionerAccount",
			Handler:    _Service_DeleteProvisionerAccount_Handler,
		},
		{
			MethodName: "ProvisionServiceAccount",
			Handler:    _Service_ProvisionServiceAccount_Handler,
		},
		{
			MethodName: "ListServiceAccounts",
			Handler:    _Service_ListServiceAccounts_Handler,
		},
		{
			MethodName: "ListProvisionerAccounts",
			Handler:    _Service_ListProvisionerAccounts_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "baseca/v1/api.proto",
}

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

Functions

func RegisterAccountServer

func RegisterAccountServer(s grpc.ServiceRegistrar, srv AccountServer)

func RegisterCertificateServer

func RegisterCertificateServer(s grpc.ServiceRegistrar, srv CertificateServer)

func RegisterHealthServer

func RegisterHealthServer(s grpc.ServiceRegistrar, srv HealthServer)

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type AWSInstanceIdentityDocument

type AWSInstanceIdentityDocument struct {
	RoleArn        string            `protobuf:"bytes,1,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"`
	AssumeRole     string            `protobuf:"bytes,2,opt,name=assume_role,json=assumeRole,proto3" json:"assume_role,omitempty"`
	SecurityGroups []string          `protobuf:"bytes,3,rep,name=security_groups,json=securityGroups,proto3" json:"security_groups,omitempty"`
	Region         string            `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	InstanceId     string            `protobuf:"bytes,5,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	ImageId        string            `protobuf:"bytes,6,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	InstanceTags   map[string]string `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AWSInstanceIdentityDocument) Descriptor deprecated

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

Deprecated: Use AWSInstanceIdentityDocument.ProtoReflect.Descriptor instead.

func (*AWSInstanceIdentityDocument) GetAssumeRole

func (x *AWSInstanceIdentityDocument) GetAssumeRole() string

func (*AWSInstanceIdentityDocument) GetImageId

func (x *AWSInstanceIdentityDocument) GetImageId() string

func (*AWSInstanceIdentityDocument) GetInstanceId

func (x *AWSInstanceIdentityDocument) GetInstanceId() string

func (*AWSInstanceIdentityDocument) GetInstanceTags

func (x *AWSInstanceIdentityDocument) GetInstanceTags() map[string]string

func (*AWSInstanceIdentityDocument) GetRegion

func (x *AWSInstanceIdentityDocument) GetRegion() string

func (*AWSInstanceIdentityDocument) GetRoleArn

func (x *AWSInstanceIdentityDocument) GetRoleArn() string

func (*AWSInstanceIdentityDocument) GetSecurityGroups

func (x *AWSInstanceIdentityDocument) GetSecurityGroups() []string

func (*AWSInstanceIdentityDocument) ProtoMessage

func (*AWSInstanceIdentityDocument) ProtoMessage()

func (*AWSInstanceIdentityDocument) ProtoReflect

func (*AWSInstanceIdentityDocument) Reset

func (x *AWSInstanceIdentityDocument) Reset()

func (*AWSInstanceIdentityDocument) String

func (x *AWSInstanceIdentityDocument) String() string

type AccountClient

type AccountClient interface {
	LoginUser(ctx context.Context, in *LoginUserRequest, opts ...grpc.CallOption) (*LoginUserResponse, error)
	DeleteUser(ctx context.Context, in *UsernameRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetUser(ctx context.Context, in *UsernameRequest, opts ...grpc.CallOption) (*User, error)
	ListUsers(ctx context.Context, in *QueryParameter, opts ...grpc.CallOption) (*Users, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*User, error)
	UpdateUserCredentials(ctx context.Context, in *UpdateCredentialsRequest, opts ...grpc.CallOption) (*User, error)
	UpdateUserPermissions(ctx context.Context, in *UpdatePermissionsRequest, opts ...grpc.CallOption) (*User, error)
}

AccountClient is the client API for Account 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.

func NewAccountClient

func NewAccountClient(cc grpc.ClientConnInterface) AccountClient

type AccountId

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

func (*AccountId) Descriptor deprecated

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

Deprecated: Use AccountId.ProtoReflect.Descriptor instead.

func (*AccountId) GetUuid

func (x *AccountId) GetUuid() string

func (*AccountId) ProtoMessage

func (*AccountId) ProtoMessage()

func (*AccountId) ProtoReflect

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

func (*AccountId) Reset

func (x *AccountId) Reset()

func (*AccountId) String

func (x *AccountId) String() string

type AccountServer

type AccountServer interface {
	LoginUser(context.Context, *LoginUserRequest) (*LoginUserResponse, error)
	DeleteUser(context.Context, *UsernameRequest) (*emptypb.Empty, error)
	GetUser(context.Context, *UsernameRequest) (*User, error)
	ListUsers(context.Context, *QueryParameter) (*Users, error)
	CreateUser(context.Context, *CreateUserRequest) (*User, error)
	UpdateUserCredentials(context.Context, *UpdateCredentialsRequest) (*User, error)
	UpdateUserPermissions(context.Context, *UpdatePermissionsRequest) (*User, error)
	// contains filtered or unexported methods
}

AccountServer is the server API for Account service. All implementations must embed UnimplementedAccountServer for forward compatibility

type CertificateAuthorityParameter

type CertificateAuthorityParameter struct {
	Region        string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	CaArn         string `protobuf:"bytes,2,opt,name=ca_arn,json=caArn,proto3" json:"ca_arn,omitempty"`
	SignAlgorithm string `protobuf:"bytes,3,opt,name=sign_algorithm,json=signAlgorithm,proto3" json:"sign_algorithm,omitempty"`
	AssumeRole    bool   `protobuf:"varint,4,opt,name=assume_role,json=assumeRole,proto3" json:"assume_role,omitempty"`
	RoleArn       string `protobuf:"bytes,5,opt,name=role_arn,json=roleArn,proto3" json:"role_arn,omitempty"`
	Validity      int32  `protobuf:"varint,6,opt,name=validity,proto3" json:"validity,omitempty"`
	// contains filtered or unexported fields
}

func (*CertificateAuthorityParameter) Descriptor deprecated

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

Deprecated: Use CertificateAuthorityParameter.ProtoReflect.Descriptor instead.

func (*CertificateAuthorityParameter) GetAssumeRole

func (x *CertificateAuthorityParameter) GetAssumeRole() bool

func (*CertificateAuthorityParameter) GetCaArn

func (x *CertificateAuthorityParameter) GetCaArn() string

func (*CertificateAuthorityParameter) GetRegion

func (x *CertificateAuthorityParameter) GetRegion() string

func (*CertificateAuthorityParameter) GetRoleArn

func (x *CertificateAuthorityParameter) GetRoleArn() string

func (*CertificateAuthorityParameter) GetSignAlgorithm

func (x *CertificateAuthorityParameter) GetSignAlgorithm() string

func (*CertificateAuthorityParameter) GetValidity

func (x *CertificateAuthorityParameter) GetValidity() int32

func (*CertificateAuthorityParameter) ProtoMessage

func (*CertificateAuthorityParameter) ProtoMessage()

func (*CertificateAuthorityParameter) ProtoReflect

func (*CertificateAuthorityParameter) Reset

func (x *CertificateAuthorityParameter) Reset()

func (*CertificateAuthorityParameter) String

type CertificateClient

type CertificateClient interface {
	SignCSR(ctx context.Context, in *CertificateSigningRequest, opts ...grpc.CallOption) (*SignedCertificate, error)
	GetCertificate(ctx context.Context, in *CertificateSerialNumber, opts ...grpc.CallOption) (*CertificateParameter, error)
	ListCertificates(ctx context.Context, in *ListCertificatesRequest, opts ...grpc.CallOption) (*CertificatesParameter, error)
	RevokeCertificate(ctx context.Context, in *RevokeCertificateRequest, opts ...grpc.CallOption) (*RevokeCertificateResponse, error)
	OperationsSignCSR(ctx context.Context, in *OperationsSignRequest, opts ...grpc.CallOption) (*SignedCertificate, error)
	QueryCertificateMetadata(ctx context.Context, in *QueryCertificateMetadataRequest, opts ...grpc.CallOption) (*CertificatesParameter, error)
}

CertificateClient is the client API for Certificate 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 CertificateParameter

type CertificateParameter struct {
	SerialNumber            string                 `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	CommonName              string                 `protobuf:"bytes,2,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	SubjectAlternativeName  []string               `` /* 129-byte string literal not displayed */
	ExpirationDate          *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expiration_date,json=expirationDate,proto3" json:"expiration_date,omitempty"`
	IssuedDate              *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=issued_date,json=issuedDate,proto3" json:"issued_date,omitempty"`
	Revoked                 bool                   `protobuf:"varint,6,opt,name=revoked,proto3" json:"revoked,omitempty"`
	RevokedBy               string                 `protobuf:"bytes,7,opt,name=revoked_by,json=revokedBy,proto3" json:"revoked_by,omitempty"`
	RevokeDate              *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=revoke_date,json=revokeDate,proto3" json:"revoke_date,omitempty"`
	CertificateAuthorityArn string                 `` /* 132-byte string literal not displayed */
	Account                 string                 `protobuf:"bytes,10,opt,name=account,proto3" json:"account,omitempty"`
	Environment             string                 `protobuf:"bytes,11,opt,name=environment,proto3" json:"environment,omitempty"`
	ExtendedKey             string                 `protobuf:"bytes,12,opt,name=extended_key,json=extendedKey,proto3" json:"extended_key,omitempty"`
	// contains filtered or unexported fields
}

func (*CertificateParameter) Descriptor deprecated

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

Deprecated: Use CertificateParameter.ProtoReflect.Descriptor instead.

func (*CertificateParameter) GetAccount

func (x *CertificateParameter) GetAccount() string

func (*CertificateParameter) GetCertificateAuthorityArn

func (x *CertificateParameter) GetCertificateAuthorityArn() string

func (*CertificateParameter) GetCommonName

func (x *CertificateParameter) GetCommonName() string

func (*CertificateParameter) GetEnvironment

func (x *CertificateParameter) GetEnvironment() string

func (*CertificateParameter) GetExpirationDate

func (x *CertificateParameter) GetExpirationDate() *timestamppb.Timestamp

func (*CertificateParameter) GetExtendedKey

func (x *CertificateParameter) GetExtendedKey() string

func (*CertificateParameter) GetIssuedDate

func (x *CertificateParameter) GetIssuedDate() *timestamppb.Timestamp

func (*CertificateParameter) GetRevokeDate

func (x *CertificateParameter) GetRevokeDate() *timestamppb.Timestamp

func (*CertificateParameter) GetRevoked

func (x *CertificateParameter) GetRevoked() bool

func (*CertificateParameter) GetRevokedBy

func (x *CertificateParameter) GetRevokedBy() string

func (*CertificateParameter) GetSerialNumber

func (x *CertificateParameter) GetSerialNumber() string

func (*CertificateParameter) GetSubjectAlternativeName

func (x *CertificateParameter) GetSubjectAlternativeName() []string

func (*CertificateParameter) ProtoMessage

func (*CertificateParameter) ProtoMessage()

func (*CertificateParameter) ProtoReflect

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

func (*CertificateParameter) Reset

func (x *CertificateParameter) Reset()

func (*CertificateParameter) String

func (x *CertificateParameter) String() string

type CertificateSerialNumber

type CertificateSerialNumber struct {
	SerialNumber string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	// contains filtered or unexported fields
}

func (*CertificateSerialNumber) Descriptor deprecated

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

Deprecated: Use CertificateSerialNumber.ProtoReflect.Descriptor instead.

func (*CertificateSerialNumber) GetSerialNumber

func (x *CertificateSerialNumber) GetSerialNumber() string

func (*CertificateSerialNumber) ProtoMessage

func (*CertificateSerialNumber) ProtoMessage()

func (*CertificateSerialNumber) ProtoReflect

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

func (*CertificateSerialNumber) Reset

func (x *CertificateSerialNumber) Reset()

func (*CertificateSerialNumber) String

func (x *CertificateSerialNumber) String() string

type CertificateServer

CertificateServer is the server API for Certificate service. All implementations must embed UnimplementedCertificateServer for forward compatibility

type CertificateSigningRequest

type CertificateSigningRequest struct {
	CertificateSigningRequest string `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CertificateSigningRequest) Descriptor deprecated

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

Deprecated: Use CertificateSigningRequest.ProtoReflect.Descriptor instead.

func (*CertificateSigningRequest) GetCertificateSigningRequest

func (x *CertificateSigningRequest) GetCertificateSigningRequest() string

func (*CertificateSigningRequest) ProtoMessage

func (*CertificateSigningRequest) ProtoMessage()

func (*CertificateSigningRequest) ProtoReflect

func (*CertificateSigningRequest) Reset

func (x *CertificateSigningRequest) Reset()

func (*CertificateSigningRequest) String

func (x *CertificateSigningRequest) String() string

type CertificatesParameter

type CertificatesParameter struct {
	Certificates []*CertificateParameter `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
	// contains filtered or unexported fields
}

func (*CertificatesParameter) Descriptor deprecated

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

Deprecated: Use CertificatesParameter.ProtoReflect.Descriptor instead.

func (*CertificatesParameter) GetCertificates

func (x *CertificatesParameter) GetCertificates() []*CertificateParameter

func (*CertificatesParameter) ProtoMessage

func (*CertificatesParameter) ProtoMessage()

func (*CertificatesParameter) ProtoReflect

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

func (*CertificatesParameter) Reset

func (x *CertificatesParameter) Reset()

func (*CertificatesParameter) String

func (x *CertificatesParameter) String() string

type CreateProvisionerAccountRequest

type CreateProvisionerAccountRequest struct {
	ProvisionerAccount      string           `protobuf:"bytes,1,opt,name=provisioner_account,json=provisionerAccount,proto3" json:"provisioner_account,omitempty"`
	Environments            []string         `protobuf:"bytes,2,rep,name=environments,proto3" json:"environments,omitempty"`
	RegularExpression       string           `protobuf:"bytes,3,opt,name=regular_expression,json=regularExpression,proto3" json:"regular_expression,omitempty"`
	SubjectAlternativeNames []string         `` /* 132-byte string literal not displayed */
	ExtendedKeys            []string         `protobuf:"bytes,5,rep,name=extended_keys,json=extendedKeys,proto3" json:"extended_keys,omitempty"`
	MaxCertificateValidity  uint32           `` /* 130-byte string literal not displayed */
	NodeAttestation         *NodeAttestation `protobuf:"bytes,7,opt,name=node_attestation,json=nodeAttestation,proto3,oneof" json:"node_attestation,omitempty"`
	Team                    string           `protobuf:"bytes,8,opt,name=team,proto3" json:"team,omitempty"`
	Email                   string           `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProvisionerAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateProvisionerAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateProvisionerAccountRequest) GetEmail

func (*CreateProvisionerAccountRequest) GetEnvironments

func (x *CreateProvisionerAccountRequest) GetEnvironments() []string

func (*CreateProvisionerAccountRequest) GetExtendedKeys

func (x *CreateProvisionerAccountRequest) GetExtendedKeys() []string

func (*CreateProvisionerAccountRequest) GetMaxCertificateValidity

func (x *CreateProvisionerAccountRequest) GetMaxCertificateValidity() uint32

func (*CreateProvisionerAccountRequest) GetNodeAttestation

func (x *CreateProvisionerAccountRequest) GetNodeAttestation() *NodeAttestation

func (*CreateProvisionerAccountRequest) GetProvisionerAccount

func (x *CreateProvisionerAccountRequest) GetProvisionerAccount() string

func (*CreateProvisionerAccountRequest) GetRegularExpression

func (x *CreateProvisionerAccountRequest) GetRegularExpression() string

func (*CreateProvisionerAccountRequest) GetSubjectAlternativeNames

func (x *CreateProvisionerAccountRequest) GetSubjectAlternativeNames() []string

func (*CreateProvisionerAccountRequest) GetTeam

func (*CreateProvisionerAccountRequest) ProtoMessage

func (*CreateProvisionerAccountRequest) ProtoMessage()

func (*CreateProvisionerAccountRequest) ProtoReflect

func (*CreateProvisionerAccountRequest) Reset

func (*CreateProvisionerAccountRequest) String

type CreateProvisionerAccountResponse

type CreateProvisionerAccountResponse struct {
	ClientId                string                 `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientToken             string                 `protobuf:"bytes,2,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"`
	ProvisionerAccount      string                 `protobuf:"bytes,3,opt,name=provisioner_account,json=provisionerAccount,proto3" json:"provisioner_account,omitempty"`
	Environments            []string               `protobuf:"bytes,4,rep,name=environments,proto3" json:"environments,omitempty"`
	RegularExpression       string                 `protobuf:"bytes,5,opt,name=regular_expression,json=regularExpression,proto3" json:"regular_expression,omitempty"`
	SubjectAlternativeNames []string               `` /* 132-byte string literal not displayed */
	ExtendedKeys            []string               `protobuf:"bytes,8,rep,name=extended_keys,json=extendedKeys,proto3" json:"extended_keys,omitempty"`
	NodeAttestation         *NodeAttestation       `protobuf:"bytes,9,opt,name=node_attestation,json=nodeAttestation,proto3" json:"node_attestation,omitempty"`
	MaxCertificateValidity  uint32                 `` /* 131-byte string literal not displayed */
	Team                    string                 `protobuf:"bytes,11,opt,name=team,proto3" json:"team,omitempty"`
	Email                   string                 `protobuf:"bytes,12,opt,name=email,proto3" json:"email,omitempty"`
	CreatedAt               *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	CreatedBy               string                 `protobuf:"bytes,14,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateProvisionerAccountResponse) Descriptor deprecated

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

Deprecated: Use CreateProvisionerAccountResponse.ProtoReflect.Descriptor instead.

func (*CreateProvisionerAccountResponse) GetClientId

func (x *CreateProvisionerAccountResponse) GetClientId() string

func (*CreateProvisionerAccountResponse) GetClientToken

func (x *CreateProvisionerAccountResponse) GetClientToken() string

func (*CreateProvisionerAccountResponse) GetCreatedAt

func (*CreateProvisionerAccountResponse) GetCreatedBy

func (x *CreateProvisionerAccountResponse) GetCreatedBy() string

func (*CreateProvisionerAccountResponse) GetEmail

func (*CreateProvisionerAccountResponse) GetEnvironments

func (x *CreateProvisionerAccountResponse) GetEnvironments() []string

func (*CreateProvisionerAccountResponse) GetExtendedKeys

func (x *CreateProvisionerAccountResponse) GetExtendedKeys() []string

func (*CreateProvisionerAccountResponse) GetMaxCertificateValidity

func (x *CreateProvisionerAccountResponse) GetMaxCertificateValidity() uint32

func (*CreateProvisionerAccountResponse) GetNodeAttestation

func (x *CreateProvisionerAccountResponse) GetNodeAttestation() *NodeAttestation

func (*CreateProvisionerAccountResponse) GetProvisionerAccount

func (x *CreateProvisionerAccountResponse) GetProvisionerAccount() string

func (*CreateProvisionerAccountResponse) GetRegularExpression

func (x *CreateProvisionerAccountResponse) GetRegularExpression() string

func (*CreateProvisionerAccountResponse) GetSubjectAlternativeNames

func (x *CreateProvisionerAccountResponse) GetSubjectAlternativeNames() []string

func (*CreateProvisionerAccountResponse) GetTeam

func (*CreateProvisionerAccountResponse) ProtoMessage

func (*CreateProvisionerAccountResponse) ProtoMessage()

func (*CreateProvisionerAccountResponse) ProtoReflect

func (*CreateProvisionerAccountResponse) Reset

func (*CreateProvisionerAccountResponse) String

type CreateServiceAccountRequest

type CreateServiceAccountRequest struct {
	ServiceAccount          string           `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	Environment             string           `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
	RegularExpression       *string          `protobuf:"bytes,3,opt,name=regular_expression,json=regularExpression,proto3,oneof" json:"regular_expression,omitempty"`
	SubjectAlternativeNames []string         `` /* 132-byte string literal not displayed */
	CertificateAuthorities  []string         `` /* 127-byte string literal not displayed */
	ExtendedKey             string           `protobuf:"bytes,6,opt,name=extended_key,json=extendedKey,proto3" json:"extended_key,omitempty"`
	CertificateValidity     int32            `protobuf:"varint,7,opt,name=certificate_validity,json=certificateValidity,proto3" json:"certificate_validity,omitempty"`
	SubordinateCa           string           `protobuf:"bytes,8,opt,name=subordinate_ca,json=subordinateCa,proto3" json:"subordinate_ca,omitempty"`
	NodeAttestation         *NodeAttestation `protobuf:"bytes,9,opt,name=node_attestation,json=nodeAttestation,proto3,oneof" json:"node_attestation,omitempty"`
	Team                    string           `protobuf:"bytes,10,opt,name=team,proto3" json:"team,omitempty"`
	Email                   string           `protobuf:"bytes,11,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateServiceAccountRequest) Descriptor deprecated

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

Deprecated: Use CreateServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceAccountRequest) GetCertificateAuthorities

func (x *CreateServiceAccountRequest) GetCertificateAuthorities() []string

func (*CreateServiceAccountRequest) GetCertificateValidity

func (x *CreateServiceAccountRequest) GetCertificateValidity() int32

func (*CreateServiceAccountRequest) GetEmail

func (x *CreateServiceAccountRequest) GetEmail() string

func (*CreateServiceAccountRequest) GetEnvironment

func (x *CreateServiceAccountRequest) GetEnvironment() string

func (*CreateServiceAccountRequest) GetExtendedKey

func (x *CreateServiceAccountRequest) GetExtendedKey() string

func (*CreateServiceAccountRequest) GetNodeAttestation

func (x *CreateServiceAccountRequest) GetNodeAttestation() *NodeAttestation

func (*CreateServiceAccountRequest) GetRegularExpression

func (x *CreateServiceAccountRequest) GetRegularExpression() string

func (*CreateServiceAccountRequest) GetServiceAccount

func (x *CreateServiceAccountRequest) GetServiceAccount() string

func (*CreateServiceAccountRequest) GetSubjectAlternativeNames

func (x *CreateServiceAccountRequest) GetSubjectAlternativeNames() []string

func (*CreateServiceAccountRequest) GetSubordinateCa

func (x *CreateServiceAccountRequest) GetSubordinateCa() string

func (*CreateServiceAccountRequest) GetTeam

func (x *CreateServiceAccountRequest) GetTeam() string

func (*CreateServiceAccountRequest) ProtoMessage

func (*CreateServiceAccountRequest) ProtoMessage()

func (*CreateServiceAccountRequest) ProtoReflect

func (*CreateServiceAccountRequest) Reset

func (x *CreateServiceAccountRequest) Reset()

func (*CreateServiceAccountRequest) String

func (x *CreateServiceAccountRequest) String() string

type CreateServiceAccountResponse

type CreateServiceAccountResponse struct {
	ClientId                string                 `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientToken             string                 `protobuf:"bytes,2,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"`
	ServiceAccount          string                 `protobuf:"bytes,3,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	Environment             string                 `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"`
	RegularExpression       string                 `protobuf:"bytes,5,opt,name=regular_expression,json=regularExpression,proto3" json:"regular_expression,omitempty"`
	SubjectAlternativeNames []string               `` /* 132-byte string literal not displayed */
	CertificateAuthorities  []string               `` /* 127-byte string literal not displayed */
	ExtendedKey             string                 `protobuf:"bytes,8,opt,name=extended_key,json=extendedKey,proto3" json:"extended_key,omitempty"`
	NodeAttestation         *NodeAttestation       `protobuf:"bytes,9,opt,name=node_attestation,json=nodeAttestation,proto3" json:"node_attestation,omitempty"`
	CertificateValidity     int32                  `protobuf:"varint,10,opt,name=certificate_validity,json=certificateValidity,proto3" json:"certificate_validity,omitempty"`
	SubordinateCa           string                 `protobuf:"bytes,11,opt,name=subordinate_ca,json=subordinateCa,proto3" json:"subordinate_ca,omitempty"`
	Team                    string                 `protobuf:"bytes,12,opt,name=team,proto3" json:"team,omitempty"`
	Email                   string                 `protobuf:"bytes,13,opt,name=email,proto3" json:"email,omitempty"`
	CreatedAt               *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	CreatedBy               string                 `protobuf:"bytes,15,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateServiceAccountResponse) Descriptor deprecated

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

Deprecated: Use CreateServiceAccountResponse.ProtoReflect.Descriptor instead.

func (*CreateServiceAccountResponse) GetCertificateAuthorities

func (x *CreateServiceAccountResponse) GetCertificateAuthorities() []string

func (*CreateServiceAccountResponse) GetCertificateValidity

func (x *CreateServiceAccountResponse) GetCertificateValidity() int32

func (*CreateServiceAccountResponse) GetClientId

func (x *CreateServiceAccountResponse) GetClientId() string

func (*CreateServiceAccountResponse) GetClientToken

func (x *CreateServiceAccountResponse) GetClientToken() string

func (*CreateServiceAccountResponse) GetCreatedAt

func (*CreateServiceAccountResponse) GetCreatedBy

func (x *CreateServiceAccountResponse) GetCreatedBy() string

func (*CreateServiceAccountResponse) GetEmail

func (x *CreateServiceAccountResponse) GetEmail() string

func (*CreateServiceAccountResponse) GetEnvironment

func (x *CreateServiceAccountResponse) GetEnvironment() string

func (*CreateServiceAccountResponse) GetExtendedKey

func (x *CreateServiceAccountResponse) GetExtendedKey() string

func (*CreateServiceAccountResponse) GetNodeAttestation

func (x *CreateServiceAccountResponse) GetNodeAttestation() *NodeAttestation

func (*CreateServiceAccountResponse) GetRegularExpression

func (x *CreateServiceAccountResponse) GetRegularExpression() string

func (*CreateServiceAccountResponse) GetServiceAccount

func (x *CreateServiceAccountResponse) GetServiceAccount() string

func (*CreateServiceAccountResponse) GetSubjectAlternativeNames

func (x *CreateServiceAccountResponse) GetSubjectAlternativeNames() []string

func (*CreateServiceAccountResponse) GetSubordinateCa

func (x *CreateServiceAccountResponse) GetSubordinateCa() string

func (*CreateServiceAccountResponse) GetTeam

func (x *CreateServiceAccountResponse) GetTeam() string

func (*CreateServiceAccountResponse) ProtoMessage

func (*CreateServiceAccountResponse) ProtoMessage()

func (*CreateServiceAccountResponse) ProtoReflect

func (*CreateServiceAccountResponse) Reset

func (x *CreateServiceAccountResponse) Reset()

func (*CreateServiceAccountResponse) String

type CreateUserRequest

type CreateUserRequest struct {
	Username    string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password    string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	FullName    string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	Email       string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Permissions string `protobuf:"bytes,5,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetEmail

func (x *CreateUserRequest) GetEmail() string

func (*CreateUserRequest) GetFullName

func (x *CreateUserRequest) GetFullName() string

func (*CreateUserRequest) GetPassword

func (x *CreateUserRequest) GetPassword() string

func (*CreateUserRequest) GetPermissions

func (x *CreateUserRequest) GetPermissions() string

func (*CreateUserRequest) GetUsername

func (x *CreateUserRequest) GetUsername() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type Environment

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

func (*Environment) Descriptor deprecated

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

Deprecated: Use Environment.ProtoReflect.Descriptor instead.

func (*Environment) GetEnvironment

func (x *Environment) GetEnvironment() string

func (*Environment) ProtoMessage

func (*Environment) ProtoMessage()

func (*Environment) ProtoReflect

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

func (*Environment) Reset

func (x *Environment) Reset()

func (*Environment) String

func (x *Environment) String() string

type GetServiceAccountMetadataRequest

type GetServiceAccountMetadataRequest struct {
	ServiceAccount string `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	Environment    string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
	ExtendedKey    string `protobuf:"bytes,3,opt,name=extended_key,json=extendedKey,proto3" json:"extended_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetServiceAccountMetadataRequest) Descriptor deprecated

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

Deprecated: Use GetServiceAccountMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetServiceAccountMetadataRequest) GetEnvironment

func (x *GetServiceAccountMetadataRequest) GetEnvironment() string

func (*GetServiceAccountMetadataRequest) GetExtendedKey

func (x *GetServiceAccountMetadataRequest) GetExtendedKey() string

func (*GetServiceAccountMetadataRequest) GetServiceAccount

func (x *GetServiceAccountMetadataRequest) GetServiceAccount() string

func (*GetServiceAccountMetadataRequest) ProtoMessage

func (*GetServiceAccountMetadataRequest) ProtoMessage()

func (*GetServiceAccountMetadataRequest) ProtoReflect

func (*GetServiceAccountMetadataRequest) Reset

func (*GetServiceAccountMetadataRequest) String

type HealthCheckRequest

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

func (*HealthCheckRequest) Descriptor deprecated

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

Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.

func (*HealthCheckRequest) GetService

func (x *HealthCheckRequest) GetService() string

func (*HealthCheckRequest) ProtoMessage

func (*HealthCheckRequest) ProtoMessage()

func (*HealthCheckRequest) ProtoReflect

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

func (*HealthCheckRequest) Reset

func (x *HealthCheckRequest) Reset()

func (*HealthCheckRequest) String

func (x *HealthCheckRequest) String() string

type HealthCheckResponse

type HealthCheckResponse struct {
	Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=baseca.v1.HealthCheckResponse_ServingStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthCheckResponse) Descriptor deprecated

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

Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.

func (*HealthCheckResponse) GetStatus

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) ProtoReflect

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

func (*HealthCheckResponse) Reset

func (x *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (x *HealthCheckResponse) String() string

type HealthCheckResponse_ServingStatus

type HealthCheckResponse_ServingStatus int32
const (
	HealthCheckResponse_UNKNOWN     HealthCheckResponse_ServingStatus = 0
	HealthCheckResponse_SERVING     HealthCheckResponse_ServingStatus = 1
	HealthCheckResponse_NOT_SERVING HealthCheckResponse_ServingStatus = 2
)

func (HealthCheckResponse_ServingStatus) Descriptor

func (HealthCheckResponse_ServingStatus) Enum

func (HealthCheckResponse_ServingStatus) EnumDescriptor deprecated

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

Deprecated: Use HealthCheckResponse_ServingStatus.Descriptor instead.

func (HealthCheckResponse_ServingStatus) Number

func (HealthCheckResponse_ServingStatus) String

func (HealthCheckResponse_ServingStatus) Type

type HealthClient

type HealthClient interface {
	Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}

HealthClient is the client API for Health 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.

func NewHealthClient

func NewHealthClient(cc grpc.ClientConnInterface) HealthClient

type HealthServer

type HealthServer interface {
	Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
	// contains filtered or unexported methods
}

HealthServer is the server API for Health service. All implementations must embed UnimplementedHealthServer for forward compatibility

type ListCertificatesRequest

type ListCertificatesRequest struct {
	CommonName string `protobuf:"bytes,1,opt,name=common_name,json=commonName,proto3" json:"common_name,omitempty"`
	PageId     int32  `protobuf:"varint,3,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
	PageSize   int32  `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCertificatesRequest) Descriptor deprecated

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

Deprecated: Use ListCertificatesRequest.ProtoReflect.Descriptor instead.

func (*ListCertificatesRequest) GetCommonName

func (x *ListCertificatesRequest) GetCommonName() string

func (*ListCertificatesRequest) GetPageId

func (x *ListCertificatesRequest) GetPageId() int32

func (*ListCertificatesRequest) GetPageSize

func (x *ListCertificatesRequest) GetPageSize() int32

func (*ListCertificatesRequest) ProtoMessage

func (*ListCertificatesRequest) ProtoMessage()

func (*ListCertificatesRequest) ProtoReflect

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

func (*ListCertificatesRequest) Reset

func (x *ListCertificatesRequest) Reset()

func (*ListCertificatesRequest) String

func (x *ListCertificatesRequest) String() string

type LoginUserRequest

type LoginUserRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginUserRequest) Descriptor deprecated

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

Deprecated: Use LoginUserRequest.ProtoReflect.Descriptor instead.

func (*LoginUserRequest) GetPassword

func (x *LoginUserRequest) GetPassword() string

func (*LoginUserRequest) GetUsername

func (x *LoginUserRequest) GetUsername() string

func (*LoginUserRequest) ProtoMessage

func (*LoginUserRequest) ProtoMessage()

func (*LoginUserRequest) ProtoReflect

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

func (*LoginUserRequest) Reset

func (x *LoginUserRequest) Reset()

func (*LoginUserRequest) String

func (x *LoginUserRequest) String() string

type LoginUserResponse

type LoginUserResponse struct {
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	User        *User  `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginUserResponse) Descriptor deprecated

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

Deprecated: Use LoginUserResponse.ProtoReflect.Descriptor instead.

func (*LoginUserResponse) GetAccessToken

func (x *LoginUserResponse) GetAccessToken() string

func (*LoginUserResponse) GetUser

func (x *LoginUserResponse) GetUser() *User

func (*LoginUserResponse) ProtoMessage

func (*LoginUserResponse) ProtoMessage()

func (*LoginUserResponse) ProtoReflect

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

func (*LoginUserResponse) Reset

func (x *LoginUserResponse) Reset()

func (*LoginUserResponse) String

func (x *LoginUserResponse) String() string

type NodeAttestation

type NodeAttestation struct {
	AwsIid *AWSInstanceIdentityDocument `protobuf:"bytes,1,opt,name=aws_iid,json=awsIid,proto3" json:"aws_iid,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeAttestation) Descriptor deprecated

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

Deprecated: Use NodeAttestation.ProtoReflect.Descriptor instead.

func (*NodeAttestation) GetAwsIid

func (*NodeAttestation) ProtoMessage

func (*NodeAttestation) ProtoMessage()

func (*NodeAttestation) ProtoReflect

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

func (*NodeAttestation) Reset

func (x *NodeAttestation) Reset()

func (*NodeAttestation) String

func (x *NodeAttestation) String() string

type OperationsSignRequest

type OperationsSignRequest struct {
	CertificateSigningRequest string                         `` /* 138-byte string literal not displayed */
	CertificateAuthority      *CertificateAuthorityParameter `` /* 127-byte string literal not displayed */
	ServiceAccount            string                         `protobuf:"bytes,3,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	Environment               string                         `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"`
	ExtendedKey               string                         `protobuf:"bytes,5,opt,name=extended_key,json=extendedKey,proto3" json:"extended_key,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationsSignRequest) Descriptor deprecated

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

Deprecated: Use OperationsSignRequest.ProtoReflect.Descriptor instead.

func (*OperationsSignRequest) GetCertificateAuthority

func (x *OperationsSignRequest) GetCertificateAuthority() *CertificateAuthorityParameter

func (*OperationsSignRequest) GetCertificateSigningRequest

func (x *OperationsSignRequest) GetCertificateSigningRequest() string

func (*OperationsSignRequest) GetEnvironment

func (x *OperationsSignRequest) GetEnvironment() string

func (*OperationsSignRequest) GetExtendedKey

func (x *OperationsSignRequest) GetExtendedKey() string

func (*OperationsSignRequest) GetServiceAccount

func (x *OperationsSignRequest) GetServiceAccount() string

func (*OperationsSignRequest) ProtoMessage

func (*OperationsSignRequest) ProtoMessage()

func (*OperationsSignRequest) ProtoReflect

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

func (*OperationsSignRequest) Reset

func (x *OperationsSignRequest) Reset()

func (*OperationsSignRequest) String

func (x *OperationsSignRequest) String() string

type ProvisionServiceAccountRequest

type ProvisionServiceAccountRequest struct {
	ServiceAccount          string           `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	Environment             string           `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"`
	RegularExpression       string           `protobuf:"bytes,3,opt,name=regular_expression,json=regularExpression,proto3" json:"regular_expression,omitempty"`
	SubjectAlternativeNames []string         `` /* 132-byte string literal not displayed */
	CertificateAuthorities  []string         `` /* 127-byte string literal not displayed */
	ExtendedKey             string           `protobuf:"bytes,6,opt,name=extended_key,json=extendedKey,proto3" json:"extended_key,omitempty"`
	CertificateValidity     int32            `protobuf:"varint,7,opt,name=certificate_validity,json=certificateValidity,proto3" json:"certificate_validity,omitempty"`
	SubordinateCa           string           `protobuf:"bytes,8,opt,name=subordinate_ca,json=subordinateCa,proto3" json:"subordinate_ca,omitempty"`
	NodeAttestation         *NodeAttestation `protobuf:"bytes,9,opt,name=node_attestation,json=nodeAttestation,proto3" json:"node_attestation,omitempty"`
	Team                    string           `protobuf:"bytes,10,opt,name=team,proto3" json:"team,omitempty"`
	Email                   string           `protobuf:"bytes,11,opt,name=email,proto3" json:"email,omitempty"`
	Region                  *string          `protobuf:"bytes,12,opt,name=region,proto3,oneof" json:"region,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionServiceAccountRequest) Descriptor deprecated

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

Deprecated: Use ProvisionServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*ProvisionServiceAccountRequest) GetCertificateAuthorities

func (x *ProvisionServiceAccountRequest) GetCertificateAuthorities() []string

func (*ProvisionServiceAccountRequest) GetCertificateValidity

func (x *ProvisionServiceAccountRequest) GetCertificateValidity() int32

func (*ProvisionServiceAccountRequest) GetEmail

func (x *ProvisionServiceAccountRequest) GetEmail() string

func (*ProvisionServiceAccountRequest) GetEnvironment

func (x *ProvisionServiceAccountRequest) GetEnvironment() string

func (*ProvisionServiceAccountRequest) GetExtendedKey

func (x *ProvisionServiceAccountRequest) GetExtendedKey() string

func (*ProvisionServiceAccountRequest) GetNodeAttestation

func (x *ProvisionServiceAccountRequest) GetNodeAttestation() *NodeAttestation

func (*ProvisionServiceAccountRequest) GetRegion

func (x *ProvisionServiceAccountRequest) GetRegion() string

func (*ProvisionServiceAccountRequest) GetRegularExpression

func (x *ProvisionServiceAccountRequest) GetRegularExpression() string

func (*ProvisionServiceAccountRequest) GetServiceAccount

func (x *ProvisionServiceAccountRequest) GetServiceAccount() string

func (*ProvisionServiceAccountRequest) GetSubjectAlternativeNames

func (x *ProvisionServiceAccountRequest) GetSubjectAlternativeNames() []string

func (*ProvisionServiceAccountRequest) GetSubordinateCa

func (x *ProvisionServiceAccountRequest) GetSubordinateCa() string

func (*ProvisionServiceAccountRequest) GetTeam

func (*ProvisionServiceAccountRequest) ProtoMessage

func (*ProvisionServiceAccountRequest) ProtoMessage()

func (*ProvisionServiceAccountRequest) ProtoReflect

func (*ProvisionServiceAccountRequest) Reset

func (x *ProvisionServiceAccountRequest) Reset()

func (*ProvisionServiceAccountRequest) String

type ProvisionServiceAccountResponse

type ProvisionServiceAccountResponse struct {
	ClientId                string                 `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientToken             string                 `protobuf:"bytes,2,opt,name=client_token,json=clientToken,proto3" json:"client_token,omitempty"`
	ServiceAccount          string                 `protobuf:"bytes,3,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	Environment             string                 `protobuf:"bytes,4,opt,name=environment,proto3" json:"environment,omitempty"`
	RegularExpression       string                 `protobuf:"bytes,5,opt,name=regular_expression,json=regularExpression,proto3" json:"regular_expression,omitempty"`
	SubjectAlternativeNames []string               `` /* 132-byte string literal not displayed */
	CertificateAuthorities  []string               `` /* 127-byte string literal not displayed */
	ExtendedKey             string                 `protobuf:"bytes,8,opt,name=extended_key,json=extendedKey,proto3" json:"extended_key,omitempty"`
	NodeAttestation         *NodeAttestation       `protobuf:"bytes,9,opt,name=node_attestation,json=nodeAttestation,proto3" json:"node_attestation,omitempty"`
	CertificateValidity     int32                  `protobuf:"varint,10,opt,name=certificate_validity,json=certificateValidity,proto3" json:"certificate_validity,omitempty"`
	SubordinateCa           string                 `protobuf:"bytes,11,opt,name=subordinate_ca,json=subordinateCa,proto3" json:"subordinate_ca,omitempty"`
	Team                    string                 `protobuf:"bytes,12,opt,name=team,proto3" json:"team,omitempty"`
	Email                   string                 `protobuf:"bytes,13,opt,name=email,proto3" json:"email,omitempty"`
	CreatedAt               *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	CreatedBy               string                 `protobuf:"bytes,15,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionServiceAccountResponse) Descriptor deprecated

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

Deprecated: Use ProvisionServiceAccountResponse.ProtoReflect.Descriptor instead.

func (*ProvisionServiceAccountResponse) GetCertificateAuthorities

func (x *ProvisionServiceAccountResponse) GetCertificateAuthorities() []string

func (*ProvisionServiceAccountResponse) GetCertificateValidity

func (x *ProvisionServiceAccountResponse) GetCertificateValidity() int32

func (*ProvisionServiceAccountResponse) GetClientId

func (x *ProvisionServiceAccountResponse) GetClientId() string

func (*ProvisionServiceAccountResponse) GetClientToken

func (x *ProvisionServiceAccountResponse) GetClientToken() string

func (*ProvisionServiceAccountResponse) GetCreatedAt

func (*ProvisionServiceAccountResponse) GetCreatedBy

func (x *ProvisionServiceAccountResponse) GetCreatedBy() string

func (*ProvisionServiceAccountResponse) GetEmail

func (*ProvisionServiceAccountResponse) GetEnvironment

func (x *ProvisionServiceAccountResponse) GetEnvironment() string

func (*ProvisionServiceAccountResponse) GetExtendedKey

func (x *ProvisionServiceAccountResponse) GetExtendedKey() string

func (*ProvisionServiceAccountResponse) GetNodeAttestation

func (x *ProvisionServiceAccountResponse) GetNodeAttestation() *NodeAttestation

func (*ProvisionServiceAccountResponse) GetRegularExpression

func (x *ProvisionServiceAccountResponse) GetRegularExpression() string

func (*ProvisionServiceAccountResponse) GetServiceAccount

func (x *ProvisionServiceAccountResponse) GetServiceAccount() string

func (*ProvisionServiceAccountResponse) GetSubjectAlternativeNames

func (x *ProvisionServiceAccountResponse) GetSubjectAlternativeNames() []string

func (*ProvisionServiceAccountResponse) GetSubordinateCa

func (x *ProvisionServiceAccountResponse) GetSubordinateCa() string

func (*ProvisionServiceAccountResponse) GetTeam

func (*ProvisionServiceAccountResponse) ProtoMessage

func (*ProvisionServiceAccountResponse) ProtoMessage()

func (*ProvisionServiceAccountResponse) ProtoReflect

func (*ProvisionServiceAccountResponse) Reset

func (*ProvisionServiceAccountResponse) String

type ProvisionerAccount

type ProvisionerAccount struct {
	ClientId                string                 `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ProvisionerAccount      string                 `protobuf:"bytes,2,opt,name=provisioner_account,json=provisionerAccount,proto3" json:"provisioner_account,omitempty"`
	Environments            []string               `protobuf:"bytes,3,rep,name=environments,proto3" json:"environments,omitempty"`
	RegularExpression       string                 `protobuf:"bytes,4,opt,name=regular_expression,json=regularExpression,proto3" json:"regular_expression,omitempty"`
	SubjectAlternativeNames []string               `` /* 132-byte string literal not displayed */
	ExtendedKeys            []string               `protobuf:"bytes,7,rep,name=extended_keys,json=extendedKeys,proto3" json:"extended_keys,omitempty"`
	NodeAttestation         *NodeAttestation       `protobuf:"bytes,8,opt,name=node_attestation,json=nodeAttestation,proto3" json:"node_attestation,omitempty"`
	MaxCertificateValidity  uint32                 `` /* 130-byte string literal not displayed */
	Team                    string                 `protobuf:"bytes,10,opt,name=team,proto3" json:"team,omitempty"`
	Email                   string                 `protobuf:"bytes,11,opt,name=email,proto3" json:"email,omitempty"`
	CreatedAt               *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	CreatedBy               string                 `protobuf:"bytes,13,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionerAccount) Descriptor deprecated

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

Deprecated: Use ProvisionerAccount.ProtoReflect.Descriptor instead.

func (*ProvisionerAccount) GetClientId

func (x *ProvisionerAccount) GetClientId() string

func (*ProvisionerAccount) GetCreatedAt

func (x *ProvisionerAccount) GetCreatedAt() *timestamppb.Timestamp

func (*ProvisionerAccount) GetCreatedBy

func (x *ProvisionerAccount) GetCreatedBy() string

func (*ProvisionerAccount) GetEmail

func (x *ProvisionerAccount) GetEmail() string

func (*ProvisionerAccount) GetEnvironments

func (x *ProvisionerAccount) GetEnvironments() []string

func (*ProvisionerAccount) GetExtendedKeys

func (x *ProvisionerAccount) GetExtendedKeys() []string

func (*ProvisionerAccount) GetMaxCertificateValidity

func (x *ProvisionerAccount) GetMaxCertificateValidity() uint32

func (*ProvisionerAccount) GetNodeAttestation

func (x *ProvisionerAccount) GetNodeAttestation() *NodeAttestation

func (*ProvisionerAccount) GetProvisionerAccount

func (x *ProvisionerAccount) GetProvisionerAccount() string

func (*ProvisionerAccount) GetRegularExpression

func (x *ProvisionerAccount) GetRegularExpression() string

func (*ProvisionerAccount) GetSubjectAlternativeNames

func (x *ProvisionerAccount) GetSubjectAlternativeNames() []string

func (*ProvisionerAccount) GetTeam

func (x *ProvisionerAccount) GetTeam() string

func (*ProvisionerAccount) ProtoMessage

func (*ProvisionerAccount) ProtoMessage()

func (*ProvisionerAccount) ProtoReflect

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

func (*ProvisionerAccount) Reset

func (x *ProvisionerAccount) Reset()

func (*ProvisionerAccount) String

func (x *ProvisionerAccount) String() string

type ProvisionerAccounts

type ProvisionerAccounts struct {
	ProvisionerAccounts []*ProvisionerAccount `protobuf:"bytes,1,rep,name=provisioner_accounts,json=provisionerAccounts,proto3" json:"provisioner_accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*ProvisionerAccounts) Descriptor deprecated

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

Deprecated: Use ProvisionerAccounts.ProtoReflect.Descriptor instead.

func (*ProvisionerAccounts) GetProvisionerAccounts

func (x *ProvisionerAccounts) GetProvisionerAccounts() []*ProvisionerAccount

func (*ProvisionerAccounts) ProtoMessage

func (*ProvisionerAccounts) ProtoMessage()

func (*ProvisionerAccounts) ProtoReflect

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

func (*ProvisionerAccounts) Reset

func (x *ProvisionerAccounts) Reset()

func (*ProvisionerAccounts) String

func (x *ProvisionerAccounts) String() string

type QueryCertificateMetadataRequest

type QueryCertificateMetadataRequest struct {
	SerialNumber           string   `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	Account                string   `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Environment            string   `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment,omitempty"`
	ExtendedKey            string   `protobuf:"bytes,4,opt,name=extended_key,json=extendedKey,proto3" json:"extended_key,omitempty"`
	SubjectAlternativeName []string `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*QueryCertificateMetadataRequest) Descriptor deprecated

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

Deprecated: Use QueryCertificateMetadataRequest.ProtoReflect.Descriptor instead.

func (*QueryCertificateMetadataRequest) GetAccount

func (x *QueryCertificateMetadataRequest) GetAccount() string

func (*QueryCertificateMetadataRequest) GetEnvironment

func (x *QueryCertificateMetadataRequest) GetEnvironment() string

func (*QueryCertificateMetadataRequest) GetExtendedKey

func (x *QueryCertificateMetadataRequest) GetExtendedKey() string

func (*QueryCertificateMetadataRequest) GetSerialNumber

func (x *QueryCertificateMetadataRequest) GetSerialNumber() string

func (*QueryCertificateMetadataRequest) GetSubjectAlternativeName

func (x *QueryCertificateMetadataRequest) GetSubjectAlternativeName() []string

func (*QueryCertificateMetadataRequest) ProtoMessage

func (*QueryCertificateMetadataRequest) ProtoMessage()

func (*QueryCertificateMetadataRequest) ProtoReflect

func (*QueryCertificateMetadataRequest) Reset

func (*QueryCertificateMetadataRequest) String

type QueryParameter

type QueryParameter struct {
	PageId   int32 `protobuf:"varint,2,opt,name=page_id,json=pageId,proto3" json:"page_id,omitempty"`
	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryParameter) Descriptor deprecated

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

Deprecated: Use QueryParameter.ProtoReflect.Descriptor instead.

func (*QueryParameter) GetPageId

func (x *QueryParameter) GetPageId() int32

func (*QueryParameter) GetPageSize

func (x *QueryParameter) GetPageSize() int32

func (*QueryParameter) ProtoMessage

func (*QueryParameter) ProtoMessage()

func (*QueryParameter) ProtoReflect

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

func (*QueryParameter) Reset

func (x *QueryParameter) Reset()

func (*QueryParameter) String

func (x *QueryParameter) String() string

type RevokeCertificateRequest

type RevokeCertificateRequest struct {
	SerialNumber     string `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	RevocationReason string `protobuf:"bytes,2,opt,name=revocation_reason,json=revocationReason,proto3" json:"revocation_reason,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeCertificateRequest) Descriptor deprecated

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

Deprecated: Use RevokeCertificateRequest.ProtoReflect.Descriptor instead.

func (*RevokeCertificateRequest) GetRevocationReason

func (x *RevokeCertificateRequest) GetRevocationReason() string

func (*RevokeCertificateRequest) GetSerialNumber

func (x *RevokeCertificateRequest) GetSerialNumber() string

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 {
	SerialNumber   string                 `protobuf:"bytes,1,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	RevocationDate *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=revocation_date,json=revocationDate,proto3" json:"revocation_date,omitempty"`
	Status         string                 `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeCertificateResponse) Descriptor deprecated

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

Deprecated: Use RevokeCertificateResponse.ProtoReflect.Descriptor instead.

func (*RevokeCertificateResponse) GetRevocationDate

func (x *RevokeCertificateResponse) GetRevocationDate() *timestamppb.Timestamp

func (*RevokeCertificateResponse) GetSerialNumber

func (x *RevokeCertificateResponse) GetSerialNumber() string

func (*RevokeCertificateResponse) GetStatus

func (x *RevokeCertificateResponse) GetStatus() string

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 ServiceAccount

type ServiceAccount struct {
	ClientId                string                 `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ServiceAccount          string                 `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	Environment             string                 `protobuf:"bytes,3,opt,name=environment,proto3" json:"environment,omitempty"`
	RegularExpression       string                 `protobuf:"bytes,4,opt,name=regular_expression,json=regularExpression,proto3" json:"regular_expression,omitempty"`
	SubjectAlternativeNames []string               `` /* 132-byte string literal not displayed */
	CertificateAuthorities  []string               `` /* 127-byte string literal not displayed */
	ExtendedKey             string                 `protobuf:"bytes,7,opt,name=extended_key,json=extendedKey,proto3" json:"extended_key,omitempty"`
	NodeAttestation         *NodeAttestation       `protobuf:"bytes,8,opt,name=node_attestation,json=nodeAttestation,proto3" json:"node_attestation,omitempty"`
	CertificateValidity     int32                  `protobuf:"varint,9,opt,name=certificate_validity,json=certificateValidity,proto3" json:"certificate_validity,omitempty"`
	SubordinateCa           string                 `protobuf:"bytes,10,opt,name=subordinate_ca,json=subordinateCa,proto3" json:"subordinate_ca,omitempty"`
	Provisioned             bool                   `protobuf:"varint,11,opt,name=provisioned,proto3" json:"provisioned,omitempty"`
	Team                    string                 `protobuf:"bytes,12,opt,name=team,proto3" json:"team,omitempty"`
	Email                   string                 `protobuf:"bytes,13,opt,name=email,proto3" json:"email,omitempty"`
	CreatedAt               *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	CreatedBy               string                 `protobuf:"bytes,15,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceAccount) Descriptor deprecated

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

Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) GetCertificateAuthorities

func (x *ServiceAccount) GetCertificateAuthorities() []string

func (*ServiceAccount) GetCertificateValidity

func (x *ServiceAccount) GetCertificateValidity() int32

func (*ServiceAccount) GetClientId

func (x *ServiceAccount) GetClientId() string

func (*ServiceAccount) GetCreatedAt

func (x *ServiceAccount) GetCreatedAt() *timestamppb.Timestamp

func (*ServiceAccount) GetCreatedBy

func (x *ServiceAccount) GetCreatedBy() string

func (*ServiceAccount) GetEmail

func (x *ServiceAccount) GetEmail() string

func (*ServiceAccount) GetEnvironment

func (x *ServiceAccount) GetEnvironment() string

func (*ServiceAccount) GetExtendedKey

func (x *ServiceAccount) GetExtendedKey() string

func (*ServiceAccount) GetNodeAttestation

func (x *ServiceAccount) GetNodeAttestation() *NodeAttestation

func (*ServiceAccount) GetProvisioned

func (x *ServiceAccount) GetProvisioned() bool

func (*ServiceAccount) GetRegularExpression

func (x *ServiceAccount) GetRegularExpression() string

func (*ServiceAccount) GetServiceAccount

func (x *ServiceAccount) GetServiceAccount() string

func (*ServiceAccount) GetSubjectAlternativeNames

func (x *ServiceAccount) GetSubjectAlternativeNames() []string

func (*ServiceAccount) GetSubordinateCa

func (x *ServiceAccount) GetSubordinateCa() string

func (*ServiceAccount) GetTeam

func (x *ServiceAccount) GetTeam() string

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect

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

func (*ServiceAccount) Reset

func (x *ServiceAccount) Reset()

func (*ServiceAccount) String

func (x *ServiceAccount) String() string

type ServiceAccounts

type ServiceAccounts struct {
	ServiceAccounts []*ServiceAccount `protobuf:"bytes,1,rep,name=service_accounts,json=serviceAccounts,proto3" json:"service_accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceAccounts) Descriptor deprecated

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

Deprecated: Use ServiceAccounts.ProtoReflect.Descriptor instead.

func (*ServiceAccounts) GetServiceAccounts

func (x *ServiceAccounts) GetServiceAccounts() []*ServiceAccount

func (*ServiceAccounts) ProtoMessage

func (*ServiceAccounts) ProtoMessage()

func (*ServiceAccounts) ProtoReflect

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

func (*ServiceAccounts) Reset

func (x *ServiceAccounts) Reset()

func (*ServiceAccounts) String

func (x *ServiceAccounts) String() string

type ServiceClient

type ServiceClient interface {
	CreateServiceAccount(ctx context.Context, in *CreateServiceAccountRequest, opts ...grpc.CallOption) (*CreateServiceAccountResponse, error)
	CreateProvisionerAccount(ctx context.Context, in *CreateProvisionerAccountRequest, opts ...grpc.CallOption) (*CreateProvisionerAccountResponse, error)
	GetProvisionerAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*ProvisionerAccount, error)
	GetServiceAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*ServiceAccount, error)
	GetServiceAccountMetadata(ctx context.Context, in *GetServiceAccountMetadataRequest, opts ...grpc.CallOption) (*ServiceAccounts, error)
	DeleteServiceAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteProvisionedServiceAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error)
	DeleteProvisionerAccount(ctx context.Context, in *AccountId, opts ...grpc.CallOption) (*emptypb.Empty, error)
	ProvisionServiceAccount(ctx context.Context, in *ProvisionServiceAccountRequest, opts ...grpc.CallOption) (*ProvisionServiceAccountResponse, error)
	ListServiceAccounts(ctx context.Context, in *QueryParameter, opts ...grpc.CallOption) (*ServiceAccounts, error)
	ListProvisionerAccounts(ctx context.Context, in *QueryParameter, opts ...grpc.CallOption) (*ProvisionerAccounts, error)
}

ServiceClient is the client API for Service 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.

func NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceServer

type ServiceServer interface {
	CreateServiceAccount(context.Context, *CreateServiceAccountRequest) (*CreateServiceAccountResponse, error)
	CreateProvisionerAccount(context.Context, *CreateProvisionerAccountRequest) (*CreateProvisionerAccountResponse, error)
	GetProvisionerAccount(context.Context, *AccountId) (*ProvisionerAccount, error)
	GetServiceAccount(context.Context, *AccountId) (*ServiceAccount, error)
	GetServiceAccountMetadata(context.Context, *GetServiceAccountMetadataRequest) (*ServiceAccounts, error)
	DeleteServiceAccount(context.Context, *AccountId) (*emptypb.Empty, error)
	DeleteProvisionedServiceAccount(context.Context, *AccountId) (*emptypb.Empty, error)
	DeleteProvisionerAccount(context.Context, *AccountId) (*emptypb.Empty, error)
	ProvisionServiceAccount(context.Context, *ProvisionServiceAccountRequest) (*ProvisionServiceAccountResponse, error)
	ListServiceAccounts(context.Context, *QueryParameter) (*ServiceAccounts, error)
	ListProvisionerAccounts(context.Context, *QueryParameter) (*ProvisionerAccounts, error)
	// contains filtered or unexported methods
}

ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility

type SignedCertificate

type SignedCertificate struct {
	Certificate                  string                `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	CertificateChain             string                `protobuf:"bytes,2,opt,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
	Metadata                     *CertificateParameter `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	IntermediateCertificateChain string                `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SignedCertificate) Descriptor deprecated

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

Deprecated: Use SignedCertificate.ProtoReflect.Descriptor instead.

func (*SignedCertificate) GetCertificate

func (x *SignedCertificate) GetCertificate() string

func (*SignedCertificate) GetCertificateChain

func (x *SignedCertificate) GetCertificateChain() string

func (*SignedCertificate) GetIntermediateCertificateChain

func (x *SignedCertificate) GetIntermediateCertificateChain() string

func (*SignedCertificate) GetMetadata

func (x *SignedCertificate) GetMetadata() *CertificateParameter

func (*SignedCertificate) ProtoMessage

func (*SignedCertificate) ProtoMessage()

func (*SignedCertificate) ProtoReflect

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

func (*SignedCertificate) Reset

func (x *SignedCertificate) Reset()

func (*SignedCertificate) String

func (x *SignedCertificate) String() string

type UnimplementedAccountServer

type UnimplementedAccountServer struct {
}

UnimplementedAccountServer must be embedded to have forward compatible implementations.

func (UnimplementedAccountServer) CreateUser

func (UnimplementedAccountServer) DeleteUser

func (UnimplementedAccountServer) GetUser

func (UnimplementedAccountServer) ListUsers

func (UnimplementedAccountServer) LoginUser

func (UnimplementedAccountServer) UpdateUserCredentials

func (UnimplementedAccountServer) UpdateUserPermissions

type UnimplementedCertificateServer

type UnimplementedCertificateServer struct {
}

UnimplementedCertificateServer must be embedded to have forward compatible implementations.

func (UnimplementedCertificateServer) GetCertificate

func (UnimplementedCertificateServer) ListCertificates

func (UnimplementedCertificateServer) OperationsSignCSR

func (UnimplementedCertificateServer) QueryCertificateMetadata

func (UnimplementedCertificateServer) RevokeCertificate

func (UnimplementedCertificateServer) SignCSR

type UnimplementedHealthServer

type UnimplementedHealthServer struct {
}

UnimplementedHealthServer must be embedded to have forward compatible implementations.

func (UnimplementedHealthServer) Check

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) DeleteProvisionedServiceAccount

func (UnimplementedServiceServer) DeleteProvisionedServiceAccount(context.Context, *AccountId) (*emptypb.Empty, error)

func (UnimplementedServiceServer) DeleteProvisionerAccount

func (UnimplementedServiceServer) DeleteProvisionerAccount(context.Context, *AccountId) (*emptypb.Empty, error)

func (UnimplementedServiceServer) DeleteServiceAccount

func (UnimplementedServiceServer) GetProvisionerAccount

func (UnimplementedServiceServer) GetServiceAccount

func (UnimplementedServiceServer) GetServiceAccountMetadata

func (UnimplementedServiceServer) ListProvisionerAccounts

func (UnimplementedServiceServer) ListServiceAccounts

type UnsafeAccountServer

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

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

type UnsafeCertificateServer

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

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

type UnsafeHealthServer

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

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

type UnsafeServiceServer

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

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

type UpdateCredentialsRequest

type UpdateCredentialsRequest struct {
	Username        string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password        string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	UpdatedPassword string `protobuf:"bytes,3,opt,name=updated_password,json=updatedPassword,proto3" json:"updated_password,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCredentialsRequest) Descriptor deprecated

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

Deprecated: Use UpdateCredentialsRequest.ProtoReflect.Descriptor instead.

func (*UpdateCredentialsRequest) GetPassword

func (x *UpdateCredentialsRequest) GetPassword() string

func (*UpdateCredentialsRequest) GetUpdatedPassword

func (x *UpdateCredentialsRequest) GetUpdatedPassword() string

func (*UpdateCredentialsRequest) GetUsername

func (x *UpdateCredentialsRequest) GetUsername() string

func (*UpdateCredentialsRequest) ProtoMessage

func (*UpdateCredentialsRequest) ProtoMessage()

func (*UpdateCredentialsRequest) ProtoReflect

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

func (*UpdateCredentialsRequest) Reset

func (x *UpdateCredentialsRequest) Reset()

func (*UpdateCredentialsRequest) String

func (x *UpdateCredentialsRequest) String() string

type UpdatePermissionsRequest

type UpdatePermissionsRequest struct {
	Username    string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Permissions string `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePermissionsRequest) Descriptor deprecated

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

Deprecated: Use UpdatePermissionsRequest.ProtoReflect.Descriptor instead.

func (*UpdatePermissionsRequest) GetPermissions

func (x *UpdatePermissionsRequest) GetPermissions() string

func (*UpdatePermissionsRequest) GetUsername

func (x *UpdatePermissionsRequest) GetUsername() string

func (*UpdatePermissionsRequest) ProtoMessage

func (*UpdatePermissionsRequest) ProtoMessage()

func (*UpdatePermissionsRequest) ProtoReflect

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

func (*UpdatePermissionsRequest) Reset

func (x *UpdatePermissionsRequest) Reset()

func (*UpdatePermissionsRequest) String

func (x *UpdatePermissionsRequest) String() string

type User

type User struct {
	Uuid                string                 `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Username            string                 `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	FullName            string                 `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3" json:"full_name,omitempty"`
	Email               string                 `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"`
	Permissions         string                 `protobuf:"bytes,5,opt,name=permissions,proto3" json:"permissions,omitempty"`
	CredentialChangedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=credential_changed_at,json=credentialChangedAt,proto3" json:"credential_changed_at,omitempty"`
	CreatedAt           *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() *timestamppb.Timestamp

func (*User) GetCredentialChangedAt

func (x *User) GetCredentialChangedAt() *timestamppb.Timestamp

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetFullName

func (x *User) GetFullName() string

func (*User) GetPermissions

func (x *User) GetPermissions() string

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) GetUuid

func (x *User) GetUuid() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UsernameRequest

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

func (*UsernameRequest) Descriptor deprecated

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

Deprecated: Use UsernameRequest.ProtoReflect.Descriptor instead.

func (*UsernameRequest) GetUsername

func (x *UsernameRequest) GetUsername() string

func (*UsernameRequest) ProtoMessage

func (*UsernameRequest) ProtoMessage()

func (*UsernameRequest) ProtoReflect

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

func (*UsernameRequest) Reset

func (x *UsernameRequest) Reset()

func (*UsernameRequest) String

func (x *UsernameRequest) String() string

type Users

type Users struct {
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*Users) Descriptor deprecated

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

Deprecated: Use Users.ProtoReflect.Descriptor instead.

func (*Users) GetUsers

func (x *Users) GetUsers() []*User

func (*Users) ProtoMessage

func (*Users) ProtoMessage()

func (*Users) ProtoReflect

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

func (*Users) Reset

func (x *Users) Reset()

func (*Users) String

func (x *Users) String() string

Jump to

Keyboard shortcuts

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