Documentation
¶
Index ¶
- Variables
- type ACMEProvisioner
- type AWSProvisioner
- func (*AWSProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *AWSProvisioner) GetAccounts() []string
- func (x *AWSProvisioner) GetDisableCustomSans() bool
- func (x *AWSProvisioner) GetDisableTrustOnFirstUse() bool
- func (x *AWSProvisioner) GetInstanceAge() string
- func (*AWSProvisioner) ProtoMessage()
- func (x *AWSProvisioner) ProtoReflect() protoreflect.Message
- func (x *AWSProvisioner) Reset()
- func (x *AWSProvisioner) String() string
- type Admin
- func (*Admin) Descriptor() ([]byte, []int)deprecated
- func (x *Admin) GetAuthorityId() string
- func (x *Admin) GetId() string
- func (x *Admin) GetProvisionerId() string
- func (x *Admin) GetSubject() string
- func (x *Admin) GetType() Admin_Type
- func (*Admin) ProtoMessage()
- func (x *Admin) ProtoReflect() protoreflect.Message
- func (x *Admin) Reset()
- func (x *Admin) String() string
- type Admin_Type
- type AzureProvisioner
- func (*AzureProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *AzureProvisioner) GetAudience() string
- func (x *AzureProvisioner) GetDisableCustomSans() bool
- func (x *AzureProvisioner) GetDisableTrustOnFirstUse() bool
- func (x *AzureProvisioner) GetResourceGroups() []string
- func (x *AzureProvisioner) GetTenantId() string
- func (*AzureProvisioner) ProtoMessage()
- func (x *AzureProvisioner) ProtoReflect() protoreflect.Message
- func (x *AzureProvisioner) Reset()
- func (x *AzureProvisioner) String() string
- type Claims
- func (*Claims) Descriptor() ([]byte, []int)deprecated
- func (x *Claims) GetDisableRenewal() bool
- func (x *Claims) GetSsh() *SSHClaims
- func (x *Claims) GetX509() *X509Claims
- func (*Claims) ProtoMessage()
- func (x *Claims) ProtoReflect() protoreflect.Message
- func (x *Claims) Reset()
- func (x *Claims) String() string
- type Durations
- func (*Durations) Descriptor() ([]byte, []int)deprecated
- func (x *Durations) GetDefault() string
- func (x *Durations) GetMax() string
- func (x *Durations) GetMin() string
- func (*Durations) ProtoMessage()
- func (x *Durations) ProtoReflect() protoreflect.Message
- func (x *Durations) Reset()
- func (x *Durations) String() string
- type GCPProvisioner
- func (*GCPProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *GCPProvisioner) GetDisableCustomSans() bool
- func (x *GCPProvisioner) GetDisableTrustOnFirstUse() bool
- func (x *GCPProvisioner) GetInstanceAge() string
- func (x *GCPProvisioner) GetProjectIds() []string
- func (x *GCPProvisioner) GetServiceAccounts() []string
- func (*GCPProvisioner) ProtoMessage()
- func (x *GCPProvisioner) ProtoReflect() protoreflect.Message
- func (x *GCPProvisioner) Reset()
- func (x *GCPProvisioner) String() string
- type JWKProvisioner
- func (*JWKProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *JWKProvisioner) GetEncryptedPrivateKey() []byte
- func (x *JWKProvisioner) GetPublicKey() []byte
- func (*JWKProvisioner) ProtoMessage()
- func (x *JWKProvisioner) ProtoReflect() protoreflect.Message
- func (x *JWKProvisioner) Reset()
- func (x *JWKProvisioner) String() string
- type K8SSAProvisioner
- type OIDCProvisioner
- func (*OIDCProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *OIDCProvisioner) GetAdmins() []string
- func (x *OIDCProvisioner) GetClientId() string
- func (x *OIDCProvisioner) GetClientSecret() string
- func (x *OIDCProvisioner) GetConfigurationEndpoint() string
- func (x *OIDCProvisioner) GetDomains() []string
- func (x *OIDCProvisioner) GetGroups() []string
- func (x *OIDCProvisioner) GetListenAddress() string
- func (x *OIDCProvisioner) GetTenantId() string
- func (*OIDCProvisioner) ProtoMessage()
- func (x *OIDCProvisioner) ProtoReflect() protoreflect.Message
- func (x *OIDCProvisioner) Reset()
- func (x *OIDCProvisioner) String() string
- type Provisioner
- func (*Provisioner) Descriptor() ([]byte, []int)deprecated
- func (x *Provisioner) GetAuthorityId() string
- func (x *Provisioner) GetClaims() *Claims
- func (x *Provisioner) GetDetails() *ProvisionerDetails
- func (x *Provisioner) GetId() string
- func (x *Provisioner) GetName() string
- func (x *Provisioner) GetSshTemplate() []byte
- func (x *Provisioner) GetSshTemplateData() []byte
- func (x *Provisioner) GetType() Provisioner_Type
- func (x *Provisioner) GetX509Template() []byte
- func (x *Provisioner) GetX509TemplateData() []byte
- func (*Provisioner) ProtoMessage()
- func (x *Provisioner) ProtoReflect() protoreflect.Message
- func (x *Provisioner) Reset()
- func (x *Provisioner) String() string
- type ProvisionerDetails
- func (*ProvisionerDetails) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionerDetails) GetACME() *ACMEProvisioner
- func (x *ProvisionerDetails) GetAWS() *AWSProvisioner
- func (x *ProvisionerDetails) GetAzure() *AzureProvisioner
- func (m *ProvisionerDetails) GetData() isProvisionerDetails_Data
- func (x *ProvisionerDetails) GetGCP() *GCPProvisioner
- func (x *ProvisionerDetails) GetJWK() *JWKProvisioner
- func (x *ProvisionerDetails) GetK8SSA() *K8SSAProvisioner
- func (x *ProvisionerDetails) GetOIDC() *OIDCProvisioner
- func (x *ProvisionerDetails) GetSCEP() *SCEPProvisioner
- func (x *ProvisionerDetails) GetSSHPOP() *SSHPOPProvisioner
- func (x *ProvisionerDetails) GetX5C() *X5CProvisioner
- func (*ProvisionerDetails) ProtoMessage()
- func (x *ProvisionerDetails) ProtoReflect() protoreflect.Message
- func (x *ProvisionerDetails) Reset()
- func (x *ProvisionerDetails) String() string
- type ProvisionerDetails_ACME
- type ProvisionerDetails_AWS
- type ProvisionerDetails_Azure
- type ProvisionerDetails_GCP
- type ProvisionerDetails_JWK
- type ProvisionerDetails_K8SSA
- type ProvisionerDetails_OIDC
- type ProvisionerDetails_SCEP
- type ProvisionerDetails_SSHPOP
- type ProvisionerDetails_X5C
- type ProvisionerList
- type Provisioner_Type
- func (Provisioner_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Provisioner_Type) Enum() *Provisioner_Type
- func (Provisioner_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Provisioner_Type) Number() protoreflect.EnumNumber
- func (x Provisioner_Type) String() string
- func (Provisioner_Type) Type() protoreflect.EnumType
- type SCEPProvisioner
- func (*SCEPProvisioner) Descriptor() ([]byte, []int)deprecated
- func (x *SCEPProvisioner) GetCapabilities() []string
- func (x *SCEPProvisioner) GetChallenge() string
- func (x *SCEPProvisioner) GetForceCn() bool
- func (x *SCEPProvisioner) GetMinimumPublicKeyLength() int32
- func (*SCEPProvisioner) ProtoMessage()
- func (x *SCEPProvisioner) ProtoReflect() protoreflect.Message
- func (x *SCEPProvisioner) Reset()
- func (x *SCEPProvisioner) String() string
- type SSHClaims
- func (*SSHClaims) Descriptor() ([]byte, []int)deprecated
- func (x *SSHClaims) GetEnabled() bool
- func (x *SSHClaims) GetHostDurations() *Durations
- func (x *SSHClaims) GetUserDurations() *Durations
- func (*SSHClaims) ProtoMessage()
- func (x *SSHClaims) ProtoReflect() protoreflect.Message
- func (x *SSHClaims) Reset()
- func (x *SSHClaims) String() string
- type SSHPOPProvisioner
- type X509Claims
- func (*X509Claims) Descriptor() ([]byte, []int)deprecated
- func (x *X509Claims) GetDurations() *Durations
- func (x *X509Claims) GetEnabled() bool
- func (*X509Claims) ProtoMessage()
- func (x *X509Claims) ProtoReflect() protoreflect.Message
- func (x *X509Claims) Reset()
- func (x *X509Claims) String() string
- type X5CProvisioner
Constants ¶
This section is empty.
Variables ¶
var ( Admin_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "ADMIN", 2: "SUPER_ADMIN", } Admin_Type_value = map[string]int32{ "UNKNOWN": 0, "ADMIN": 1, "SUPER_ADMIN": 2, } )
Enum value maps for Admin_Type.
var ( Provisioner_Type_name = map[int32]string{ 0: "NOOP", 1: "JWK", 2: "OIDC", 3: "GCP", 4: "AWS", 5: "AZURE", 6: "ACME", 7: "X5C", 8: "K8SSA", 9: "SSHPOP", 10: "SCEP", } Provisioner_Type_value = map[string]int32{ "NOOP": 0, "JWK": 1, "OIDC": 2, "GCP": 3, "AWS": 4, "AZURE": 5, "ACME": 6, "X5C": 7, "K8SSA": 8, "SSHPOP": 9, "SCEP": 10, } )
Enum value maps for Provisioner_Type.
var File_linkedca_admin_proto protoreflect.FileDescriptor
var File_linkedca_provisioners_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ACMEProvisioner ¶
type ACMEProvisioner struct { ForceCn bool `protobuf:"varint,1,opt,name=force_cn,json=forceCn,proto3" json:"force_cn,omitempty"` // contains filtered or unexported fields }
func (*ACMEProvisioner) Descriptor
deprecated
func (*ACMEProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use ACMEProvisioner.ProtoReflect.Descriptor instead.
func (*ACMEProvisioner) GetForceCn ¶
func (x *ACMEProvisioner) GetForceCn() bool
func (*ACMEProvisioner) ProtoMessage ¶
func (*ACMEProvisioner) ProtoMessage()
func (*ACMEProvisioner) ProtoReflect ¶
func (x *ACMEProvisioner) ProtoReflect() protoreflect.Message
func (*ACMEProvisioner) Reset ¶
func (x *ACMEProvisioner) Reset()
func (*ACMEProvisioner) String ¶
func (x *ACMEProvisioner) String() string
type AWSProvisioner ¶
type AWSProvisioner struct { Accounts []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` DisableCustomSans bool `protobuf:"varint,2,opt,name=disable_custom_sans,json=disableCustomSans,proto3" json:"disable_custom_sans,omitempty"` DisableTrustOnFirstUse bool `` /* 134-byte string literal not displayed */ InstanceAge string `protobuf:"bytes,4,opt,name=instance_age,json=instanceAge,proto3" json:"instance_age,omitempty"` // contains filtered or unexported fields }
func (*AWSProvisioner) Descriptor
deprecated
func (*AWSProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use AWSProvisioner.ProtoReflect.Descriptor instead.
func (*AWSProvisioner) GetAccounts ¶
func (x *AWSProvisioner) GetAccounts() []string
func (*AWSProvisioner) GetDisableCustomSans ¶
func (x *AWSProvisioner) GetDisableCustomSans() bool
func (*AWSProvisioner) GetDisableTrustOnFirstUse ¶
func (x *AWSProvisioner) GetDisableTrustOnFirstUse() bool
func (*AWSProvisioner) GetInstanceAge ¶
func (x *AWSProvisioner) GetInstanceAge() string
func (*AWSProvisioner) ProtoMessage ¶
func (*AWSProvisioner) ProtoMessage()
func (*AWSProvisioner) ProtoReflect ¶
func (x *AWSProvisioner) ProtoReflect() protoreflect.Message
func (*AWSProvisioner) Reset ¶
func (x *AWSProvisioner) Reset()
func (*AWSProvisioner) String ¶
func (x *AWSProvisioner) String() string
type Admin ¶
type Admin struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AuthorityId string `protobuf:"bytes,2,opt,name=authority_id,json=authorityId,proto3" json:"authority_id,omitempty"` Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` ProvisionerId string `protobuf:"bytes,4,opt,name=provisioner_id,json=provisionerId,proto3" json:"provisioner_id,omitempty"` Type Admin_Type `protobuf:"varint,5,opt,name=type,proto3,enum=linkedca.Admin_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Admin) Descriptor
deprecated
func (*Admin) GetAuthorityId ¶
func (*Admin) GetProvisionerId ¶
func (*Admin) GetSubject ¶
func (*Admin) GetType ¶
func (x *Admin) GetType() Admin_Type
func (*Admin) ProtoMessage ¶
func (*Admin) ProtoMessage()
func (*Admin) ProtoReflect ¶
func (x *Admin) ProtoReflect() protoreflect.Message
type Admin_Type ¶
type Admin_Type int32
const ( Admin_UNKNOWN Admin_Type = 0 Admin_ADMIN Admin_Type = 1 Admin_SUPER_ADMIN Admin_Type = 2 )
func (Admin_Type) Descriptor ¶
func (Admin_Type) Descriptor() protoreflect.EnumDescriptor
func (Admin_Type) Enum ¶
func (x Admin_Type) Enum() *Admin_Type
func (Admin_Type) EnumDescriptor
deprecated
func (Admin_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Admin_Type.Descriptor instead.
func (Admin_Type) Number ¶
func (x Admin_Type) Number() protoreflect.EnumNumber
func (Admin_Type) String ¶
func (x Admin_Type) String() string
func (Admin_Type) Type ¶
func (Admin_Type) Type() protoreflect.EnumType
type AzureProvisioner ¶
type AzureProvisioner struct { TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` ResourceGroups []string `protobuf:"bytes,2,rep,name=resource_groups,json=resourceGroups,proto3" json:"resource_groups,omitempty"` Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"` DisableCustomSans bool `protobuf:"varint,4,opt,name=disable_custom_sans,json=disableCustomSans,proto3" json:"disable_custom_sans,omitempty"` DisableTrustOnFirstUse bool `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AzureProvisioner) Descriptor
deprecated
func (*AzureProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use AzureProvisioner.ProtoReflect.Descriptor instead.
func (*AzureProvisioner) GetAudience ¶
func (x *AzureProvisioner) GetAudience() string
func (*AzureProvisioner) GetDisableCustomSans ¶
func (x *AzureProvisioner) GetDisableCustomSans() bool
func (*AzureProvisioner) GetDisableTrustOnFirstUse ¶
func (x *AzureProvisioner) GetDisableTrustOnFirstUse() bool
func (*AzureProvisioner) GetResourceGroups ¶
func (x *AzureProvisioner) GetResourceGroups() []string
func (*AzureProvisioner) GetTenantId ¶
func (x *AzureProvisioner) GetTenantId() string
func (*AzureProvisioner) ProtoMessage ¶
func (*AzureProvisioner) ProtoMessage()
func (*AzureProvisioner) ProtoReflect ¶
func (x *AzureProvisioner) ProtoReflect() protoreflect.Message
func (*AzureProvisioner) Reset ¶
func (x *AzureProvisioner) Reset()
func (*AzureProvisioner) String ¶
func (x *AzureProvisioner) String() string
type Claims ¶
type Claims struct { X509 *X509Claims `protobuf:"bytes,1,opt,name=x509,proto3" json:"x509,omitempty"` Ssh *SSHClaims `protobuf:"bytes,2,opt,name=ssh,proto3" json:"ssh,omitempty"` DisableRenewal bool `protobuf:"varint,3,opt,name=disable_renewal,json=disableRenewal,proto3" json:"disable_renewal,omitempty"` // contains filtered or unexported fields }
func (*Claims) Descriptor
deprecated
func (*Claims) GetDisableRenewal ¶
func (*Claims) GetX509 ¶
func (x *Claims) GetX509() *X509Claims
func (*Claims) ProtoMessage ¶
func (*Claims) ProtoMessage()
func (*Claims) ProtoReflect ¶
func (x *Claims) ProtoReflect() protoreflect.Message
type Durations ¶
type Durations struct { Default string `protobuf:"bytes,1,opt,name=default,proto3" json:"default,omitempty"` Min string `protobuf:"bytes,2,opt,name=min,proto3" json:"min,omitempty"` Max string `protobuf:"bytes,3,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*Durations) Descriptor
deprecated
func (*Durations) GetDefault ¶
func (*Durations) ProtoMessage ¶
func (*Durations) ProtoMessage()
func (*Durations) ProtoReflect ¶
func (x *Durations) ProtoReflect() protoreflect.Message
type GCPProvisioner ¶
type GCPProvisioner struct { ServiceAccounts []string `protobuf:"bytes,1,rep,name=service_accounts,json=serviceAccounts,proto3" json:"service_accounts,omitempty"` ProjectIds []string `protobuf:"bytes,2,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"` DisableCustomSans bool `protobuf:"varint,3,opt,name=disable_custom_sans,json=disableCustomSans,proto3" json:"disable_custom_sans,omitempty"` DisableTrustOnFirstUse bool `` /* 134-byte string literal not displayed */ InstanceAge string `protobuf:"bytes,5,opt,name=instance_age,json=instanceAge,proto3" json:"instance_age,omitempty"` // contains filtered or unexported fields }
func (*GCPProvisioner) Descriptor
deprecated
func (*GCPProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use GCPProvisioner.ProtoReflect.Descriptor instead.
func (*GCPProvisioner) GetDisableCustomSans ¶
func (x *GCPProvisioner) GetDisableCustomSans() bool
func (*GCPProvisioner) GetDisableTrustOnFirstUse ¶
func (x *GCPProvisioner) GetDisableTrustOnFirstUse() bool
func (*GCPProvisioner) GetInstanceAge ¶
func (x *GCPProvisioner) GetInstanceAge() string
func (*GCPProvisioner) GetProjectIds ¶
func (x *GCPProvisioner) GetProjectIds() []string
func (*GCPProvisioner) GetServiceAccounts ¶
func (x *GCPProvisioner) GetServiceAccounts() []string
func (*GCPProvisioner) ProtoMessage ¶
func (*GCPProvisioner) ProtoMessage()
func (*GCPProvisioner) ProtoReflect ¶
func (x *GCPProvisioner) ProtoReflect() protoreflect.Message
func (*GCPProvisioner) Reset ¶
func (x *GCPProvisioner) Reset()
func (*GCPProvisioner) String ¶
func (x *GCPProvisioner) String() string
type JWKProvisioner ¶
type JWKProvisioner struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` EncryptedPrivateKey []byte `protobuf:"bytes,2,opt,name=encrypted_private_key,json=encryptedPrivateKey,proto3" json:"encrypted_private_key,omitempty"` // contains filtered or unexported fields }
func (*JWKProvisioner) Descriptor
deprecated
func (*JWKProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use JWKProvisioner.ProtoReflect.Descriptor instead.
func (*JWKProvisioner) GetEncryptedPrivateKey ¶
func (x *JWKProvisioner) GetEncryptedPrivateKey() []byte
func (*JWKProvisioner) GetPublicKey ¶
func (x *JWKProvisioner) GetPublicKey() []byte
func (*JWKProvisioner) ProtoMessage ¶
func (*JWKProvisioner) ProtoMessage()
func (*JWKProvisioner) ProtoReflect ¶
func (x *JWKProvisioner) ProtoReflect() protoreflect.Message
func (*JWKProvisioner) Reset ¶
func (x *JWKProvisioner) Reset()
func (*JWKProvisioner) String ¶
func (x *JWKProvisioner) String() string
type K8SSAProvisioner ¶
type K8SSAProvisioner struct { PublicKeys [][]byte `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` // contains filtered or unexported fields }
func (*K8SSAProvisioner) Descriptor
deprecated
func (*K8SSAProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use K8SSAProvisioner.ProtoReflect.Descriptor instead.
func (*K8SSAProvisioner) GetPublicKeys ¶
func (x *K8SSAProvisioner) GetPublicKeys() [][]byte
func (*K8SSAProvisioner) ProtoMessage ¶
func (*K8SSAProvisioner) ProtoMessage()
func (*K8SSAProvisioner) ProtoReflect ¶
func (x *K8SSAProvisioner) ProtoReflect() protoreflect.Message
func (*K8SSAProvisioner) Reset ¶
func (x *K8SSAProvisioner) Reset()
func (*K8SSAProvisioner) String ¶
func (x *K8SSAProvisioner) String() string
type OIDCProvisioner ¶
type OIDCProvisioner struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,2,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` ConfigurationEndpoint string `protobuf:"bytes,3,opt,name=configuration_endpoint,json=configurationEndpoint,proto3" json:"configuration_endpoint,omitempty"` Admins []string `protobuf:"bytes,4,rep,name=admins,proto3" json:"admins,omitempty"` Domains []string `protobuf:"bytes,5,rep,name=domains,proto3" json:"domains,omitempty"` Groups []string `protobuf:"bytes,6,rep,name=groups,proto3" json:"groups,omitempty"` ListenAddress string `protobuf:"bytes,7,opt,name=listen_address,json=listenAddress,proto3" json:"listen_address,omitempty"` TenantId string `protobuf:"bytes,8,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // contains filtered or unexported fields }
func (*OIDCProvisioner) Descriptor
deprecated
func (*OIDCProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use OIDCProvisioner.ProtoReflect.Descriptor instead.
func (*OIDCProvisioner) GetAdmins ¶
func (x *OIDCProvisioner) GetAdmins() []string
func (*OIDCProvisioner) GetClientId ¶
func (x *OIDCProvisioner) GetClientId() string
func (*OIDCProvisioner) GetClientSecret ¶
func (x *OIDCProvisioner) GetClientSecret() string
func (*OIDCProvisioner) GetConfigurationEndpoint ¶
func (x *OIDCProvisioner) GetConfigurationEndpoint() string
func (*OIDCProvisioner) GetDomains ¶
func (x *OIDCProvisioner) GetDomains() []string
func (*OIDCProvisioner) GetGroups ¶
func (x *OIDCProvisioner) GetGroups() []string
func (*OIDCProvisioner) GetListenAddress ¶
func (x *OIDCProvisioner) GetListenAddress() string
func (*OIDCProvisioner) GetTenantId ¶
func (x *OIDCProvisioner) GetTenantId() string
func (*OIDCProvisioner) ProtoMessage ¶
func (*OIDCProvisioner) ProtoMessage()
func (*OIDCProvisioner) ProtoReflect ¶
func (x *OIDCProvisioner) ProtoReflect() protoreflect.Message
func (*OIDCProvisioner) Reset ¶
func (x *OIDCProvisioner) Reset()
func (*OIDCProvisioner) String ¶
func (x *OIDCProvisioner) String() string
type Provisioner ¶
type Provisioner struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AuthorityId string `protobuf:"bytes,2,opt,name=authority_id,json=authorityId,proto3" json:"authority_id,omitempty"` Type Provisioner_Type `protobuf:"varint,3,opt,name=type,proto3,enum=linkedca.Provisioner_Type" json:"type,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Details *ProvisionerDetails `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"` Claims *Claims `protobuf:"bytes,6,opt,name=claims,proto3" json:"claims,omitempty"` X509Template []byte `protobuf:"bytes,7,opt,name=x509_template,json=x509Template,proto3" json:"x509_template,omitempty"` X509TemplateData []byte `protobuf:"bytes,8,opt,name=x509_template_data,json=x509TemplateData,proto3" json:"x509_template_data,omitempty"` SshTemplate []byte `protobuf:"bytes,9,opt,name=ssh_template,json=sshTemplate,proto3" json:"ssh_template,omitempty"` SshTemplateData []byte `protobuf:"bytes,10,opt,name=ssh_template_data,json=sshTemplateData,proto3" json:"ssh_template_data,omitempty"` // contains filtered or unexported fields }
func (*Provisioner) Descriptor
deprecated
func (*Provisioner) Descriptor() ([]byte, []int)
Deprecated: Use Provisioner.ProtoReflect.Descriptor instead.
func (*Provisioner) GetAuthorityId ¶
func (x *Provisioner) GetAuthorityId() string
func (*Provisioner) GetClaims ¶
func (x *Provisioner) GetClaims() *Claims
func (*Provisioner) GetDetails ¶
func (x *Provisioner) GetDetails() *ProvisionerDetails
func (*Provisioner) GetId ¶
func (x *Provisioner) GetId() string
func (*Provisioner) GetName ¶
func (x *Provisioner) GetName() string
func (*Provisioner) GetSshTemplate ¶
func (x *Provisioner) GetSshTemplate() []byte
func (*Provisioner) GetSshTemplateData ¶
func (x *Provisioner) GetSshTemplateData() []byte
func (*Provisioner) GetType ¶
func (x *Provisioner) GetType() Provisioner_Type
func (*Provisioner) GetX509Template ¶
func (x *Provisioner) GetX509Template() []byte
func (*Provisioner) GetX509TemplateData ¶
func (x *Provisioner) GetX509TemplateData() []byte
func (*Provisioner) ProtoMessage ¶
func (*Provisioner) ProtoMessage()
func (*Provisioner) ProtoReflect ¶
func (x *Provisioner) ProtoReflect() protoreflect.Message
func (*Provisioner) Reset ¶
func (x *Provisioner) Reset()
func (*Provisioner) String ¶
func (x *Provisioner) String() string
type ProvisionerDetails ¶
type ProvisionerDetails struct { // Types that are assignable to Data: // *ProvisionerDetails_JWK // *ProvisionerDetails_OIDC // *ProvisionerDetails_GCP // *ProvisionerDetails_AWS // *ProvisionerDetails_Azure // *ProvisionerDetails_ACME // *ProvisionerDetails_X5C // *ProvisionerDetails_K8SSA // *ProvisionerDetails_SSHPOP // *ProvisionerDetails_SCEP Data isProvisionerDetails_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func UnmarshalProvisionerDetails ¶
func UnmarshalProvisionerDetails(typ Provisioner_Type, data []byte) (*ProvisionerDetails, error)
UnmarshalProvisionerDetails unmarshals details type to the specific provisioner details.
func (*ProvisionerDetails) Descriptor
deprecated
func (*ProvisionerDetails) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionerDetails.ProtoReflect.Descriptor instead.
func (*ProvisionerDetails) GetACME ¶
func (x *ProvisionerDetails) GetACME() *ACMEProvisioner
func (*ProvisionerDetails) GetAWS ¶
func (x *ProvisionerDetails) GetAWS() *AWSProvisioner
func (*ProvisionerDetails) GetAzure ¶
func (x *ProvisionerDetails) GetAzure() *AzureProvisioner
func (*ProvisionerDetails) GetData ¶
func (m *ProvisionerDetails) GetData() isProvisionerDetails_Data
func (*ProvisionerDetails) GetGCP ¶
func (x *ProvisionerDetails) GetGCP() *GCPProvisioner
func (*ProvisionerDetails) GetJWK ¶
func (x *ProvisionerDetails) GetJWK() *JWKProvisioner
func (*ProvisionerDetails) GetK8SSA ¶
func (x *ProvisionerDetails) GetK8SSA() *K8SSAProvisioner
func (*ProvisionerDetails) GetOIDC ¶
func (x *ProvisionerDetails) GetOIDC() *OIDCProvisioner
func (*ProvisionerDetails) GetSCEP ¶
func (x *ProvisionerDetails) GetSCEP() *SCEPProvisioner
func (*ProvisionerDetails) GetSSHPOP ¶
func (x *ProvisionerDetails) GetSSHPOP() *SSHPOPProvisioner
func (*ProvisionerDetails) GetX5C ¶
func (x *ProvisionerDetails) GetX5C() *X5CProvisioner
func (*ProvisionerDetails) ProtoMessage ¶
func (*ProvisionerDetails) ProtoMessage()
func (*ProvisionerDetails) ProtoReflect ¶
func (x *ProvisionerDetails) ProtoReflect() protoreflect.Message
func (*ProvisionerDetails) Reset ¶
func (x *ProvisionerDetails) Reset()
func (*ProvisionerDetails) String ¶
func (x *ProvisionerDetails) String() string
type ProvisionerDetails_ACME ¶
type ProvisionerDetails_ACME struct {
ACME *ACMEProvisioner `protobuf:"bytes,25,opt,name=ACME,proto3,oneof"`
}
type ProvisionerDetails_AWS ¶
type ProvisionerDetails_AWS struct {
AWS *AWSProvisioner `protobuf:"bytes,23,opt,name=AWS,proto3,oneof"`
}
type ProvisionerDetails_Azure ¶
type ProvisionerDetails_Azure struct {
Azure *AzureProvisioner `protobuf:"bytes,24,opt,name=Azure,proto3,oneof"`
}
type ProvisionerDetails_GCP ¶
type ProvisionerDetails_GCP struct {
GCP *GCPProvisioner `protobuf:"bytes,22,opt,name=GCP,proto3,oneof"`
}
type ProvisionerDetails_JWK ¶
type ProvisionerDetails_JWK struct {
JWK *JWKProvisioner `protobuf:"bytes,20,opt,name=JWK,proto3,oneof"`
}
type ProvisionerDetails_K8SSA ¶
type ProvisionerDetails_K8SSA struct {
K8SSA *K8SSAProvisioner `protobuf:"bytes,27,opt,name=K8sSA,proto3,oneof"`
}
type ProvisionerDetails_OIDC ¶
type ProvisionerDetails_OIDC struct {
OIDC *OIDCProvisioner `protobuf:"bytes,21,opt,name=OIDC,proto3,oneof"`
}
type ProvisionerDetails_SCEP ¶
type ProvisionerDetails_SCEP struct {
SCEP *SCEPProvisioner `protobuf:"bytes,29,opt,name=SCEP,proto3,oneof"`
}
type ProvisionerDetails_SSHPOP ¶
type ProvisionerDetails_SSHPOP struct {
SSHPOP *SSHPOPProvisioner `protobuf:"bytes,28,opt,name=SSHPOP,proto3,oneof"`
}
type ProvisionerDetails_X5C ¶
type ProvisionerDetails_X5C struct {
X5C *X5CProvisioner `protobuf:"bytes,26,opt,name=X5C,proto3,oneof"`
}
type ProvisionerList ¶
type ProvisionerList struct { Provisioners []*Provisioner `protobuf:"bytes,1,rep,name=provisioners,proto3" json:"provisioners,omitempty"` // contains filtered or unexported fields }
func (*ProvisionerList) Descriptor
deprecated
func (*ProvisionerList) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionerList.ProtoReflect.Descriptor instead.
func (*ProvisionerList) GetProvisioners ¶
func (x *ProvisionerList) GetProvisioners() []*Provisioner
func (*ProvisionerList) ProtoMessage ¶
func (*ProvisionerList) ProtoMessage()
func (*ProvisionerList) ProtoReflect ¶
func (x *ProvisionerList) ProtoReflect() protoreflect.Message
func (*ProvisionerList) Reset ¶
func (x *ProvisionerList) Reset()
func (*ProvisionerList) String ¶
func (x *ProvisionerList) String() string
type Provisioner_Type ¶
type Provisioner_Type int32
const ( Provisioner_NOOP Provisioner_Type = 0 Provisioner_JWK Provisioner_Type = 1 Provisioner_OIDC Provisioner_Type = 2 Provisioner_GCP Provisioner_Type = 3 Provisioner_AWS Provisioner_Type = 4 Provisioner_AZURE Provisioner_Type = 5 Provisioner_ACME Provisioner_Type = 6 Provisioner_X5C Provisioner_Type = 7 Provisioner_K8SSA Provisioner_Type = 8 Provisioner_SSHPOP Provisioner_Type = 9 Provisioner_SCEP Provisioner_Type = 10 )
func (Provisioner_Type) Descriptor ¶
func (Provisioner_Type) Descriptor() protoreflect.EnumDescriptor
func (Provisioner_Type) Enum ¶
func (x Provisioner_Type) Enum() *Provisioner_Type
func (Provisioner_Type) EnumDescriptor
deprecated
func (Provisioner_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Provisioner_Type.Descriptor instead.
func (Provisioner_Type) Number ¶
func (x Provisioner_Type) Number() protoreflect.EnumNumber
func (Provisioner_Type) String ¶
func (x Provisioner_Type) String() string
func (Provisioner_Type) Type ¶
func (Provisioner_Type) Type() protoreflect.EnumType
type SCEPProvisioner ¶
type SCEPProvisioner struct { ForceCn bool `protobuf:"varint,1,opt,name=force_cn,json=forceCn,proto3" json:"force_cn,omitempty"` Challenge string `protobuf:"bytes,2,opt,name=challenge,proto3" json:"challenge,omitempty"` Capabilities []string `protobuf:"bytes,3,rep,name=capabilities,proto3" json:"capabilities,omitempty"` MinimumPublicKeyLength int32 `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SCEPProvisioner) Descriptor
deprecated
func (*SCEPProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use SCEPProvisioner.ProtoReflect.Descriptor instead.
func (*SCEPProvisioner) GetCapabilities ¶
func (x *SCEPProvisioner) GetCapabilities() []string
func (*SCEPProvisioner) GetChallenge ¶
func (x *SCEPProvisioner) GetChallenge() string
func (*SCEPProvisioner) GetForceCn ¶
func (x *SCEPProvisioner) GetForceCn() bool
func (*SCEPProvisioner) GetMinimumPublicKeyLength ¶
func (x *SCEPProvisioner) GetMinimumPublicKeyLength() int32
func (*SCEPProvisioner) ProtoMessage ¶
func (*SCEPProvisioner) ProtoMessage()
func (*SCEPProvisioner) ProtoReflect ¶
func (x *SCEPProvisioner) ProtoReflect() protoreflect.Message
func (*SCEPProvisioner) Reset ¶
func (x *SCEPProvisioner) Reset()
func (*SCEPProvisioner) String ¶
func (x *SCEPProvisioner) String() string
type SSHClaims ¶
type SSHClaims struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` UserDurations *Durations `protobuf:"bytes,2,opt,name=user_durations,json=userDurations,proto3" json:"user_durations,omitempty"` HostDurations *Durations `protobuf:"bytes,3,opt,name=host_durations,json=hostDurations,proto3" json:"host_durations,omitempty"` // contains filtered or unexported fields }
func (*SSHClaims) Descriptor
deprecated
func (*SSHClaims) GetEnabled ¶
func (*SSHClaims) GetHostDurations ¶
func (*SSHClaims) GetUserDurations ¶
func (*SSHClaims) ProtoMessage ¶
func (*SSHClaims) ProtoMessage()
func (*SSHClaims) ProtoReflect ¶
func (x *SSHClaims) ProtoReflect() protoreflect.Message
type SSHPOPProvisioner ¶
type SSHPOPProvisioner struct {
// contains filtered or unexported fields
}
func (*SSHPOPProvisioner) Descriptor
deprecated
func (*SSHPOPProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use SSHPOPProvisioner.ProtoReflect.Descriptor instead.
func (*SSHPOPProvisioner) ProtoMessage ¶
func (*SSHPOPProvisioner) ProtoMessage()
func (*SSHPOPProvisioner) ProtoReflect ¶
func (x *SSHPOPProvisioner) ProtoReflect() protoreflect.Message
func (*SSHPOPProvisioner) Reset ¶
func (x *SSHPOPProvisioner) Reset()
func (*SSHPOPProvisioner) String ¶
func (x *SSHPOPProvisioner) String() string
type X509Claims ¶
type X509Claims struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Durations *Durations `protobuf:"bytes,2,opt,name=durations,proto3" json:"durations,omitempty"` // contains filtered or unexported fields }
func (*X509Claims) Descriptor
deprecated
func (*X509Claims) Descriptor() ([]byte, []int)
Deprecated: Use X509Claims.ProtoReflect.Descriptor instead.
func (*X509Claims) GetDurations ¶
func (x *X509Claims) GetDurations() *Durations
func (*X509Claims) GetEnabled ¶
func (x *X509Claims) GetEnabled() bool
func (*X509Claims) ProtoMessage ¶
func (*X509Claims) ProtoMessage()
func (*X509Claims) ProtoReflect ¶
func (x *X509Claims) ProtoReflect() protoreflect.Message
func (*X509Claims) Reset ¶
func (x *X509Claims) Reset()
func (*X509Claims) String ¶
func (x *X509Claims) String() string
type X5CProvisioner ¶
type X5CProvisioner struct { Roots [][]byte `protobuf:"bytes,1,rep,name=roots,proto3" json:"roots,omitempty"` // contains filtered or unexported fields }
func (*X5CProvisioner) Descriptor
deprecated
func (*X5CProvisioner) Descriptor() ([]byte, []int)
Deprecated: Use X5CProvisioner.ProtoReflect.Descriptor instead.
func (*X5CProvisioner) GetRoots ¶
func (x *X5CProvisioner) GetRoots() [][]byte
func (*X5CProvisioner) ProtoMessage ¶
func (*X5CProvisioner) ProtoMessage()
func (*X5CProvisioner) ProtoReflect ¶
func (x *X5CProvisioner) ProtoReflect() protoreflect.Message
func (*X5CProvisioner) Reset ¶
func (x *X5CProvisioner) Reset()
func (*X5CProvisioner) String ¶
func (x *X5CProvisioner) String() string