meshca_experimental

package
v1.33.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 5 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",
}
View Source
var GoogleMeshCaConfig_KeyType_value = map[string]int32{
	"KEY_TYPE_UNKNOWN": 0,
	"KEY_TYPE_RSA":     1,
}

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 *duration.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 *duration.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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*GoogleMeshCaConfig) Descriptor

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

func (*GoogleMeshCaConfig) GetCertificateLifetime

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

func (*GoogleMeshCaConfig) GetKeySize

func (m *GoogleMeshCaConfig) GetKeySize() uint32

func (*GoogleMeshCaConfig) GetKeyType

func (*GoogleMeshCaConfig) GetLocation

func (m *GoogleMeshCaConfig) GetLocation() string

func (*GoogleMeshCaConfig) GetRenewalGracePeriod

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

func (*GoogleMeshCaConfig) GetServer

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

func (*GoogleMeshCaConfig) ProtoMessage

func (*GoogleMeshCaConfig) ProtoMessage()

func (*GoogleMeshCaConfig) Reset

func (m *GoogleMeshCaConfig) Reset()

func (*GoogleMeshCaConfig) String

func (m *GoogleMeshCaConfig) String() string

func (*GoogleMeshCaConfig) XXX_DiscardUnknown

func (m *GoogleMeshCaConfig) XXX_DiscardUnknown()

func (*GoogleMeshCaConfig) XXX_Marshal

func (m *GoogleMeshCaConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GoogleMeshCaConfig) XXX_Merge

func (m *GoogleMeshCaConfig) XXX_Merge(src proto.Message)

func (*GoogleMeshCaConfig) XXX_Size

func (m *GoogleMeshCaConfig) XXX_Size() int

func (*GoogleMeshCaConfig) XXX_Unmarshal

func (m *GoogleMeshCaConfig) XXX_Unmarshal(b []byte) error

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) EnumDescriptor

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

func (GoogleMeshCaConfig_KeyType) String

Jump to

Keyboard shortcuts

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