v1alpha1

package
v0.0.0-...-35f65b5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions +kubebuilder:object:generate=true +groupName=istiomerger.monime.sl

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "istiomerger.monime.sl", 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 Target

type Target struct {

	// +kubebuilder:validation:Required
	Name string `json:"name,omitempty"`

	Namespace string `json:"namespace,omitempty"`
}

Target defines the source resource to merged with

func (*Target) DeepCopy

func (in *Target) DeepCopy() *Target

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

func (*Target) DeepCopyInto

func (in *Target) DeepCopyInto(out *Target)

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

func (*Target) Validate

func (in *Target) Validate() error

type VirtualServiceMerge

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

	Spec   VirtualServiceMergeSpec   `json:"spec,omitempty"`
	Status VirtualServicePatchStatus `json:"status,omitempty"`
}

func (*VirtualServiceMerge) AddHttpRoutes

func (in *VirtualServiceMerge) AddHttpRoutes(ctx reconciler.Context, target *alpha3.VirtualService)

func (*VirtualServiceMerge) AddTcpRoutes

func (in *VirtualServiceMerge) AddTcpRoutes(target *alpha3.VirtualService)

func (*VirtualServiceMerge) AddTlsRoutes

func (in *VirtualServiceMerge) AddTlsRoutes(target *alpha3.VirtualService)

func (*VirtualServiceMerge) DeepCopy

func (in *VirtualServiceMerge) DeepCopy() *VirtualServiceMerge

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

func (*VirtualServiceMerge) DeepCopyInto

func (in *VirtualServiceMerge) DeepCopyInto(out *VirtualServiceMerge)

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

func (*VirtualServiceMerge) DeepCopyObject

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

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

func (*VirtualServiceMerge) RemoveHttpRoutes

func (in *VirtualServiceMerge) RemoveHttpRoutes(ctx reconciler.Context, target *alpha3.VirtualService)

func (*VirtualServiceMerge) RemoveTcpRoutes

func (in *VirtualServiceMerge) RemoveTcpRoutes(target *alpha3.VirtualService)

func (*VirtualServiceMerge) RemoveTlsRoutes

func (in *VirtualServiceMerge) RemoveTlsRoutes(target *alpha3.VirtualService)

type VirtualServiceMergeList

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

VirtualServiceMergeList contains a list of VirtualServiceMerge

func (*VirtualServiceMergeList) DeepCopy

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

func (*VirtualServiceMergeList) DeepCopyInto

func (in *VirtualServiceMergeList) DeepCopyInto(out *VirtualServiceMergeList)

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

func (*VirtualServiceMergeList) DeepCopyObject

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

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

type VirtualServiceMergeSpec

type VirtualServiceMergeSpec struct {

	// +kubebuilder:validation:Required
	Target Target `json:"target"`
	// +kubebuilder:validation:Required
	Patch networkingv1alpha3.VirtualService `json:"patch"`
}

VirtualServiceMergeSpec defines the desired state of VirtualServiceMerge

func (*VirtualServiceMergeSpec) DeepCopy

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

func (*VirtualServiceMergeSpec) DeepCopyInto

func (in *VirtualServiceMergeSpec) DeepCopyInto(out *VirtualServiceMergeSpec)

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

type VirtualServicePatchStatus

type VirtualServicePatchStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	HandledRevision string `json:"HandledRevision,omitempty"`
}

VirtualServicePatchStatus defines the observed state of VirtualServiceMerge

func (*VirtualServicePatchStatus) DeepCopy

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

func (*VirtualServicePatchStatus) DeepCopyInto

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

Jump to

Keyboard shortcuts

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