mesh

package
v0.0.0-...-7118e27 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 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'
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_mesh_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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 resoure 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 generate a no-op validation function.
	SkipValidation bool `protobuf:"varint,5,opt,name=skip_validation,json=skipValidation,proto3" json:"skip_validation,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"`
	// contains filtered or unexported fields
}

func (*KumaResourceOptions) Descriptor deprecated

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

Deprecated: Use KumaResourceOptions.ProtoReflect.Descriptor instead.

func (*KumaResourceOptions) GetGlobal

func (x *KumaResourceOptions) GetGlobal() bool

func (*KumaResourceOptions) GetName

func (x *KumaResourceOptions) GetName() string

func (*KumaResourceOptions) GetPackage

func (x *KumaResourceOptions) GetPackage() string

func (*KumaResourceOptions) GetSkipRegistration

func (x *KumaResourceOptions) GetSkipRegistration() bool

func (*KumaResourceOptions) GetSkipValidation

func (x *KumaResourceOptions) GetSkipValidation() bool

func (*KumaResourceOptions) GetType

func (x *KumaResourceOptions) GetType() string

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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