v1alpha1

package
v2.12.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the mesh v1alpha1 API group +groupName=kuma.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "kuma.io", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type MeshTrafficPermission

type MeshTrafficPermission struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Spec is the specification of the Kuma MeshTrafficPermission resource.
	// +kubebuilder:validation:Optional
	Spec *policy.MeshTrafficPermission `json:"spec,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:categories=kuma,scope=Namespaced,shortName=mtp +kubebuilder:printcolumn:name="TargetRef Kind",type="string",JSONPath=".spec.targetRef.kind" +kubebuilder:printcolumn:name="TargetRef Name",type="string",JSONPath=".spec.targetRef.name"

func (*MeshTrafficPermission) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshTrafficPermission.

func (*MeshTrafficPermission) DeepCopyInto

func (in *MeshTrafficPermission) DeepCopyInto(out *MeshTrafficPermission)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MeshTrafficPermission) DeepCopyObject

func (in *MeshTrafficPermission) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MeshTrafficPermission) GetMesh

func (cb *MeshTrafficPermission) GetMesh() string

func (*MeshTrafficPermission) GetObjectMeta

func (cb *MeshTrafficPermission) GetObjectMeta() *metav1.ObjectMeta

func (*MeshTrafficPermission) GetSpec

func (*MeshTrafficPermission) GetStatus

func (*MeshTrafficPermission) Scope

func (cb *MeshTrafficPermission) Scope() model.Scope

func (*MeshTrafficPermission) SetMesh

func (cb *MeshTrafficPermission) SetMesh(mesh string)

func (*MeshTrafficPermission) SetObjectMeta

func (cb *MeshTrafficPermission) SetObjectMeta(m *metav1.ObjectMeta)

func (*MeshTrafficPermission) SetSpec

func (cb *MeshTrafficPermission) SetSpec(spec core_model.ResourceSpec)

func (*MeshTrafficPermission) SetStatus

func (cb *MeshTrafficPermission) SetStatus(status core_model.ResourceStatus) error

type MeshTrafficPermissionList

type MeshTrafficPermissionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MeshTrafficPermission `json:"items"`
}

+kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced

func (*MeshTrafficPermissionList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshTrafficPermissionList.

func (*MeshTrafficPermissionList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MeshTrafficPermissionList) DeepCopyObject

func (in *MeshTrafficPermissionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*MeshTrafficPermissionList) GetItems

Jump to

Keyboard shortcuts

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