Documentation ¶
Index ¶
- Variables
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetBaseDomain() string
- func (x *Certificate) GetCa() *CertificateAuthority
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type CertificateAuthority
- func (*CertificateAuthority) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateAuthority) GetAuthMethod() string
- func (x *CertificateAuthority) GetIssuer() string
- func (x *CertificateAuthority) GetVaultAddress() string
- func (x *CertificateAuthority) GetVaultNamespace() string
- func (*CertificateAuthority) ProtoMessage()
- func (x *CertificateAuthority) ProtoReflect() protoreflect.Message
- func (x *CertificateAuthority) Reset()
- func (x *CertificateAuthority) String() string
- type TlsBundle
Constants ¶
This section is empty.
Variables ¶
View Source
var File_universe_vault_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { BaseDomain string `protobuf:"bytes,1,opt,name=base_domain,json=baseDomain,proto3" json:"base_domain,omitempty"` Ca *CertificateAuthority `protobuf:"bytes,2,opt,name=ca,proto3" json:"ca,omitempty"` // contains filtered or unexported fields }
func (*Certificate) Descriptor
deprecated
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetBaseDomain ¶
func (x *Certificate) GetBaseDomain() string
func (*Certificate) GetCa ¶
func (x *Certificate) GetCa() *CertificateAuthority
func (*Certificate) ProtoMessage ¶
func (*Certificate) ProtoMessage()
func (*Certificate) ProtoReflect ¶
func (x *Certificate) ProtoReflect() protoreflect.Message
func (*Certificate) Reset ¶
func (x *Certificate) Reset()
func (*Certificate) String ¶
func (x *Certificate) String() string
type CertificateAuthority ¶
type CertificateAuthority struct { VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"` VaultNamespace string `protobuf:"bytes,2,opt,name=vault_namespace,json=vaultNamespace,proto3" json:"vault_namespace,omitempty"` Issuer string `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` AuthMethod string `protobuf:"bytes,4,opt,name=auth_method,json=authMethod,proto3" json:"auth_method,omitempty"` // contains filtered or unexported fields }
func (*CertificateAuthority) Descriptor
deprecated
func (*CertificateAuthority) Descriptor() ([]byte, []int)
Deprecated: Use CertificateAuthority.ProtoReflect.Descriptor instead.
func (*CertificateAuthority) GetAuthMethod ¶
func (x *CertificateAuthority) GetAuthMethod() string
func (*CertificateAuthority) GetIssuer ¶
func (x *CertificateAuthority) GetIssuer() string
func (*CertificateAuthority) GetVaultAddress ¶
func (x *CertificateAuthority) GetVaultAddress() string
func (*CertificateAuthority) GetVaultNamespace ¶
func (x *CertificateAuthority) GetVaultNamespace() string
func (*CertificateAuthority) ProtoMessage ¶
func (*CertificateAuthority) ProtoMessage()
func (*CertificateAuthority) ProtoReflect ¶
func (x *CertificateAuthority) ProtoReflect() protoreflect.Message
func (*CertificateAuthority) Reset ¶
func (x *CertificateAuthority) Reset()
func (*CertificateAuthority) String ¶
func (x *CertificateAuthority) String() string
type TlsBundle ¶ added in v0.0.359
type TlsBundle struct { PrivateKeyPem string `json:"private_key_pem"` CertificatePem string `json:"certificate_pem"` CaChainPem []string `json:"ca_chain_pem"` }
func ParseFromEnv ¶ added in v0.0.359
func (TlsBundle) Certificate ¶ added in v0.0.359
func (tb TlsBundle) Certificate() (tls.Certificate, error)
func (TlsBundle) ClientConfig ¶ added in v0.0.359
Click to show internal directories.
Click to hide internal directories.