Documentation
¶
Index ¶
- Variables
- type KumaResourceOptions
- func (*KumaResourceOptions) Descriptor() ([]byte, []int)deprecated
- func (x *KumaResourceOptions) GetGlobal() bool
- func (x *KumaResourceOptions) GetName() string
- func (x *KumaResourceOptions) GetPackage() string
- func (x *KumaResourceOptions) GetSkipRegistration() bool
- func (x *KumaResourceOptions) GetSkipValidation() bool
- func (x *KumaResourceOptions) GetType() string
- func (*KumaResourceOptions) ProtoMessage()
- func (x *KumaResourceOptions) ProtoReflect() protoreflect.Message
- func (x *KumaResourceOptions) Reset()
- func (x *KumaResourceOptions) String() string
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) GetPackage ¶
func (x *KumaResourceOptions) GetPackage() string
func (*KumaResourceOptions) GetSkipRegistration ¶
func (x *KumaResourceOptions) GetSkipRegistration() bool
func (*KumaResourceOptions) GetSkipValidation ¶
func (x *KumaResourceOptions) GetSkipValidation() bool
func (*KumaResourceOptions) ProtoMessage ¶
func (*KumaResourceOptions) ProtoMessage()
func (*KumaResourceOptions) ProtoReflect ¶
func (x *KumaResourceOptions) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.