meshca_experimental

package
v1.34.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GoogleMeshCaConfig_KeyType_name = map[int32]string{
		0: "KEY_TYPE_UNKNOWN",
		1: "KEY_TYPE_RSA",
	}
	GoogleMeshCaConfig_KeyType_value = map[string]int32{
		"KEY_TYPE_UNKNOWN": 0,
		"KEY_TYPE_RSA":     1,
	}
)

Enum value maps for GoogleMeshCaConfig_KeyType.

View Source
var File_grpc_tls_provider_meshca_experimental_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GoogleMeshCaConfig

type GoogleMeshCaConfig struct {

	// GoogleMeshCA server endpoint to get CSRs signed via the *CreateCertificate*
	// unary call. This must have :ref:`api_type
	// <envoy_api_field_config.core.v3.ApiConfigSource.api_type>` :ref:`GRPC
	// <envoy_api_enum_value_config.core.v3.ApiConfigSource.ApiType.GRPC>`.
	// STS based call credentials need to be supplied in :ref:`call_credentials
	// <envoy_api_field_config.core.v3.GrpcService.GoogleGrpc.call_credentials>`.
	//
	// If :ref:`timeout envoy_api_field_config.core.v3.GrpcService.timeout` is
	// left unspecified, a default value of 10s will be used.
	Server *v3.ApiConfigSource `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	// Certificate lifetime to request in CSRs sent to the MeshCA.
	//
	// A default value of 24h will be used if left unspecified.
	CertificateLifetime *durationpb.Duration `protobuf:"bytes,2,opt,name=certificate_lifetime,json=certificateLifetime,proto3" json:"certificate_lifetime,omitempty"`
	// How long before certificate expiration should the certificate be renewed.
	//
	// A default value of 12h will be used if left unspecified.
	RenewalGracePeriod *durationpb.Duration `protobuf:"bytes,3,opt,name=renewal_grace_period,json=renewalGracePeriod,proto3" json:"renewal_grace_period,omitempty"`
	// Type of key.
	//
	// RSA keys will be used if left unspecified.
	KeyType GoogleMeshCaConfig_KeyType `` /* 153-byte string literal not displayed */
	// Size of the key in bits.
	//
	// 2048 bit keys will be used if left unspecified.
	KeySize uint32 `protobuf:"varint,5,opt,name=key_size,json=keySize,proto3" json:"key_size,omitempty"`
	// GCE location (region/zone) where the workload is located.
	//
	// GCE/GKE Metadata Server will be contacted if left unspecified.
	Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

GoogleMeshCaConfig contains all configuration parameters required by the MeshCA CertificateProvider plugin implementation.

func (*GoogleMeshCaConfig) Descriptor deprecated

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

Deprecated: Use GoogleMeshCaConfig.ProtoReflect.Descriptor instead.

func (*GoogleMeshCaConfig) GetCertificateLifetime

func (x *GoogleMeshCaConfig) GetCertificateLifetime() *durationpb.Duration

func (*GoogleMeshCaConfig) GetKeySize

func (x *GoogleMeshCaConfig) GetKeySize() uint32

func (*GoogleMeshCaConfig) GetKeyType

func (*GoogleMeshCaConfig) GetLocation

func (x *GoogleMeshCaConfig) GetLocation() string

func (*GoogleMeshCaConfig) GetRenewalGracePeriod

func (x *GoogleMeshCaConfig) GetRenewalGracePeriod() *durationpb.Duration

func (*GoogleMeshCaConfig) GetServer

func (x *GoogleMeshCaConfig) GetServer() *v3.ApiConfigSource

func (*GoogleMeshCaConfig) ProtoMessage

func (*GoogleMeshCaConfig) ProtoMessage()

func (*GoogleMeshCaConfig) ProtoReflect added in v1.33.2

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

func (*GoogleMeshCaConfig) Reset

func (x *GoogleMeshCaConfig) Reset()

func (*GoogleMeshCaConfig) String

func (x *GoogleMeshCaConfig) String() string

type GoogleMeshCaConfig_KeyType

type GoogleMeshCaConfig_KeyType int32

Type of key to be embedded in CSRs sent to the MeshCA.

const (
	GoogleMeshCaConfig_KEY_TYPE_UNKNOWN GoogleMeshCaConfig_KeyType = 0
	GoogleMeshCaConfig_KEY_TYPE_RSA     GoogleMeshCaConfig_KeyType = 1
)

func (GoogleMeshCaConfig_KeyType) Descriptor added in v1.33.2

func (GoogleMeshCaConfig_KeyType) Enum added in v1.33.2

func (GoogleMeshCaConfig_KeyType) EnumDescriptor deprecated

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

Deprecated: Use GoogleMeshCaConfig_KeyType.Descriptor instead.

func (GoogleMeshCaConfig_KeyType) Number added in v1.33.2

func (GoogleMeshCaConfig_KeyType) String

func (GoogleMeshCaConfig_KeyType) Type added in v1.33.2

Jump to

Keyboard shortcuts

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