v1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 6 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=mesh.config.tkestack.io

Index

Constants

View Source
const GroupName = "mesh.config.tkestack.io"

GroupName is the group name use in this package.

Variables

View Source
var (
	// SchemeBuilder collects functions that add things to a scheme.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme applies all the stored functions to the scheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_config_Components_To_v1_Components

func Convert_config_Components_To_v1_Components(in *config.Components, out *Components, s conversion.Scope) error

Convert_config_Components_To_v1_Components is an autogenerated conversion function.

func Convert_config_IstioGateway_To_v1_IstioGateway

func Convert_config_IstioGateway_To_v1_IstioGateway(in *config.IstioGateway, out *IstioGateway, s conversion.Scope) error

Convert_config_IstioGateway_To_v1_IstioGateway is an autogenerated conversion function.

func Convert_config_IstioLabelSelector_To_v1_IstioLabelSelector

func Convert_config_IstioLabelSelector_To_v1_IstioLabelSelector(in *config.IstioLabelSelector, out *IstioLabelSelector, s conversion.Scope) error

Convert_config_IstioLabelSelector_To_v1_IstioLabelSelector is an autogenerated conversion function.

func Convert_config_Istio_To_v1_Istio

func Convert_config_Istio_To_v1_Istio(in *config.Istio, out *Istio, s conversion.Scope) error

Convert_config_Istio_To_v1_Istio is an autogenerated conversion function.

func Convert_config_MeshConfiguration_To_v1_MeshConfiguration

func Convert_config_MeshConfiguration_To_v1_MeshConfiguration(in *config.MeshConfiguration, out *MeshConfiguration, s conversion.Scope) error

Convert_config_MeshConfiguration_To_v1_MeshConfiguration is an autogenerated conversion function.

func Convert_config_MeshManagerConfig_To_v1_MeshManagerConfig

func Convert_config_MeshManagerConfig_To_v1_MeshManagerConfig(in *config.MeshManagerConfig, out *MeshManagerConfig, s conversion.Scope) error

Convert_config_MeshManagerConfig_To_v1_MeshManagerConfig is an autogenerated conversion function.

func Convert_config_Region_To_v1_Region

func Convert_config_Region_To_v1_Region(in *config.Region, out *Region, s conversion.Scope) error

Convert_config_Region_To_v1_Region is an autogenerated conversion function.

func Convert_v1_Components_To_config_Components

func Convert_v1_Components_To_config_Components(in *Components, out *config.Components, s conversion.Scope) error

Convert_v1_Components_To_config_Components is an autogenerated conversion function.

func Convert_v1_IstioGateway_To_config_IstioGateway

func Convert_v1_IstioGateway_To_config_IstioGateway(in *IstioGateway, out *config.IstioGateway, s conversion.Scope) error

Convert_v1_IstioGateway_To_config_IstioGateway is an autogenerated conversion function.

func Convert_v1_IstioLabelSelector_To_config_IstioLabelSelector

func Convert_v1_IstioLabelSelector_To_config_IstioLabelSelector(in *IstioLabelSelector, out *config.IstioLabelSelector, s conversion.Scope) error

Convert_v1_IstioLabelSelector_To_config_IstioLabelSelector is an autogenerated conversion function.

func Convert_v1_Istio_To_config_Istio

func Convert_v1_Istio_To_config_Istio(in *Istio, out *config.Istio, s conversion.Scope) error

Convert_v1_Istio_To_config_Istio is an autogenerated conversion function.

func Convert_v1_MeshConfiguration_To_config_MeshConfiguration

func Convert_v1_MeshConfiguration_To_config_MeshConfiguration(in *MeshConfiguration, out *config.MeshConfiguration, s conversion.Scope) error

Convert_v1_MeshConfiguration_To_config_MeshConfiguration is an autogenerated conversion function.

func Convert_v1_MeshManagerConfig_To_config_MeshManagerConfig

func Convert_v1_MeshManagerConfig_To_config_MeshManagerConfig(in *MeshManagerConfig, out *config.MeshManagerConfig, s conversion.Scope) error

Convert_v1_MeshManagerConfig_To_config_MeshManagerConfig is an autogenerated conversion function.

func Convert_v1_Region_To_config_Region

func Convert_v1_Region_To_config_Region(in *Region, out *config.Region, s conversion.Scope) error

Convert_v1_Region_To_config_Region 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 RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a LocalGroup qualified GroupResource

Types

type Components

type Components struct {
	MeshManager *MeshManagerConfig `json:"meshManager"`
}

func (*Components) DeepCopy

func (in *Components) DeepCopy() *Components

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

func (*Components) DeepCopyInto

func (in *Components) DeepCopyInto(out *Components)

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

type Istio

type Istio struct {
	SupportedVersion []string `json:"supportedVersion"`
	// LabelSelector    *IstioLabelSelector `json:"labelSelector"`
	Gateway *IstioGateway `json:"gateway"`
}

func (*Istio) DeepCopy

func (in *Istio) DeepCopy() *Istio

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

func (*Istio) DeepCopyInto

func (in *Istio) DeepCopyInto(out *Istio)

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

type IstioGateway

type IstioGateway struct {
	DefaultHttpPort int `json:"defaultHttpPort"`
}

func (*IstioGateway) DeepCopy

func (in *IstioGateway) DeepCopy() *IstioGateway

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

func (*IstioGateway) DeepCopyInto

func (in *IstioGateway) DeepCopyInto(out *IstioGateway)

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

type IstioLabelSelector

type IstioLabelSelector struct {
	AppRuntime string `json:"appRuntime"`
	AppRelease string `json:"appRelease"`
}

func (*IstioLabelSelector) DeepCopy

func (in *IstioLabelSelector) DeepCopy() *IstioLabelSelector

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

func (*IstioLabelSelector) DeepCopyInto

func (in *IstioLabelSelector) DeepCopyInto(out *IstioLabelSelector)

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

type MeshConfiguration

type MeshConfiguration struct {
	metav1.TypeMeta `json:",inline"`

	Region     Region     `json:"region"`
	Istio      Istio      `json:"istio"`
	Components Components `json:"components"`
}

MeshConfiguration contains the configuration for the Mesh

func (*MeshConfiguration) DeepCopy

func (in *MeshConfiguration) DeepCopy() *MeshConfiguration

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

func (*MeshConfiguration) DeepCopyInto

func (in *MeshConfiguration) DeepCopyInto(out *MeshConfiguration)

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

func (*MeshConfiguration) DeepCopyObject

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

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

type MeshManagerConfig

type MeshManagerConfig struct {
	// +optional
	Address string `json:"address"`
}

func (*MeshManagerConfig) DeepCopy

func (in *MeshManagerConfig) DeepCopy() *MeshManagerConfig

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

func (*MeshManagerConfig) DeepCopyInto

func (in *MeshManagerConfig) DeepCopyInto(out *MeshManagerConfig)

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

type Region

type Region struct {
	Name string `json:"name"`
}

func (*Region) DeepCopy

func (in *Region) DeepCopy() *Region

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

func (*Region) DeepCopyInto

func (in *Region) DeepCopyInto(out *Region)

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