mirror of https://github.com/linkerd/linkerd2.git
745 lines
27 KiB
Go
745 lines
27 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: config/config.proto
|
|
|
|
package config // import "github.com/linkerd/linkerd2/controller/gen/config"
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
import duration "github.com/golang/protobuf/ptypes/duration"
|
|
|
|
// 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.ProtoPackageIsVersion2 // 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_config_42b83b762b43f0a0, []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 (dst *All) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_All.Merge(dst, 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 and proxy-init 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.
|
|
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_config_42b83b762b43f0a0, []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 (dst *Global) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Global.Merge(dst, 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
|
|
}
|
|
|
|
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"`
|
|
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_config_42b83b762b43f0a0, []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 (dst *Proxy) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Proxy.Merge(dst, 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 ""
|
|
}
|
|
|
|
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_config_42b83b762b43f0a0, []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 (dst *Image) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Image.Merge(dst, 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_config_42b83b762b43f0a0, []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 (dst *Port) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Port.Merge(dst, 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_config_42b83b762b43f0a0, []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 (dst *ResourceRequirements) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ResourceRequirements.Merge(dst, 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_config_42b83b762b43f0a0, []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 (dst *AutoInjectContext) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_AutoInjectContext.Merge(dst, 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_config_42b83b762b43f0a0, []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 (dst *IdentityContext) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_IdentityContext.Merge(dst, 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_config_42b83b762b43f0a0, []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 (dst *LogLevel) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_LogLevel.Merge(dst, 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_config_42b83b762b43f0a0, []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 (dst *Install) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Install.Merge(dst, 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_config_42b83b762b43f0a0, []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 (dst *Install_Flag) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Install_Flag.Merge(dst, 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_config_42b83b762b43f0a0) }
|
|
|
|
var fileDescriptor_config_42b83b762b43f0a0 = []byte{
|
|
// 938 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x55, 0x5d, 0x6f, 0x23, 0x35,
|
|
0x14, 0x55, 0xbe, 0xda, 0xe4, 0x26, 0xd9, 0x36, 0x6e, 0x97, 0x4e, 0x8b, 0x16, 0xc2, 0xa0, 0x95,
|
|
0x56, 0x80, 0x12, 0x68, 0x11, 0xac, 0xfa, 0x44, 0xf6, 0xab, 0x8a, 0xb6, 0x40, 0x65, 0xc4, 0x3e,
|
|
0xf0, 0x32, 0x9a, 0xcc, 0x38, 0xb3, 0xa6, 0x1e, 0x3b, 0xeb, 0xf1, 0xb4, 0xdd, 0x1f, 0x82, 0xc4,
|
|
0x13, 0x6f, 0xfc, 0xc4, 0x7d, 0x47, 0xbe, 0xf6, 0x94, 0xb6, 0xb3, 0xcd, 0xd3, 0xd8, 0xe7, 0x9e,
|
|
0x73, 0x7c, 0xc7, 0xbe, 0xbe, 0x86, 0x9d, 0x44, 0xc9, 0x25, 0xcf, 0xa6, 0xee, 0x33, 0x59, 0x69,
|
|
0x65, 0x14, 0xd9, 0x12, 0x5c, 0x9e, 0x33, 0x9d, 0x1e, 0x4e, 0x1c, 0x7c, 0xf0, 0x59, 0xa6, 0x54,
|
|
0x26, 0xd8, 0x14, 0xc3, 0x8b, 0x72, 0x39, 0x4d, 0x4b, 0x1d, 0x1b, 0xae, 0xa4, 0x13, 0x84, 0x7f,
|
|
0x37, 0xa0, 0x35, 0x13, 0x82, 0x4c, 0x61, 0x23, 0x13, 0x6a, 0x11, 0x8b, 0xa0, 0x31, 0x6e, 0x3c,
|
|
0xe9, 0x1f, 0xee, 0x4d, 0xee, 0x38, 0x4d, 0x4e, 0x30, 0x4c, 0x3d, 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