Documentation

Index

Constants

This section is empty.

Variables

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.


var File_grpc_tls_provider_meshca_experimental_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GoogleMeshCaConfig

type GoogleMeshCaConfig struct {
	Server *v3.ApiConfigSource `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`

	CertificateLifetime *duration.Duration `protobuf:"bytes,2,opt,name=certificate_lifetime,json=certificateLifetime,proto3" json:"certificate_lifetime,omitempty"`

	RenewalGracePeriod *duration.Duration `protobuf:"bytes,3,opt,name=renewal_grace_period,json=renewalGracePeriod,proto3" json:"renewal_grace_period,omitempty"`

	KeyType GoogleMeshCaConfig_KeyType "" /* 153 byte string literal not displayed */

	KeySize uint32 `protobuf:"varint,5,opt,name=key_size,json=keySize,proto3" json:"key_size,omitempty"`

	Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`

}

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

func (*GoogleMeshCaConfig) Descriptor

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

Deprecated: Use GoogleMeshCaConfig.ProtoReflect.Descriptor instead.

func (*GoogleMeshCaConfig) GetCertificateLifetime

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

func (*GoogleMeshCaConfig) GetKeySize

func (x *GoogleMeshCaConfig) GetKeySize() uint32

func (*GoogleMeshCaConfig) GetKeyType

func (x *GoogleMeshCaConfig) GetKeyType() GoogleMeshCaConfig_KeyType

func (*GoogleMeshCaConfig) GetLocation

func (x *GoogleMeshCaConfig) GetLocation() string

func (*GoogleMeshCaConfig) GetRenewalGracePeriod

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

func (*GoogleMeshCaConfig) GetServer

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

func (*GoogleMeshCaConfig) ProtoMessage

func (*GoogleMeshCaConfig) ProtoMessage()

func (*GoogleMeshCaConfig) ProtoReflect

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

func (GoogleMeshCaConfig_KeyType) Descriptor() protoreflect.EnumDescriptor

func (GoogleMeshCaConfig_KeyType) Enum

func (x GoogleMeshCaConfig_KeyType) Enum() *GoogleMeshCaConfig_KeyType

func (GoogleMeshCaConfig_KeyType) EnumDescriptor

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

Deprecated: Use GoogleMeshCaConfig_KeyType.Descriptor instead.

func (GoogleMeshCaConfig_KeyType) Number

func (x GoogleMeshCaConfig_KeyType) Number() protoreflect.EnumNumber

func (GoogleMeshCaConfig_KeyType) String

func (x GoogleMeshCaConfig_KeyType) String() string

func (GoogleMeshCaConfig_KeyType) Type

func (GoogleMeshCaConfig_KeyType) Type() protoreflect.EnumType

Source Files