Documentation
¶
Index ¶
- Variables
- type KumaPolicyOptions
- func (*KumaPolicyOptions) Descriptor() ([]byte, []int)deprecated
- func (x *KumaPolicyOptions) GetPlural() string
- func (x *KumaPolicyOptions) GetSkipRegistration() bool
- func (*KumaPolicyOptions) ProtoMessage()
- func (x *KumaPolicyOptions) ProtoReflect() protoreflect.Message
- func (x *KumaPolicyOptions) Reset()
- func (x *KumaPolicyOptions) String() string
- type KumaResourceOptions
- func (*KumaResourceOptions) Descriptor() ([]byte, []int)deprecated
- func (x *KumaResourceOptions) GetAdditionalPrinterColumns() []string
- func (x *KumaResourceOptions) GetAllowToInspect() bool
- func (x *KumaResourceOptions) GetGlobal() bool
- func (x *KumaResourceOptions) GetHasInsights() bool
- func (x *KumaResourceOptions) GetIsExperimental() bool
- func (x *KumaResourceOptions) GetIsProxy() bool
- func (x *KumaResourceOptions) GetKds() string
- func (x *KumaResourceOptions) GetName() string
- func (x *KumaResourceOptions) GetPackage() string
- func (x *KumaResourceOptions) GetPluralDisplayName() string
- func (x *KumaResourceOptions) GetScopeNamespace() bool
- func (x *KumaResourceOptions) GetShortName() string
- func (x *KumaResourceOptions) GetSkipKubernetesWrappers() bool
- func (x *KumaResourceOptions) GetSkipRegistration() bool
- func (x *KumaResourceOptions) GetStorageVersion() bool
- func (x *KumaResourceOptions) GetType() string
- func (x *KumaResourceOptions) GetWs() *KumaWsOptions
- func (*KumaResourceOptions) ProtoMessage()
- func (x *KumaResourceOptions) ProtoReflect() protoreflect.Message
- func (x *KumaResourceOptions) Reset()
- func (x *KumaResourceOptions) String() string
- type KumaWsOptions
- func (*KumaWsOptions) Descriptor() ([]byte, []int)deprecated
- func (x *KumaWsOptions) GetAdminOnly() bool
- func (x *KumaWsOptions) GetAliasName() string
- func (x *KumaWsOptions) GetAliasPlural() string
- func (x *KumaWsOptions) GetName() string
- func (x *KumaWsOptions) GetPlural() string
- func (x *KumaWsOptions) GetReadOnly() bool
- func (*KumaWsOptions) ProtoMessage()
- func (x *KumaWsOptions) ProtoReflect() protoreflect.Message
- func (x *KumaWsOptions) Reset()
- func (x *KumaWsOptions) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // optional kuma.mesh.KumaResourceOptions resource = 43534533; E_Resource = &file_api_mesh_options_proto_extTypes[0] // 'kuma' // optional kuma.mesh.KumaPolicyOptions policy = 43534534; E_Policy = &file_api_mesh_options_proto_extTypes[1] // 'kuma' )
Extension fields to descriptorpb.MessageOptions.
View Source
var File_api_mesh_options_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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"`
// Some options for the webservice
Ws *KumaWsOptions `protobuf:"bytes,7,opt,name=ws,proto3" json:"ws,omitempty"`
// A set of kds flag to set the behaviour of the resource with KDS.
Kds string `protobuf:"bytes,10,opt,name=kds,proto3" json:"kds,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"`
// Short name for xds or service reference.
ShortName string `protobuf:"bytes,19,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
// Indicates if this resource is a proxy.
IsProxy bool `protobuf:"varint,20,opt,name=is_proxy,json=isProxy,proto3" json:"is_proxy,omitempty"`
// contains filtered or unexported fields
}
func (*KumaResourceOptions) Descriptor
deprecated
func (*KumaResourceOptions) Descriptor() ([]byte, []int)
Deprecated: Use KumaResourceOptions.ProtoReflect.Descriptor instead.
func (*KumaResourceOptions) GetAdditionalPrinterColumns ¶
func (x *KumaResourceOptions) GetAdditionalPrinterColumns() []string
func (*KumaResourceOptions) GetAllowToInspect ¶
func (x *KumaResourceOptions) GetAllowToInspect() bool
func (*KumaResourceOptions) GetGlobal ¶
func (x *KumaResourceOptions) GetGlobal() bool
func (*KumaResourceOptions) GetHasInsights ¶
func (x *KumaResourceOptions) GetHasInsights() bool
func (*KumaResourceOptions) GetIsExperimental ¶
func (x *KumaResourceOptions) GetIsExperimental() bool
func (*KumaResourceOptions) GetIsProxy ¶ added in v2.10.9
func (x *KumaResourceOptions) GetIsProxy() bool
func (*KumaResourceOptions) GetKds ¶
func (x *KumaResourceOptions) GetKds() string
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) GetShortName ¶ added in v2.10.9
func (x *KumaResourceOptions) GetShortName() string
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"`
// Alias name is the alternative name of the policy for resource name usage in
// path.
AliasName string `protobuf:"bytes,5,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"`
// Alias plural is only to be set if the plural of the resource is irregular
// (not just adding a 's' at the end).
AliasPlural string `protobuf:"bytes,6,opt,name=alias_plural,json=aliasPlural,proto3" json:"alias_plural,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) GetAliasName ¶ added in v2.11.8
func (x *KumaWsOptions) GetAliasName() string
func (*KumaWsOptions) GetAliasPlural ¶ added in v2.11.8
func (x *KumaWsOptions) GetAliasPlural() string
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
Click to show internal directories.
Click to hide internal directories.