mirror of https://github.com/linkerd/linkerd2.git
787 lines
28 KiB
Go
787 lines
28 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: config/config.proto
|
|
|
|
package config
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
duration "github.com/golang/protobuf/ptypes/duration"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type All struct {
|
|
Global *Global `protobuf:"bytes,1,opt,name=global,proto3" json:"global,omitempty"`
|
|
Proxy *Proxy `protobuf:"bytes,2,opt,name=proxy,proto3" json:"proxy,omitempty"`
|
|
Install *Install `protobuf:"bytes,3,opt,name=install,proto3" json:"install,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *All) Reset() { *m = All{} }
|
|
func (m *All) String() string { return proto.CompactTextString(m) }
|
|
func (*All) ProtoMessage() {}
|
|
func (*All) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_cc332a44e926b360, []int{0}
|
|
}
|
|
|
|
func (m *All) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_All.Unmarshal(m, b)
|
|
}
|
|
func (m *All) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_All.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *All) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_All.Merge(m, src)
|
|
}
|
|
func (m *All) XXX_Size() int {
|
|
return xxx_messageInfo_All.Size(m)
|
|
}
|
|
func (m *All) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_All.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_All proto.InternalMessageInfo
|
|
|
|
func (m *All) GetGlobal() *Global {
|
|
if m != nil {
|
|
return m.Global
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *All) GetProxy() *Proxy {
|
|
if m != nil {
|
|
return m.Proxy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *All) GetInstall() *Install {
|
|
if m != nil {
|
|
return m.Install
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Global struct {
|
|
LinkerdNamespace string `protobuf:"bytes,1,opt,name=linkerd_namespace,json=linkerdNamespace,proto3" json:"linkerd_namespace,omitempty"`
|
|
CniEnabled bool `protobuf:"varint,2,opt,name=cni_enabled,json=cniEnabled,proto3" json:"cni_enabled,omitempty"`
|
|
// Control plane version
|
|
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
|
|
// If present, configures identity.
|
|
IdentityContext *IdentityContext `protobuf:"bytes,4,opt,name=identity_context,json=identityContext,proto3" json:"identity_context,omitempty"`
|
|
AutoInjectContext *AutoInjectContext `protobuf:"bytes,6,opt,name=auto_inject_context,json=autoInjectContext,proto3" json:"auto_inject_context,omitempty"` // Deprecated: Do not use.
|
|
OmitWebhookSideEffects bool `protobuf:"varint,7,opt,name=omitWebhookSideEffects,proto3" json:"omitWebhookSideEffects,omitempty"`
|
|
// Override default `cluster.local`
|
|
ClusterDomain string `protobuf:"bytes,8,opt,name=cluster_domain,json=clusterDomain,proto3" json:"cluster_domain,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Global) Reset() { *m = Global{} }
|
|
func (m *Global) String() string { return proto.CompactTextString(m) }
|
|
func (*Global) ProtoMessage() {}
|
|
func (*Global) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_cc332a44e926b360, []int{1}
|
|
}
|
|
|
|
func (m *Global) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Global.Unmarshal(m, b)
|
|
}
|
|
func (m *Global) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Global.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Global) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Global.Merge(m, src)
|
|
}
|
|
func (m *Global) XXX_Size() int {
|
|
return xxx_messageInfo_Global.Size(m)
|
|
}
|
|
func (m *Global) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Global.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Global proto.InternalMessageInfo
|
|
|
|
func (m *Global) GetLinkerdNamespace() string {
|
|
if m != nil {
|
|
return m.LinkerdNamespace
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Global) GetCniEnabled() bool {
|
|
if m != nil {
|
|
return m.CniEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *Global) GetVersion() string {
|
|
if m != nil {
|
|
return m.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Global) GetIdentityContext() *IdentityContext {
|
|
if m != nil {
|
|
return m.IdentityContext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (m *Global) GetAutoInjectContext() *AutoInjectContext {
|
|
if m != nil {
|
|
return m.AutoInjectContext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Global) GetOmitWebhookSideEffects() bool {
|
|
if m != nil {
|
|
return m.OmitWebhookSideEffects
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *Global) GetClusterDomain() string {
|
|
if m != nil {
|
|
return m.ClusterDomain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Proxy struct {
|
|
ProxyImage *Image `protobuf:"bytes,1,opt,name=proxy_image,json=proxyImage,proto3" json:"proxy_image,omitempty"`
|
|
ProxyInitImage *Image `protobuf:"bytes,2,opt,name=proxy_init_image,json=proxyInitImage,proto3" json:"proxy_init_image,omitempty"`
|
|
ControlPort *Port `protobuf:"bytes,3,opt,name=control_port,json=controlPort,proto3" json:"control_port,omitempty"`
|
|
IgnoreInboundPorts []*Port `protobuf:"bytes,4,rep,name=ignore_inbound_ports,json=ignoreInboundPorts,proto3" json:"ignore_inbound_ports,omitempty"`
|
|
IgnoreOutboundPorts []*Port `protobuf:"bytes,5,rep,name=ignore_outbound_ports,json=ignoreOutboundPorts,proto3" json:"ignore_outbound_ports,omitempty"`
|
|
InboundPort *Port `protobuf:"bytes,6,opt,name=inbound_port,json=inboundPort,proto3" json:"inbound_port,omitempty"`
|
|
AdminPort *Port `protobuf:"bytes,7,opt,name=admin_port,json=adminPort,proto3" json:"admin_port,omitempty"`
|
|
OutboundPort *Port `protobuf:"bytes,8,opt,name=outbound_port,json=outboundPort,proto3" json:"outbound_port,omitempty"`
|
|
Resource *ResourceRequirements `protobuf:"bytes,9,opt,name=resource,proto3" json:"resource,omitempty"`
|
|
ProxyUid int64 `protobuf:"varint,10,opt,name=proxy_uid,json=proxyUid,proto3" json:"proxy_uid,omitempty"`
|
|
LogLevel *LogLevel `protobuf:"bytes,11,opt,name=log_level,json=logLevel,proto3" json:"log_level,omitempty"`
|
|
DisableExternalProfiles bool `protobuf:"varint,12,opt,name=disable_external_profiles,json=disableExternalProfiles,proto3" json:"disable_external_profiles,omitempty"`
|
|
ProxyVersion string `protobuf:"bytes,13,opt,name=proxy_version,json=proxyVersion,proto3" json:"proxy_version,omitempty"`
|
|
ProxyInitImageVersion string `protobuf:"bytes,14,opt,name=proxy_init_image_version,json=proxyInitImageVersion,proto3" json:"proxy_init_image_version,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Proxy) Reset() { *m = Proxy{} }
|
|
func (m *Proxy) String() string { return proto.CompactTextString(m) }
|
|
func (*Proxy) ProtoMessage() {}
|
|
func (*Proxy) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_cc332a44e926b360, []int{2}
|
|
}
|
|
|
|
func (m *Proxy) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Proxy.Unmarshal(m, b)
|
|
}
|
|
func (m *Proxy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Proxy.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Proxy) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Proxy.Merge(m, src)
|
|
}
|
|
func (m *Proxy) XXX_Size() int {
|
|
return xxx_messageInfo_Proxy.Size(m)
|
|
}
|
|
func (m *Proxy) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Proxy.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Proxy proto.InternalMessageInfo
|
|
|
|
func (m *Proxy) GetProxyImage() *Image {
|
|
if m != nil {
|
|
return m.ProxyImage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Proxy) GetProxyInitImage() *Image {
|
|
if m != nil {
|
|
return m.ProxyInitImage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Proxy) GetControlPort() *Port {
|
|
if m != nil {
|
|
return m.ControlPort
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Proxy) GetIgnoreInboundPorts() []*Port {
|
|
if m != nil {
|
|
return m.IgnoreInboundPorts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Proxy) GetIgnoreOutboundPorts() []*Port {
|
|
if m != nil {
|
|
return m.IgnoreOutboundPorts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Proxy) GetInboundPort() *Port {
|
|
if m != nil {
|
|
return m.InboundPort
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Proxy) GetAdminPort() *Port {
|
|
if m != nil {
|
|
return m.AdminPort
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Proxy) GetOutboundPort() *Port {
|
|
if m != nil {
|
|
return m.OutboundPort
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Proxy) GetResource() *ResourceRequirements {
|
|
if m != nil {
|
|
return m.Resource
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Proxy) GetProxyUid() int64 {
|
|
if m != nil {
|
|
return m.ProxyUid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *Proxy) GetLogLevel() *LogLevel {
|
|
if m != nil {
|
|
return m.LogLevel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Proxy) GetDisableExternalProfiles() bool {
|
|
if m != nil {
|
|
return m.DisableExternalProfiles
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (m *Proxy) GetProxyVersion() string {
|
|
if m != nil {
|
|
return m.ProxyVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Proxy) GetProxyInitImageVersion() string {
|
|
if m != nil {
|
|
return m.ProxyInitImageVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Image struct {
|
|
ImageName string `protobuf:"bytes,1,opt,name=image_name,json=imageName,proto3" json:"image_name,omitempty"`
|
|
PullPolicy string `protobuf:"bytes,2,opt,name=pull_policy,json=pullPolicy,proto3" json:"pull_policy,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Image) Reset() { *m = Image{} }
|
|
func (m *Image) String() string { return proto.CompactTextString(m) }
|
|
func (*Image) ProtoMessage() {}
|
|
func (*Image) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_cc332a44e926b360, []int{3}
|
|
}
|
|
|
|
func (m *Image) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Image.Unmarshal(m, b)
|
|
}
|
|
func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Image.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Image) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Image.Merge(m, src)
|
|
}
|
|
func (m *Image) XXX_Size() int {
|
|
return xxx_messageInfo_Image.Size(m)
|
|
}
|
|
func (m *Image) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Image.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Image proto.InternalMessageInfo
|
|
|
|
func (m *Image) GetImageName() string {
|
|
if m != nil {
|
|
return m.ImageName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Image) GetPullPolicy() string {
|
|
if m != nil {
|
|
return m.PullPolicy
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Port struct {
|
|
Port uint32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Port) Reset() { *m = Port{} }
|
|
func (m *Port) String() string { return proto.CompactTextString(m) }
|
|
func (*Port) ProtoMessage() {}
|
|
func (*Port) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_cc332a44e926b360, []int{4}
|
|
}
|
|
|
|
func (m *Port) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Port.Unmarshal(m, b)
|
|
}
|
|
func (m *Port) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Port.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Port) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Port.Merge(m, src)
|
|
}
|
|
func (m *Port) XXX_Size() int {
|
|
return xxx_messageInfo_Port.Size(m)
|
|
}
|
|
func (m *Port) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Port.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Port proto.InternalMessageInfo
|
|
|
|
func (m *Port) GetPort() uint32 {
|
|
if m != nil {
|
|
return m.Port
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ResourceRequirements struct {
|
|
RequestCpu string `protobuf:"bytes,1,opt,name=request_cpu,json=requestCpu,proto3" json:"request_cpu,omitempty"`
|
|
RequestMemory string `protobuf:"bytes,2,opt,name=request_memory,json=requestMemory,proto3" json:"request_memory,omitempty"`
|
|
LimitCpu string `protobuf:"bytes,3,opt,name=limit_cpu,json=limitCpu,proto3" json:"limit_cpu,omitempty"`
|
|
LimitMemory string `protobuf:"bytes,4,opt,name=limit_memory,json=limitMemory,proto3" json:"limit_memory,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} }
|
|
func (m *ResourceRequirements) String() string { return proto.CompactTextString(m) }
|
|
func (*ResourceRequirements) ProtoMessage() {}
|
|
func (*ResourceRequirements) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_cc332a44e926b360, []int{5}
|
|
}
|
|
|
|
func (m *ResourceRequirements) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ResourceRequirements.Unmarshal(m, b)
|
|
}
|
|
func (m *ResourceRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ResourceRequirements.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ResourceRequirements) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceRequirements.Merge(m, src)
|
|
}
|
|
func (m *ResourceRequirements) XXX_Size() int {
|
|
return xxx_messageInfo_ResourceRequirements.Size(m)
|
|
}
|
|
func (m *ResourceRequirements) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ResourceRequirements.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ResourceRequirements proto.InternalMessageInfo
|
|
|
|
func (m *ResourceRequirements) GetRequestCpu() string {
|
|
if m != nil {
|
|
return m.RequestCpu
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ResourceRequirements) GetRequestMemory() string {
|
|
if m != nil {
|
|
return m.RequestMemory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ResourceRequirements) GetLimitCpu() string {
|
|
if m != nil {
|
|
return m.LimitCpu
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ResourceRequirements) GetLimitMemory() string {
|
|
if m != nil {
|
|
return m.LimitMemory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
type AutoInjectContext struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *AutoInjectContext) Reset() { *m = AutoInjectContext{} }
|
|
func (m *AutoInjectContext) String() string { return proto.CompactTextString(m) }
|
|
func (*AutoInjectContext) ProtoMessage() {}
|
|
func (*AutoInjectContext) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_cc332a44e926b360, []int{6}
|
|
}
|
|
|
|
func (m *AutoInjectContext) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_AutoInjectContext.Unmarshal(m, b)
|
|
}
|
|
func (m *AutoInjectContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_AutoInjectContext.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *AutoInjectContext) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AutoInjectContext.Merge(m, src)
|
|
}
|
|
func (m *AutoInjectContext) XXX_Size() int {
|
|
return xxx_messageInfo_AutoInjectContext.Size(m)
|
|
}
|
|
func (m *AutoInjectContext) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_AutoInjectContext.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_AutoInjectContext proto.InternalMessageInfo
|
|
|
|
type IdentityContext struct {
|
|
TrustDomain string `protobuf:"bytes,1,opt,name=trust_domain,json=trustDomain,proto3" json:"trust_domain,omitempty"`
|
|
TrustAnchorsPem string `protobuf:"bytes,2,opt,name=trust_anchors_pem,json=trustAnchorsPem,proto3" json:"trust_anchors_pem,omitempty"`
|
|
IssuanceLifetime *duration.Duration `protobuf:"bytes,3,opt,name=issuance_lifetime,json=issuanceLifetime,proto3" json:"issuance_lifetime,omitempty"`
|
|
ClockSkewAllowance *duration.Duration `protobuf:"bytes,4,opt,name=clock_skew_allowance,json=clockSkewAllowance,proto3" json:"clock_skew_allowance,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *IdentityContext) Reset() { *m = IdentityContext{} }
|
|
func (m *IdentityContext) String() string { return proto.CompactTextString(m) }
|
|
func (*IdentityContext) ProtoMessage() {}
|
|
func (*IdentityContext) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_cc332a44e926b360, []int{7}
|
|
}
|
|
|
|
func (m *IdentityContext) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_IdentityContext.Unmarshal(m, b)
|
|
}
|
|
func (m *IdentityContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_IdentityContext.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *IdentityContext) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IdentityContext.Merge(m, src)
|
|
}
|
|
func (m *IdentityContext) XXX_Size() int {
|
|
return xxx_messageInfo_IdentityContext.Size(m)
|
|
}
|
|
func (m *IdentityContext) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_IdentityContext.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_IdentityContext proto.InternalMessageInfo
|
|
|
|
func (m *IdentityContext) GetTrustDomain() string {
|
|
if m != nil {
|
|
return m.TrustDomain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *IdentityContext) GetTrustAnchorsPem() string {
|
|
if m != nil {
|
|
return m.TrustAnchorsPem
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *IdentityContext) GetIssuanceLifetime() *duration.Duration {
|
|
if m != nil {
|
|
return m.IssuanceLifetime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *IdentityContext) GetClockSkewAllowance() *duration.Duration {
|
|
if m != nil {
|
|
return m.ClockSkewAllowance
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type LogLevel struct {
|
|
Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *LogLevel) Reset() { *m = LogLevel{} }
|
|
func (m *LogLevel) String() string { return proto.CompactTextString(m) }
|
|
func (*LogLevel) ProtoMessage() {}
|
|
func (*LogLevel) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_cc332a44e926b360, []int{8}
|
|
}
|
|
|
|
func (m *LogLevel) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_LogLevel.Unmarshal(m, b)
|
|
}
|
|
func (m *LogLevel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_LogLevel.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *LogLevel) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_LogLevel.Merge(m, src)
|
|
}
|
|
func (m *LogLevel) XXX_Size() int {
|
|
return xxx_messageInfo_LogLevel.Size(m)
|
|
}
|
|
func (m *LogLevel) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_LogLevel.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_LogLevel proto.InternalMessageInfo
|
|
|
|
func (m *LogLevel) GetLevel() string {
|
|
if m != nil {
|
|
return m.Level
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Stores information about the last installation/upgrade.
|
|
//
|
|
// Useful for driving upgrades.
|
|
type Install struct {
|
|
// The unique ID for this installation. Does not change on upgrade.
|
|
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
|
|
// The CLI version that drove the last install or upgrade.
|
|
CliVersion string `protobuf:"bytes,2,opt,name=cli_version,json=cliVersion,proto3" json:"cli_version,omitempty"`
|
|
// The CLI arguments to the install (or upgrade) command, indicating the
|
|
// installer's intent.
|
|
Flags []*Install_Flag `protobuf:"bytes,3,rep,name=flags,proto3" json:"flags,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Install) Reset() { *m = Install{} }
|
|
func (m *Install) String() string { return proto.CompactTextString(m) }
|
|
func (*Install) ProtoMessage() {}
|
|
func (*Install) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_cc332a44e926b360, []int{9}
|
|
}
|
|
|
|
func (m *Install) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Install.Unmarshal(m, b)
|
|
}
|
|
func (m *Install) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Install.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Install) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Install.Merge(m, src)
|
|
}
|
|
func (m *Install) XXX_Size() int {
|
|
return xxx_messageInfo_Install.Size(m)
|
|
}
|
|
func (m *Install) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Install.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Install proto.InternalMessageInfo
|
|
|
|
func (m *Install) GetUuid() string {
|
|
if m != nil {
|
|
return m.Uuid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Install) GetCliVersion() string {
|
|
if m != nil {
|
|
return m.CliVersion
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Install) GetFlags() []*Install_Flag {
|
|
if m != nil {
|
|
return m.Flags
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Install_Flag struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Install_Flag) Reset() { *m = Install_Flag{} }
|
|
func (m *Install_Flag) String() string { return proto.CompactTextString(m) }
|
|
func (*Install_Flag) ProtoMessage() {}
|
|
func (*Install_Flag) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_cc332a44e926b360, []int{9, 0}
|
|
}
|
|
|
|
func (m *Install_Flag) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Install_Flag.Unmarshal(m, b)
|
|
}
|
|
func (m *Install_Flag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Install_Flag.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Install_Flag) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Install_Flag.Merge(m, src)
|
|
}
|
|
func (m *Install_Flag) XXX_Size() int {
|
|
return xxx_messageInfo_Install_Flag.Size(m)
|
|
}
|
|
func (m *Install_Flag) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Install_Flag.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Install_Flag proto.InternalMessageInfo
|
|
|
|
func (m *Install_Flag) GetName() string {
|
|
if m != nil {
|
|
return m.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Install_Flag) GetValue() string {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*All)(nil), "linkerd2.config.All")
|
|
proto.RegisterType((*Global)(nil), "linkerd2.config.Global")
|
|
proto.RegisterType((*Proxy)(nil), "linkerd2.config.Proxy")
|
|
proto.RegisterType((*Image)(nil), "linkerd2.config.Image")
|
|
proto.RegisterType((*Port)(nil), "linkerd2.config.Port")
|
|
proto.RegisterType((*ResourceRequirements)(nil), "linkerd2.config.ResourceRequirements")
|
|
proto.RegisterType((*AutoInjectContext)(nil), "linkerd2.config.AutoInjectContext")
|
|
proto.RegisterType((*IdentityContext)(nil), "linkerd2.config.IdentityContext")
|
|
proto.RegisterType((*LogLevel)(nil), "linkerd2.config.LogLevel")
|
|
proto.RegisterType((*Install)(nil), "linkerd2.config.Install")
|
|
proto.RegisterType((*Install_Flag)(nil), "linkerd2.config.Install.Flag")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("config/config.proto", fileDescriptor_cc332a44e926b360) }
|
|
|
|
var fileDescriptor_cc332a44e926b360 = []byte{
|
|
// 999 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x56, 0xcf, 0x6f, 0xdb, 0x36,
|
|
0x14, 0x86, 0x7f, 0xdb, 0xcf, 0x76, 0x12, 0x33, 0x49, 0xa3, 0x64, 0xe8, 0xe6, 0x69, 0x28, 0x50,
|
|
0x6c, 0x83, 0xbd, 0x25, 0x43, 0x5b, 0xe4, 0x34, 0xb7, 0x4d, 0x03, 0xa3, 0xd9, 0x16, 0xa8, 0x58,
|
|
0x07, 0xec, 0x22, 0xc8, 0x12, 0xad, 0x70, 0xa6, 0x48, 0x97, 0xa2, 0x92, 0xf4, 0x3f, 0xd9, 0x69,
|
|
0xb7, 0x5d, 0xf7, 0xd7, 0x6d, 0xf7, 0x81, 0x8f, 0x54, 0x96, 0xc4, 0x73, 0x4e, 0x16, 0xbf, 0xf7,
|
|
0x7d, 0x1f, 0x9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