mesh

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional kuma.mesh.KumaResourceOptions resource = 43534533;
	E_Resource = &file_mesh_options_proto_extTypes[0] // 'kuma'
	// optional kuma.mesh.KumaPolicyOptions policy = 43534534;
	E_Policy = &file_mesh_options_proto_extTypes[1] // 'kuma'
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_mesh_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type KumaKdsOptions

type KumaKdsOptions struct {

	// SendToGlobal whether this entity will be sent from zone cp to global cp
	SendToGlobal bool `protobuf:"varint,1,opt,name=send_to_global,json=sendToGlobal,proto3" json:"send_to_global,omitempty"`
	// SendToZone whether this entity will be sent from global cp to zone cp
	SendToZone bool `protobuf:"varint,2,opt,name=send_to_zone,json=sendToZone,proto3" json:"send_to_zone,omitempty"`
	// contains filtered or unexported fields
}

func (*KumaKdsOptions) Descriptor deprecated

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

Deprecated: Use KumaKdsOptions.ProtoReflect.Descriptor instead.

func (*KumaKdsOptions) GetSendToGlobal

func (x *KumaKdsOptions) GetSendToGlobal() bool

func (*KumaKdsOptions) GetSendToZone

func (x *KumaKdsOptions) GetSendToZone() bool

func (*KumaKdsOptions) ProtoMessage

func (*KumaKdsOptions) ProtoMessage()

func (*KumaKdsOptions) ProtoReflect

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

func (*KumaKdsOptions) Reset

func (x *KumaKdsOptions) Reset()

func (*KumaKdsOptions) String

func (x *KumaKdsOptions) String() string

type KumaPolicyOptions

type KumaPolicyOptions struct {

	// Whether to skip type registration for this resource.
	SkipRegistration bool `protobuf:"varint,1,opt,name=skip_registration,json=skipRegistration,proto3" json:"skip_registration,omitempty"`
	// An optional alternative plural form if this is unset default to a standard
	// derivation of the name
	Plural string `protobuf:"bytes,2,opt,name=plural,proto3" json:"plural,omitempty"`
	// contains filtered or unexported fields
}

func (*KumaPolicyOptions) Descriptor deprecated

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

Deprecated: Use KumaPolicyOptions.ProtoReflect.Descriptor instead.

func (*KumaPolicyOptions) GetPlural

func (x *KumaPolicyOptions) GetPlural() string

func (*KumaPolicyOptions) GetSkipRegistration

func (x *KumaPolicyOptions) GetSkipRegistration() bool

func (*KumaPolicyOptions) ProtoMessage

func (*KumaPolicyOptions) ProtoMessage()

func (*KumaPolicyOptions) ProtoReflect

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

func (*KumaPolicyOptions) Reset

func (x *KumaPolicyOptions) Reset()

func (*KumaPolicyOptions) String

func (x *KumaPolicyOptions) String() string

type KumaResourceOptions

type KumaResourceOptions struct {

	// Name of the Kuma resource struct.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Name and value of the modelResourceType constant.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// True if this resource has global scope. Otherwise it will be mesh scope.
	Global bool `protobuf:"varint,3,opt,name=global,proto3" json:"global,omitempty"`
	// Name of the resource's Go package.
	Package string `protobuf:"bytes,4,opt,name=package,proto3" json:"package,omitempty"`
	// Whether to skip type registration for this resource.
	SkipRegistration bool            `protobuf:"varint,6,opt,name=skip_registration,json=skipRegistration,proto3" json:"skip_registration,omitempty"`
	Kds              *KumaKdsOptions `protobuf:"bytes,10,opt,name=kds,proto3" json:"kds,omitempty"`
	Ws               *KumaWsOptions  `protobuf:"bytes,7,opt,name=ws,proto3" json:"ws,omitempty"`
	// Whether scope is "Namespace"; Otherwise to "Cluster".
	ScopeNamespace bool `protobuf:"varint,11,opt,name=scope_namespace,json=scopeNamespace,proto3" json:"scope_namespace,omitempty"`
	// Whether to skip generation of native API helper functions.
	SkipKubernetesWrappers bool `` /* 131-byte string literal not displayed */
	// Whether to generate Inspect API endpoint
	AllowToInspect bool `protobuf:"varint,13,opt,name=allow_to_inspect,json=allowToInspect,proto3" json:"allow_to_inspect,omitempty"`
	// If resource has more than one version, then the flag defines which version
	// is used in the storage. All other versions must be convertible to it.
	StorageVersion bool `protobuf:"varint,14,opt,name=storage_version,json=storageVersion,proto3" json:"storage_version,omitempty"`
	// The name of the policy showed as plural to be displayed in the UI and maybe
	// CLI
	PluralDisplayName string `protobuf:"bytes,15,opt,name=plural_display_name,json=pluralDisplayName,proto3" json:"plural_display_name,omitempty"`
	// Is Experimental indicates if a policy is in experimental state (might not
	// be production ready).
	IsExperimental bool `protobuf:"varint,16,opt,name=is_experimental,json=isExperimental,proto3" json:"is_experimental,omitempty"`
	// contains filtered or unexported fields
}

func (*KumaResourceOptions) Descriptor deprecated

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

Deprecated: Use KumaResourceOptions.ProtoReflect.Descriptor instead.

func (*KumaResourceOptions) GetAllowToInspect

func (x *KumaResourceOptions) GetAllowToInspect() bool

func (*KumaResourceOptions) GetGlobal

func (x *KumaResourceOptions) GetGlobal() bool

func (*KumaResourceOptions) GetIsExperimental

func (x *KumaResourceOptions) GetIsExperimental() bool

func (*KumaResourceOptions) GetKds

func (x *KumaResourceOptions) GetKds() *KumaKdsOptions

func (*KumaResourceOptions) GetName

func (x *KumaResourceOptions) GetName() string

func (*KumaResourceOptions) GetPackage

func (x *KumaResourceOptions) GetPackage() string

func (*KumaResourceOptions) GetPluralDisplayName

func (x *KumaResourceOptions) GetPluralDisplayName() string

func (*KumaResourceOptions) GetScopeNamespace

func (x *KumaResourceOptions) GetScopeNamespace() bool

func (*KumaResourceOptions) GetSkipKubernetesWrappers

func (x *KumaResourceOptions) GetSkipKubernetesWrappers() bool

func (*KumaResourceOptions) GetSkipRegistration

func (x *KumaResourceOptions) GetSkipRegistration() bool

func (*KumaResourceOptions) GetStorageVersion

func (x *KumaResourceOptions) GetStorageVersion() bool

func (*KumaResourceOptions) GetType

func (x *KumaResourceOptions) GetType() string

func (*KumaResourceOptions) GetWs

func (x *KumaResourceOptions) GetWs() *KumaWsOptions

func (*KumaResourceOptions) ProtoMessage

func (*KumaResourceOptions) ProtoMessage()

func (*KumaResourceOptions) ProtoReflect

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

func (*KumaResourceOptions) Reset

func (x *KumaResourceOptions) Reset()

func (*KumaResourceOptions) String

func (x *KumaResourceOptions) String() string

type KumaWsOptions

type KumaWsOptions struct {

	// Name is the name of the policy for resource name usage in path.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Plural is only to be set if the plural of the resource is irregular (not
	// just adding a 's' at the end).
	Plural string `protobuf:"bytes,2,opt,name=plural,proto3" json:"plural,omitempty"`
	// ReadOnly if the resource is read only.
	ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// AdminOnly whether this entity requires admin auth to access these
	// endpoints.
	AdminOnly bool `protobuf:"varint,4,opt,name=admin_only,json=adminOnly,proto3" json:"admin_only,omitempty"`
	// contains filtered or unexported fields
}

func (*KumaWsOptions) Descriptor deprecated

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

Deprecated: Use KumaWsOptions.ProtoReflect.Descriptor instead.

func (*KumaWsOptions) GetAdminOnly

func (x *KumaWsOptions) GetAdminOnly() bool

func (*KumaWsOptions) GetName

func (x *KumaWsOptions) GetName() string

func (*KumaWsOptions) GetPlural

func (x *KumaWsOptions) GetPlural() string

func (*KumaWsOptions) GetReadOnly

func (x *KumaWsOptions) GetReadOnly() bool

func (*KumaWsOptions) ProtoMessage

func (*KumaWsOptions) ProtoMessage()

func (*KumaWsOptions) ProtoReflect

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

func (*KumaWsOptions) Reset

func (x *KumaWsOptions) Reset()

func (*KumaWsOptions) String

func (x *KumaWsOptions) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳