v1alpha1

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

nolint:whitespace

Index

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 (*DoNothingPolicyResource) GetMeta

func (*DoNothingPolicyResource) GetSpec

func (*DoNothingPolicyResource) SetMeta

func (*DoNothingPolicyResource) SetSpec

func (*DoNothingPolicyResource) Validate

func (t *DoNothingPolicyResource) Validate() error

type DoNothingPolicyResourceList

type DoNothingPolicyResourceList struct {
	Items      []*DoNothingPolicyResource
	Pagination model.Pagination
}

func (*DoNothingPolicyResourceList) AddItem

func (*DoNothingPolicyResourceList) GetItemType

func (*DoNothingPolicyResourceList) GetItems

func (l *DoNothingPolicyResourceList) GetItems() []model.Resource

func (*DoNothingPolicyResourceList) GetPagination

func (l *DoNothingPolicyResourceList) GetPagination() *model.Pagination

func (*DoNothingPolicyResourceList) NewItem

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

Jump to

Keyboard shortcuts

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