mesh

package
v0.0.0-...-b6b2d9b Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional dubbo.mesh.DubboResourceOptions resource = 43534533;
	E_Resource = &file_api_mesh_options_proto_extTypes[0] // 'dubbo'
	// optional dubbo.mesh.DubboPolicyOptions policy = 43534534;
	E_Policy = &file_api_mesh_options_proto_extTypes[1] // 'dubbo'
)

Extension fields to descriptorpb.MessageOptions.

View Source
var File_api_mesh_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DubboDdsOptions

type DubboDdsOptions 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 (*DubboDdsOptions) Descriptor deprecated

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

Deprecated: Use DubboDdsOptions.ProtoReflect.Descriptor instead.

func (*DubboDdsOptions) GetSendToGlobal

func (x *DubboDdsOptions) GetSendToGlobal() bool

func (*DubboDdsOptions) GetSendToZone

func (x *DubboDdsOptions) GetSendToZone() bool

func (*DubboDdsOptions) ProtoMessage

func (*DubboDdsOptions) ProtoMessage()

func (*DubboDdsOptions) ProtoReflect

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

func (*DubboDdsOptions) Reset

func (x *DubboDdsOptions) Reset()

func (*DubboDdsOptions) String

func (x *DubboDdsOptions) String() string

type DubboPolicyOptions

type DubboPolicyOptions 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 (*DubboPolicyOptions) Descriptor deprecated

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

Deprecated: Use DubboPolicyOptions.ProtoReflect.Descriptor instead.

func (*DubboPolicyOptions) GetPlural

func (x *DubboPolicyOptions) GetPlural() string

func (*DubboPolicyOptions) GetSkipRegistration

func (x *DubboPolicyOptions) GetSkipRegistration() bool

func (*DubboPolicyOptions) ProtoMessage

func (*DubboPolicyOptions) ProtoMessage()

func (*DubboPolicyOptions) ProtoReflect

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

func (*DubboPolicyOptions) Reset

func (x *DubboPolicyOptions) Reset()

func (*DubboPolicyOptions) String

func (x *DubboPolicyOptions) String() string

type DubboResourceOptions

type DubboResourceOptions struct {

	// Name of the Dubbo 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"`
	Dds              *DubboDdsOptions `protobuf:"bytes,10,opt,name=dds,proto3" json:"dds,omitempty"`
	Ws               *DubboWsOptions  `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"`
	// Columns to set using `+kubebuilder::printcolumns`
	AdditionalPrinterColumns []string `` /* 136-byte string literal not displayed */
	// Whether the resource has a matching insight type
	HasInsights bool `protobuf:"varint,18,opt,name=has_insights,json=hasInsights,proto3" json:"has_insights,omitempty"`
	// contains filtered or unexported fields
}

func (*DubboResourceOptions) Descriptor deprecated

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

Deprecated: Use DubboResourceOptions.ProtoReflect.Descriptor instead.

func (*DubboResourceOptions) GetAdditionalPrinterColumns

func (x *DubboResourceOptions) GetAdditionalPrinterColumns() []string

func (*DubboResourceOptions) GetAllowToInspect

func (x *DubboResourceOptions) GetAllowToInspect() bool

func (*DubboResourceOptions) GetDds

func (*DubboResourceOptions) GetGlobal

func (x *DubboResourceOptions) GetGlobal() bool

func (*DubboResourceOptions) GetHasInsights

func (x *DubboResourceOptions) GetHasInsights() bool

func (*DubboResourceOptions) GetIsExperimental

func (x *DubboResourceOptions) GetIsExperimental() bool

func (*DubboResourceOptions) GetName

func (x *DubboResourceOptions) GetName() string

func (*DubboResourceOptions) GetPackage

func (x *DubboResourceOptions) GetPackage() string

func (*DubboResourceOptions) GetPluralDisplayName

func (x *DubboResourceOptions) GetPluralDisplayName() string

func (*DubboResourceOptions) GetScopeNamespace

func (x *DubboResourceOptions) GetScopeNamespace() bool

func (*DubboResourceOptions) GetSkipKubernetesWrappers

func (x *DubboResourceOptions) GetSkipKubernetesWrappers() bool

func (*DubboResourceOptions) GetSkipRegistration

func (x *DubboResourceOptions) GetSkipRegistration() bool

func (*DubboResourceOptions) GetStorageVersion

func (x *DubboResourceOptions) GetStorageVersion() bool

func (*DubboResourceOptions) GetType

func (x *DubboResourceOptions) GetType() string

func (*DubboResourceOptions) GetWs

func (*DubboResourceOptions) ProtoMessage

func (*DubboResourceOptions) ProtoMessage()

func (*DubboResourceOptions) ProtoReflect

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

func (*DubboResourceOptions) Reset

func (x *DubboResourceOptions) Reset()

func (*DubboResourceOptions) String

func (x *DubboResourceOptions) String() string

type DubboWsOptions

type DubboWsOptions 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 (*DubboWsOptions) Descriptor deprecated

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

Deprecated: Use DubboWsOptions.ProtoReflect.Descriptor instead.

func (*DubboWsOptions) GetAdminOnly

func (x *DubboWsOptions) GetAdminOnly() bool

func (*DubboWsOptions) GetName

func (x *DubboWsOptions) GetName() string

func (*DubboWsOptions) GetPlural

func (x *DubboWsOptions) GetPlural() string

func (*DubboWsOptions) GetReadOnly

func (x *DubboWsOptions) GetReadOnly() bool

func (*DubboWsOptions) ProtoMessage

func (*DubboWsOptions) ProtoMessage()

func (*DubboWsOptions) ProtoReflect

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

func (*DubboWsOptions) Reset

func (x *DubboWsOptions) Reset()

func (*DubboWsOptions) String

func (x *DubboWsOptions) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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