secrets

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var File_resource_definitions_secrets_secrets_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type APICertsSpec

type APICertsSpec struct {
	Ca     *common.PEMEncodedCertificateAndKey `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"`
	Client *common.PEMEncodedCertificateAndKey `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"`
	Server *common.PEMEncodedCertificateAndKey `protobuf:"bytes,3,opt,name=server,proto3" json:"server,omitempty"`
	// contains filtered or unexported fields
}

APICertsSpec describes etcd certs secrets.

func (*APICertsSpec) Descriptor deprecated

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

Deprecated: Use APICertsSpec.ProtoReflect.Descriptor instead.

func (*APICertsSpec) GetCa

func (*APICertsSpec) GetClient

func (*APICertsSpec) GetServer

func (*APICertsSpec) MarshalToSizedBufferVT

func (m *APICertsSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*APICertsSpec) MarshalToVT

func (m *APICertsSpec) MarshalToVT(dAtA []byte) (int, error)

func (*APICertsSpec) MarshalVT

func (m *APICertsSpec) MarshalVT() (dAtA []byte, err error)

func (*APICertsSpec) ProtoMessage

func (*APICertsSpec) ProtoMessage()

func (*APICertsSpec) ProtoReflect

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

func (*APICertsSpec) Reset

func (x *APICertsSpec) Reset()

func (*APICertsSpec) SizeVT

func (m *APICertsSpec) SizeVT() (n int)

func (*APICertsSpec) String

func (x *APICertsSpec) String() string

func (*APICertsSpec) UnmarshalVT

func (m *APICertsSpec) UnmarshalVT(dAtA []byte) error

type CertSANSpec

type CertSANSpec struct {
	IPs      []*common.NetIP `protobuf:"bytes,1,rep,name=i_ps,json=iPs,proto3" json:"i_ps,omitempty"`
	DnsNames []string        `protobuf:"bytes,2,rep,name=dns_names,json=dnsNames,proto3" json:"dns_names,omitempty"`
	Fqdn     string          `protobuf:"bytes,3,opt,name=fqdn,proto3" json:"fqdn,omitempty"`
	// contains filtered or unexported fields
}

CertSANSpec describes fields of the cert SANs.

func (*CertSANSpec) Descriptor deprecated

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

Deprecated: Use CertSANSpec.ProtoReflect.Descriptor instead.

func (*CertSANSpec) GetDnsNames

func (x *CertSANSpec) GetDnsNames() []string

func (*CertSANSpec) GetFqdn

func (x *CertSANSpec) GetFqdn() string

func (*CertSANSpec) GetIPs

func (x *CertSANSpec) GetIPs() []*common.NetIP

func (*CertSANSpec) MarshalToSizedBufferVT

func (m *CertSANSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CertSANSpec) MarshalToVT

func (m *CertSANSpec) MarshalToVT(dAtA []byte) (int, error)

func (*CertSANSpec) MarshalVT

func (m *CertSANSpec) MarshalVT() (dAtA []byte, err error)

func (*CertSANSpec) ProtoMessage

func (*CertSANSpec) ProtoMessage()

func (*CertSANSpec) ProtoReflect

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

func (*CertSANSpec) Reset

func (x *CertSANSpec) Reset()

func (*CertSANSpec) SizeVT

func (m *CertSANSpec) SizeVT() (n int)

func (*CertSANSpec) String

func (x *CertSANSpec) String() string

func (*CertSANSpec) UnmarshalVT

func (m *CertSANSpec) UnmarshalVT(dAtA []byte) error

type EtcdCertsSpec

type EtcdCertsSpec struct {
	Etcd          *common.PEMEncodedCertificateAndKey `protobuf:"bytes,1,opt,name=etcd,proto3" json:"etcd,omitempty"`
	EtcdPeer      *common.PEMEncodedCertificateAndKey `protobuf:"bytes,2,opt,name=etcd_peer,json=etcdPeer,proto3" json:"etcd_peer,omitempty"`
	EtcdAdmin     *common.PEMEncodedCertificateAndKey `protobuf:"bytes,3,opt,name=etcd_admin,json=etcdAdmin,proto3" json:"etcd_admin,omitempty"`
	EtcdApiServer *common.PEMEncodedCertificateAndKey `protobuf:"bytes,4,opt,name=etcd_api_server,json=etcdApiServer,proto3" json:"etcd_api_server,omitempty"`
	// contains filtered or unexported fields
}

EtcdCertsSpec describes etcd certs secrets.

func (*EtcdCertsSpec) Descriptor deprecated

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

Deprecated: Use EtcdCertsSpec.ProtoReflect.Descriptor instead.

func (*EtcdCertsSpec) GetEtcd

func (*EtcdCertsSpec) GetEtcdAdmin

func (*EtcdCertsSpec) GetEtcdApiServer

func (x *EtcdCertsSpec) GetEtcdApiServer() *common.PEMEncodedCertificateAndKey

func (*EtcdCertsSpec) GetEtcdPeer

func (*EtcdCertsSpec) MarshalToSizedBufferVT

func (m *EtcdCertsSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EtcdCertsSpec) MarshalToVT

func (m *EtcdCertsSpec) MarshalToVT(dAtA []byte) (int, error)

func (*EtcdCertsSpec) MarshalVT

func (m *EtcdCertsSpec) MarshalVT() (dAtA []byte, err error)

func (*EtcdCertsSpec) ProtoMessage

func (*EtcdCertsSpec) ProtoMessage()

func (*EtcdCertsSpec) ProtoReflect

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

func (*EtcdCertsSpec) Reset

func (x *EtcdCertsSpec) Reset()

func (*EtcdCertsSpec) SizeVT

func (m *EtcdCertsSpec) SizeVT() (n int)

func (*EtcdCertsSpec) String

func (x *EtcdCertsSpec) String() string

func (*EtcdCertsSpec) UnmarshalVT

func (m *EtcdCertsSpec) UnmarshalVT(dAtA []byte) error

type EtcdRootSpec

type EtcdRootSpec struct {
	EtcdCa *common.PEMEncodedCertificateAndKey `protobuf:"bytes,1,opt,name=etcd_ca,json=etcdCa,proto3" json:"etcd_ca,omitempty"`
	// contains filtered or unexported fields
}

EtcdRootSpec describes etcd CA secrets.

func (*EtcdRootSpec) Descriptor deprecated

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

Deprecated: Use EtcdRootSpec.ProtoReflect.Descriptor instead.

func (*EtcdRootSpec) GetEtcdCa

func (*EtcdRootSpec) MarshalToSizedBufferVT

func (m *EtcdRootSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*EtcdRootSpec) MarshalToVT

func (m *EtcdRootSpec) MarshalToVT(dAtA []byte) (int, error)

func (*EtcdRootSpec) MarshalVT

func (m *EtcdRootSpec) MarshalVT() (dAtA []byte, err error)

func (*EtcdRootSpec) ProtoMessage

func (*EtcdRootSpec) ProtoMessage()

func (*EtcdRootSpec) ProtoReflect

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

func (*EtcdRootSpec) Reset

func (x *EtcdRootSpec) Reset()

func (*EtcdRootSpec) SizeVT

func (m *EtcdRootSpec) SizeVT() (n int)

func (*EtcdRootSpec) String

func (x *EtcdRootSpec) String() string

func (*EtcdRootSpec) UnmarshalVT

func (m *EtcdRootSpec) UnmarshalVT(dAtA []byte) error

type KubeletSpec

type KubeletSpec struct {
	Endpoint             *common.URL                         `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Ca                   *common.PEMEncodedCertificateAndKey `protobuf:"bytes,2,opt,name=ca,proto3" json:"ca,omitempty"`
	BootstrapTokenId     string                              `protobuf:"bytes,3,opt,name=bootstrap_token_id,json=bootstrapTokenId,proto3" json:"bootstrap_token_id,omitempty"`
	BootstrapTokenSecret string                              `protobuf:"bytes,4,opt,name=bootstrap_token_secret,json=bootstrapTokenSecret,proto3" json:"bootstrap_token_secret,omitempty"`
	// contains filtered or unexported fields
}

KubeletSpec describes root Kubernetes secrets.

func (*KubeletSpec) Descriptor deprecated

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

Deprecated: Use KubeletSpec.ProtoReflect.Descriptor instead.

func (*KubeletSpec) GetBootstrapTokenId

func (x *KubeletSpec) GetBootstrapTokenId() string

func (*KubeletSpec) GetBootstrapTokenSecret

func (x *KubeletSpec) GetBootstrapTokenSecret() string

func (*KubeletSpec) GetCa

func (*KubeletSpec) GetEndpoint

func (x *KubeletSpec) GetEndpoint() *common.URL

func (*KubeletSpec) MarshalToSizedBufferVT

func (m *KubeletSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*KubeletSpec) MarshalToVT

func (m *KubeletSpec) MarshalToVT(dAtA []byte) (int, error)

func (*KubeletSpec) MarshalVT

func (m *KubeletSpec) MarshalVT() (dAtA []byte, err error)

func (*KubeletSpec) ProtoMessage

func (*KubeletSpec) ProtoMessage()

func (*KubeletSpec) ProtoReflect

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

func (*KubeletSpec) Reset

func (x *KubeletSpec) Reset()

func (*KubeletSpec) SizeVT

func (m *KubeletSpec) SizeVT() (n int)

func (*KubeletSpec) String

func (x *KubeletSpec) String() string

func (*KubeletSpec) UnmarshalVT

func (m *KubeletSpec) UnmarshalVT(dAtA []byte) error

type KubernetesCertsSpec

type KubernetesCertsSpec struct {
	ApiServer                   *common.PEMEncodedCertificateAndKey `protobuf:"bytes,1,opt,name=api_server,json=apiServer,proto3" json:"api_server,omitempty"`
	ApiServerKubeletClient      *common.PEMEncodedCertificateAndKey `` /* 131-byte string literal not displayed */
	FrontProxy                  *common.PEMEncodedCertificateAndKey `protobuf:"bytes,3,opt,name=front_proxy,json=frontProxy,proto3" json:"front_proxy,omitempty"`
	SchedulerKubeconfig         string                              `protobuf:"bytes,4,opt,name=scheduler_kubeconfig,json=schedulerKubeconfig,proto3" json:"scheduler_kubeconfig,omitempty"`
	ControllerManagerKubeconfig string                              `` /* 144-byte string literal not displayed */
	LocalhostAdminKubeconfig    string                              `` /* 135-byte string literal not displayed */
	AdminKubeconfig             string                              `protobuf:"bytes,7,opt,name=admin_kubeconfig,json=adminKubeconfig,proto3" json:"admin_kubeconfig,omitempty"`
	// contains filtered or unexported fields
}

KubernetesCertsSpec describes generated Kubernetes certificates.

func (*KubernetesCertsSpec) Descriptor deprecated

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

Deprecated: Use KubernetesCertsSpec.ProtoReflect.Descriptor instead.

func (*KubernetesCertsSpec) GetAdminKubeconfig

func (x *KubernetesCertsSpec) GetAdminKubeconfig() string

func (*KubernetesCertsSpec) GetApiServer

func (*KubernetesCertsSpec) GetApiServerKubeletClient

func (x *KubernetesCertsSpec) GetApiServerKubeletClient() *common.PEMEncodedCertificateAndKey

func (*KubernetesCertsSpec) GetControllerManagerKubeconfig

func (x *KubernetesCertsSpec) GetControllerManagerKubeconfig() string

func (*KubernetesCertsSpec) GetFrontProxy

func (*KubernetesCertsSpec) GetLocalhostAdminKubeconfig

func (x *KubernetesCertsSpec) GetLocalhostAdminKubeconfig() string

func (*KubernetesCertsSpec) GetSchedulerKubeconfig

func (x *KubernetesCertsSpec) GetSchedulerKubeconfig() string

func (*KubernetesCertsSpec) MarshalToSizedBufferVT

func (m *KubernetesCertsSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*KubernetesCertsSpec) MarshalToVT

func (m *KubernetesCertsSpec) MarshalToVT(dAtA []byte) (int, error)

func (*KubernetesCertsSpec) MarshalVT

func (m *KubernetesCertsSpec) MarshalVT() (dAtA []byte, err error)

func (*KubernetesCertsSpec) ProtoMessage

func (*KubernetesCertsSpec) ProtoMessage()

func (*KubernetesCertsSpec) ProtoReflect

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

func (*KubernetesCertsSpec) Reset

func (x *KubernetesCertsSpec) Reset()

func (*KubernetesCertsSpec) SizeVT

func (m *KubernetesCertsSpec) SizeVT() (n int)

func (*KubernetesCertsSpec) String

func (x *KubernetesCertsSpec) String() string

func (*KubernetesCertsSpec) UnmarshalVT

func (m *KubernetesCertsSpec) UnmarshalVT(dAtA []byte) error

type KubernetesRootSpec

type KubernetesRootSpec struct {
	Name                      string                              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Endpoint                  *common.URL                         `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	LocalEndpoint             *common.URL                         `protobuf:"bytes,3,opt,name=local_endpoint,json=localEndpoint,proto3" json:"local_endpoint,omitempty"`
	CertSaNs                  []string                            `protobuf:"bytes,4,rep,name=cert_sa_ns,json=certSaNs,proto3" json:"cert_sa_ns,omitempty"`
	DnsDomain                 string                              `protobuf:"bytes,6,opt,name=dns_domain,json=dnsDomain,proto3" json:"dns_domain,omitempty"`
	Ca                        *common.PEMEncodedCertificateAndKey `protobuf:"bytes,7,opt,name=ca,proto3" json:"ca,omitempty"`
	ServiceAccount            *common.PEMEncodedKey               `protobuf:"bytes,8,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	AggregatorCa              *common.PEMEncodedCertificateAndKey `protobuf:"bytes,9,opt,name=aggregator_ca,json=aggregatorCa,proto3" json:"aggregator_ca,omitempty"`
	AescbcEncryptionSecret    string                              `` /* 130-byte string literal not displayed */
	BootstrapTokenId          string                              `protobuf:"bytes,11,opt,name=bootstrap_token_id,json=bootstrapTokenId,proto3" json:"bootstrap_token_id,omitempty"`
	BootstrapTokenSecret      string                              `protobuf:"bytes,12,opt,name=bootstrap_token_secret,json=bootstrapTokenSecret,proto3" json:"bootstrap_token_secret,omitempty"`
	SecretboxEncryptionSecret string                              `` /* 139-byte string literal not displayed */
	ApiServerIps              []*common.NetIP                     `protobuf:"bytes,14,rep,name=api_server_ips,json=apiServerIps,proto3" json:"api_server_ips,omitempty"`
	// contains filtered or unexported fields
}

KubernetesRootSpec describes root Kubernetes secrets.

func (*KubernetesRootSpec) Descriptor deprecated

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

Deprecated: Use KubernetesRootSpec.ProtoReflect.Descriptor instead.

func (*KubernetesRootSpec) GetAescbcEncryptionSecret

func (x *KubernetesRootSpec) GetAescbcEncryptionSecret() string

func (*KubernetesRootSpec) GetAggregatorCa

func (*KubernetesRootSpec) GetApiServerIps

func (x *KubernetesRootSpec) GetApiServerIps() []*common.NetIP

func (*KubernetesRootSpec) GetBootstrapTokenId

func (x *KubernetesRootSpec) GetBootstrapTokenId() string

func (*KubernetesRootSpec) GetBootstrapTokenSecret

func (x *KubernetesRootSpec) GetBootstrapTokenSecret() string

func (*KubernetesRootSpec) GetCa

func (*KubernetesRootSpec) GetCertSaNs

func (x *KubernetesRootSpec) GetCertSaNs() []string

func (*KubernetesRootSpec) GetDnsDomain

func (x *KubernetesRootSpec) GetDnsDomain() string

func (*KubernetesRootSpec) GetEndpoint

func (x *KubernetesRootSpec) GetEndpoint() *common.URL

func (*KubernetesRootSpec) GetLocalEndpoint

func (x *KubernetesRootSpec) GetLocalEndpoint() *common.URL

func (*KubernetesRootSpec) GetName

func (x *KubernetesRootSpec) GetName() string

func (*KubernetesRootSpec) GetSecretboxEncryptionSecret

func (x *KubernetesRootSpec) GetSecretboxEncryptionSecret() string

func (*KubernetesRootSpec) GetServiceAccount

func (x *KubernetesRootSpec) GetServiceAccount() *common.PEMEncodedKey

func (*KubernetesRootSpec) MarshalToSizedBufferVT

func (m *KubernetesRootSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*KubernetesRootSpec) MarshalToVT

func (m *KubernetesRootSpec) MarshalToVT(dAtA []byte) (int, error)

func (*KubernetesRootSpec) MarshalVT

func (m *KubernetesRootSpec) MarshalVT() (dAtA []byte, err error)

func (*KubernetesRootSpec) ProtoMessage

func (*KubernetesRootSpec) ProtoMessage()

func (*KubernetesRootSpec) ProtoReflect

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

func (*KubernetesRootSpec) Reset

func (x *KubernetesRootSpec) Reset()

func (*KubernetesRootSpec) SizeVT

func (m *KubernetesRootSpec) SizeVT() (n int)

func (*KubernetesRootSpec) String

func (x *KubernetesRootSpec) String() string

func (*KubernetesRootSpec) UnmarshalVT

func (m *KubernetesRootSpec) UnmarshalVT(dAtA []byte) error

type OSRootSpec

type OSRootSpec struct {
	Ca              *common.PEMEncodedCertificateAndKey `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"`
	CertSaniPs      []*common.NetIP                     `protobuf:"bytes,2,rep,name=cert_sani_ps,json=certSaniPs,proto3" json:"cert_sani_ps,omitempty"`
	CertSandnsNames []string                            `protobuf:"bytes,3,rep,name=cert_sandns_names,json=certSandnsNames,proto3" json:"cert_sandns_names,omitempty"`
	Token           string                              `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

OSRootSpec describes operating system CA.

func (*OSRootSpec) Descriptor deprecated

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

Deprecated: Use OSRootSpec.ProtoReflect.Descriptor instead.

func (*OSRootSpec) GetCa

func (*OSRootSpec) GetCertSandnsNames

func (x *OSRootSpec) GetCertSandnsNames() []string

func (*OSRootSpec) GetCertSaniPs

func (x *OSRootSpec) GetCertSaniPs() []*common.NetIP

func (*OSRootSpec) GetToken

func (x *OSRootSpec) GetToken() string

func (*OSRootSpec) MarshalToSizedBufferVT

func (m *OSRootSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*OSRootSpec) MarshalToVT

func (m *OSRootSpec) MarshalToVT(dAtA []byte) (int, error)

func (*OSRootSpec) MarshalVT

func (m *OSRootSpec) MarshalVT() (dAtA []byte, err error)

func (*OSRootSpec) ProtoMessage

func (*OSRootSpec) ProtoMessage()

func (*OSRootSpec) ProtoReflect

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

func (*OSRootSpec) Reset

func (x *OSRootSpec) Reset()

func (*OSRootSpec) SizeVT

func (m *OSRootSpec) SizeVT() (n int)

func (*OSRootSpec) String

func (x *OSRootSpec) String() string

func (*OSRootSpec) UnmarshalVT

func (m *OSRootSpec) UnmarshalVT(dAtA []byte) error

type TrustdCertsSpec

type TrustdCertsSpec struct {
	Ca     *common.PEMEncodedCertificateAndKey `protobuf:"bytes,1,opt,name=ca,proto3" json:"ca,omitempty"`
	Server *common.PEMEncodedCertificateAndKey `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	// contains filtered or unexported fields
}

TrustdCertsSpec describes etcd certs secrets.

func (*TrustdCertsSpec) Descriptor deprecated

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

Deprecated: Use TrustdCertsSpec.ProtoReflect.Descriptor instead.

func (*TrustdCertsSpec) GetCa

func (*TrustdCertsSpec) GetServer

func (*TrustdCertsSpec) MarshalToSizedBufferVT

func (m *TrustdCertsSpec) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TrustdCertsSpec) MarshalToVT

func (m *TrustdCertsSpec) MarshalToVT(dAtA []byte) (int, error)

func (*TrustdCertsSpec) MarshalVT

func (m *TrustdCertsSpec) MarshalVT() (dAtA []byte, err error)

func (*TrustdCertsSpec) ProtoMessage

func (*TrustdCertsSpec) ProtoMessage()

func (*TrustdCertsSpec) ProtoReflect

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

func (*TrustdCertsSpec) Reset

func (x *TrustdCertsSpec) Reset()

func (*TrustdCertsSpec) SizeVT

func (m *TrustdCertsSpec) SizeVT() (n int)

func (*TrustdCertsSpec) String

func (x *TrustdCertsSpec) String() string

func (*TrustdCertsSpec) UnmarshalVT

func (m *TrustdCertsSpec) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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