v1alpha1

package
v0.0.0-...-dfc9681 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Overview

+k8s:conversion-gen=maistra.io/api/core/v1alpha1 +k8s:conversion-gen-external-types=maistra.io/api/core/v1

Package v1alpha1 contains API Schema definitions for the maistra.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=maistra.io

Index

Constants

View Source
const (
	FilterPhasePreAuthN  = "PreAuthN"
	FilterPhasePostAuthN = "PostAuthN"
	FilterPhasePreAuthZ  = "PreAuthZ"
	FilterPhasePostAuthZ = "PostAuthZ"
	FilterPhasePreStats  = "PreStats"
	FilterPhasePostStats = "PostStats"
)
View Source
const (
	// Key used in v1's Spec.Config map to store the raw string value from v1alpha1's Spec.Config field when the conversion is not successfull
	RawV1Alpha1Config = "raw_v1alpha1_config"
)

Variables

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

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

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

Functions

func Convert_v1_DeploymentStatus_To_v1alpha1_DeploymentStatus

func Convert_v1_DeploymentStatus_To_v1alpha1_DeploymentStatus(in *v1.DeploymentStatus, out *DeploymentStatus, s conversion.Scope) error

Convert_v1_DeploymentStatus_To_v1alpha1_DeploymentStatus is an autogenerated conversion function.

func Convert_v1_ServiceMeshExtensionList_To_v1alpha1_ServiceMeshExtensionList

func Convert_v1_ServiceMeshExtensionList_To_v1alpha1_ServiceMeshExtensionList(in *v1.ServiceMeshExtensionList, out *ServiceMeshExtensionList, s conversion.Scope) error

Convert_v1_ServiceMeshExtensionList_To_v1alpha1_ServiceMeshExtensionList is an autogenerated conversion function.

func Convert_v1_ServiceMeshExtensionSpec_To_v1alpha1_ServiceMeshExtensionSpec

func Convert_v1_ServiceMeshExtensionSpec_To_v1alpha1_ServiceMeshExtensionSpec(src *v1.ServiceMeshExtensionSpec, dst *ServiceMeshExtensionSpec, scope apiconversion.Scope) error

func Convert_v1_ServiceMeshExtensionStatus_To_v1alpha1_ServiceMeshExtensionStatus

func Convert_v1_ServiceMeshExtensionStatus_To_v1alpha1_ServiceMeshExtensionStatus(in *v1.ServiceMeshExtensionStatus, out *ServiceMeshExtensionStatus, s conversion.Scope) error

Convert_v1_ServiceMeshExtensionStatus_To_v1alpha1_ServiceMeshExtensionStatus is an autogenerated conversion function.

func Convert_v1_ServiceMeshExtension_To_v1alpha1_ServiceMeshExtension

func Convert_v1_ServiceMeshExtension_To_v1alpha1_ServiceMeshExtension(in *v1.ServiceMeshExtension, out *ServiceMeshExtension, s conversion.Scope) error

Convert_v1_ServiceMeshExtension_To_v1alpha1_ServiceMeshExtension is an autogenerated conversion function.

func Convert_v1_WorkloadSelector_To_v1alpha1_WorkloadSelector

func Convert_v1_WorkloadSelector_To_v1alpha1_WorkloadSelector(in *v1.WorkloadSelector, out *WorkloadSelector, s conversion.Scope) error

Convert_v1_WorkloadSelector_To_v1alpha1_WorkloadSelector is an autogenerated conversion function.

func Convert_v1alpha1_DeploymentStatus_To_v1_DeploymentStatus

func Convert_v1alpha1_DeploymentStatus_To_v1_DeploymentStatus(in *DeploymentStatus, out *v1.DeploymentStatus, s conversion.Scope) error

Convert_v1alpha1_DeploymentStatus_To_v1_DeploymentStatus is an autogenerated conversion function.

func Convert_v1alpha1_ServiceMeshExtensionList_To_v1_ServiceMeshExtensionList

func Convert_v1alpha1_ServiceMeshExtensionList_To_v1_ServiceMeshExtensionList(in *ServiceMeshExtensionList, out *v1.ServiceMeshExtensionList, s conversion.Scope) error

Convert_v1alpha1_ServiceMeshExtensionList_To_v1_ServiceMeshExtensionList is an autogenerated conversion function.

func Convert_v1alpha1_ServiceMeshExtensionSpec_To_v1_ServiceMeshExtensionSpec

func Convert_v1alpha1_ServiceMeshExtensionSpec_To_v1_ServiceMeshExtensionSpec(src *ServiceMeshExtensionSpec, dst *v1.ServiceMeshExtensionSpec, scope apiconversion.Scope) error

func Convert_v1alpha1_ServiceMeshExtensionStatus_To_v1_ServiceMeshExtensionStatus

func Convert_v1alpha1_ServiceMeshExtensionStatus_To_v1_ServiceMeshExtensionStatus(in *ServiceMeshExtensionStatus, out *v1.ServiceMeshExtensionStatus, s conversion.Scope) error

Convert_v1alpha1_ServiceMeshExtensionStatus_To_v1_ServiceMeshExtensionStatus is an autogenerated conversion function.

func Convert_v1alpha1_ServiceMeshExtension_To_v1_ServiceMeshExtension

func Convert_v1alpha1_ServiceMeshExtension_To_v1_ServiceMeshExtension(in *ServiceMeshExtension, out *v1.ServiceMeshExtension, s conversion.Scope) error

Convert_v1alpha1_ServiceMeshExtension_To_v1_ServiceMeshExtension is an autogenerated conversion function.

func Convert_v1alpha1_WorkloadSelector_To_v1_WorkloadSelector

func Convert_v1alpha1_WorkloadSelector_To_v1_WorkloadSelector(in *WorkloadSelector, out *v1.WorkloadSelector, s conversion.Scope) error

Convert_v1alpha1_WorkloadSelector_To_v1_WorkloadSelector is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type DeploymentStatus

type DeploymentStatus struct {
	Ready           bool   `json:"ready,omitempty"`
	ContainerSHA256 string `json:"containerSha256,omitempty"`
	SHA256          string `json:"sha256,omitempty"`
	URL             string `json:"url,omitempty"`
	Message         string `json:"message,omitempty"`
}

func (*DeploymentStatus) DeepCopy

func (in *DeploymentStatus) DeepCopy() *DeploymentStatus

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

func (*DeploymentStatus) DeepCopyInto

func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus)

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

type FilterPhase

type FilterPhase string

FilterPhase defines point of injection of Envoy filter

type ServiceMeshExtension

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

	Spec   ServiceMeshExtensionSpec   `json:"spec,omitempty"`
	Status ServiceMeshExtensionStatus `json:"status,omitempty"`
}

ServiceMeshExtension is the Schema for the servicemeshextensions API

func (*ServiceMeshExtension) ConvertFrom

func (dst *ServiceMeshExtension) ConvertFrom(srcRaw conversion.Hub) error

ConvertFrom converts from the Hub version (v1) to this version.

func (*ServiceMeshExtension) ConvertTo

func (src *ServiceMeshExtension) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts this SME to the Hub version (v1)

func (*ServiceMeshExtension) DeepCopy

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

func (*ServiceMeshExtension) DeepCopyInto

func (in *ServiceMeshExtension) DeepCopyInto(out *ServiceMeshExtension)

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

func (*ServiceMeshExtension) DeepCopyObject

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

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

type ServiceMeshExtensionList

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

ServiceMeshExtensionList contains a list of ServiceMeshExtension

func (*ServiceMeshExtensionList) DeepCopy

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

func (*ServiceMeshExtensionList) DeepCopyInto

func (in *ServiceMeshExtensionList) DeepCopyInto(out *ServiceMeshExtensionList)

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

func (*ServiceMeshExtensionList) DeepCopyObject

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

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

type ServiceMeshExtensionSpec

type ServiceMeshExtensionSpec struct {
	Image            string                        `json:"image,omitempty"`
	ImagePullPolicy  corev1.PullPolicy             `json:"imagePullPolicy,omitempty"`
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
	WorkloadSelector WorkloadSelector              `json:"workloadSelector,omitempty"`
	Phase            *FilterPhase                  `json:"phase"`
	Priority         *int                          `json:"priority,omitempty"`
	Config           string                        `json:"config,omitempty"`
}

ServiceMeshExtensionSpec defines the desired state of ServiceMeshExtension

func (*ServiceMeshExtensionSpec) DeepCopy

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

func (*ServiceMeshExtensionSpec) DeepCopyInto

func (in *ServiceMeshExtensionSpec) DeepCopyInto(out *ServiceMeshExtensionSpec)

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

type ServiceMeshExtensionStatus

type ServiceMeshExtensionStatus struct {
	Phase              FilterPhase      `json:"phase,omitempty"`
	Priority           int              `json:"priority,omitempty"`
	ObservedGeneration int64            `json:"observedGeneration,omitempty"`
	Deployment         DeploymentStatus `json:"deployment,omitempty"`
}

ServiceMeshExtensionStatus defines the observed state of ServiceMeshExtension

func (*ServiceMeshExtensionStatus) DeepCopy

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

func (*ServiceMeshExtensionStatus) DeepCopyInto

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

type WorkloadSelector

type WorkloadSelector struct {
	Labels map[string]string `json:"labels"`
}

WorkloadSelector is used to match workloads based on pod labels

func (*WorkloadSelector) DeepCopy

func (in *WorkloadSelector) DeepCopy() *WorkloadSelector

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

func (*WorkloadSelector) DeepCopyInto

func (in *WorkloadSelector) DeepCopyInto(out *WorkloadSelector)

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