Documentation ¶
Overview ¶
nolint:whitespace
Index ¶
- Constants
- Variables
- type DoNothingPolicy
- func (in *DoNothingPolicy) DeepCopy() *DoNothingPolicy
- func (in *DoNothingPolicy) DeepCopyInterface() interface{}
- func (in *DoNothingPolicy) DeepCopyInto(out *DoNothingPolicy)
- func (*DoNothingPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *DoNothingPolicy) GetConf() *DoNothingPolicy_Conf
- func (*DoNothingPolicy) ProtoMessage()
- func (x *DoNothingPolicy) ProtoReflect() protoreflect.Message
- func (x *DoNothingPolicy) Reset()
- func (x *DoNothingPolicy) String() string
- type DoNothingPolicyResource
- func (t *DoNothingPolicyResource) Descriptor() model.ResourceTypeDescriptor
- func (t *DoNothingPolicyResource) GetMeta() model.ResourceMeta
- func (t *DoNothingPolicyResource) GetSpec() model.ResourceSpec
- func (t *DoNothingPolicyResource) SetMeta(m model.ResourceMeta)
- func (t *DoNothingPolicyResource) SetSpec(spec model.ResourceSpec) error
- func (t *DoNothingPolicyResource) Validate() error
- type DoNothingPolicyResourceList
- func (l *DoNothingPolicyResourceList) AddItem(r model.Resource) error
- func (l *DoNothingPolicyResourceList) GetItemType() model.ResourceType
- func (l *DoNothingPolicyResourceList) GetItems() []model.Resource
- func (l *DoNothingPolicyResourceList) GetPagination() *model.Pagination
- func (l *DoNothingPolicyResourceList) NewItem() model.Resource
- type DoNothingPolicy_Conf
- func (*DoNothingPolicy_Conf) Descriptor() ([]byte, []int)deprecated
- func (x *DoNothingPolicy_Conf) GetEnableDoNothing() bool
- func (*DoNothingPolicy_Conf) ProtoMessage()
- func (x *DoNothingPolicy_Conf) ProtoReflect() protoreflect.Message
- func (x *DoNothingPolicy_Conf) Reset()
- func (x *DoNothingPolicy_Conf) String() string
Constants ¶
View Source
const (
DoNothingPolicyType model.ResourceType = "DoNothingPolicy"
)
Variables ¶
View Source
var DoNothingPolicyResourceTypeDescriptor = model.ResourceTypeDescriptor{ Name: DoNothingPolicyType, Resource: NewDoNothingPolicyResource(), ResourceList: &DoNothingPolicyResourceList{}, Scope: model.ScopeMesh, KDSFlags: model.FromGlobalToZone, WsPath: "donothingpolicies", KumactlArg: "donothingpolicy", KumactlListArg: "donothingpolicies", AllowToInspect: true, IsPolicy: true, IsExperimental: false, SingularDisplayName: "Do Nothing Policy", PluralDisplayName: "Do Nothing Policies", }
View Source
var File_pkg_plugins_policies_donothingpolicy_api_v1alpha1_donothingpolicy_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DoNothingPolicy ¶
type DoNothingPolicy struct { Conf *DoNothingPolicy_Conf `protobuf:"bytes,3,opt,name=conf,proto3" json:"conf,omitempty"` // contains filtered or unexported fields }
DoNothingPolicy defines permission for traffic between dataplanes.
func (*DoNothingPolicy) DeepCopy ¶
func (in *DoNothingPolicy) DeepCopy() *DoNothingPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DoNothingPolicy. Required by controller-gen.
func (*DoNothingPolicy) DeepCopyInterface ¶
func (in *DoNothingPolicy) DeepCopyInterface() interface{}
DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DoNothingPolicy. Required by controller-gen.
func (*DoNothingPolicy) DeepCopyInto ¶
func (in *DoNothingPolicy) DeepCopyInto(out *DoNothingPolicy)
DeepCopyInto supports using DoNothingPolicy within kubernetes types, where deepcopy-gen is used.
func (*DoNothingPolicy) Descriptor
deprecated
func (*DoNothingPolicy) Descriptor() ([]byte, []int)
Deprecated: Use DoNothingPolicy.ProtoReflect.Descriptor instead.
func (*DoNothingPolicy) GetConf ¶
func (x *DoNothingPolicy) GetConf() *DoNothingPolicy_Conf
func (*DoNothingPolicy) ProtoMessage ¶
func (*DoNothingPolicy) ProtoMessage()
func (*DoNothingPolicy) ProtoReflect ¶
func (x *DoNothingPolicy) ProtoReflect() protoreflect.Message
func (*DoNothingPolicy) Reset ¶
func (x *DoNothingPolicy) Reset()
func (*DoNothingPolicy) String ¶
func (x *DoNothingPolicy) String() string
type DoNothingPolicyResource ¶
type DoNothingPolicyResource struct { Meta model.ResourceMeta Spec *DoNothingPolicy }
func NewDoNothingPolicyResource ¶
func NewDoNothingPolicyResource() *DoNothingPolicyResource
func (*DoNothingPolicyResource) Descriptor ¶
func (t *DoNothingPolicyResource) Descriptor() model.ResourceTypeDescriptor
func (*DoNothingPolicyResource) GetMeta ¶
func (t *DoNothingPolicyResource) GetMeta() model.ResourceMeta
func (*DoNothingPolicyResource) GetSpec ¶
func (t *DoNothingPolicyResource) GetSpec() model.ResourceSpec
func (*DoNothingPolicyResource) SetMeta ¶
func (t *DoNothingPolicyResource) SetMeta(m model.ResourceMeta)
func (*DoNothingPolicyResource) SetSpec ¶
func (t *DoNothingPolicyResource) SetSpec(spec model.ResourceSpec) error
func (*DoNothingPolicyResource) Validate ¶
func (t *DoNothingPolicyResource) Validate() error
type DoNothingPolicyResourceList ¶
type DoNothingPolicyResourceList struct { Items []*DoNothingPolicyResource Pagination model.Pagination }
func (*DoNothingPolicyResourceList) AddItem ¶
func (l *DoNothingPolicyResourceList) AddItem(r model.Resource) error
func (*DoNothingPolicyResourceList) GetItemType ¶
func (l *DoNothingPolicyResourceList) GetItemType() model.ResourceType
func (*DoNothingPolicyResourceList) GetItems ¶
func (l *DoNothingPolicyResourceList) GetItems() []model.Resource
func (*DoNothingPolicyResourceList) GetPagination ¶
func (l *DoNothingPolicyResourceList) GetPagination() *model.Pagination
func (*DoNothingPolicyResourceList) NewItem ¶
func (l *DoNothingPolicyResourceList) NewItem() model.Resource
type DoNothingPolicy_Conf ¶
type DoNothingPolicy_Conf struct { // Set true in case of doing nothing EnableDoNothing bool `protobuf:"varint,1,opt,name=enableDoNothing,proto3" json:"enableDoNothing,omitempty"` // contains filtered or unexported fields }
func (*DoNothingPolicy_Conf) Descriptor
deprecated
func (*DoNothingPolicy_Conf) Descriptor() ([]byte, []int)
Deprecated: Use DoNothingPolicy_Conf.ProtoReflect.Descriptor instead.
func (*DoNothingPolicy_Conf) GetEnableDoNothing ¶
func (x *DoNothingPolicy_Conf) GetEnableDoNothing() bool
func (*DoNothingPolicy_Conf) ProtoMessage ¶
func (*DoNothingPolicy_Conf) ProtoMessage()
func (*DoNothingPolicy_Conf) ProtoReflect ¶
func (x *DoNothingPolicy_Conf) ProtoReflect() protoreflect.Message
func (*DoNothingPolicy_Conf) Reset ¶
func (x *DoNothingPolicy_Conf) Reset()
func (*DoNothingPolicy_Conf) String ¶
func (x *DoNothingPolicy_Conf) String() string
Click to show internal directories.
Click to hide internal directories.