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: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

GroupName is the group name use in this package.

View Source
const Version = "v1"

Version is the version name use in this package.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
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: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func AddFieldLabelConversionsForMeshManager

func AddFieldLabelConversionsForMeshManager(scheme *runtime.Scheme) error

AddFieldLabelConversionsForMeshManager adds a conversion function to convert field selectors of MeshManager from the given version to internal version representation.

func Convert_mesh_ConfigMapList_To_v1_ConfigMapList

func Convert_mesh_ConfigMapList_To_v1_ConfigMapList(in *mesh.ConfigMapList, out *ConfigMapList, s conversion.Scope) error

Convert_mesh_ConfigMapList_To_v1_ConfigMapList is an autogenerated conversion function.

func Convert_mesh_ConfigMap_To_v1_ConfigMap

func Convert_mesh_ConfigMap_To_v1_ConfigMap(in *mesh.ConfigMap, out *ConfigMap, s conversion.Scope) error

Convert_mesh_ConfigMap_To_v1_ConfigMap is an autogenerated conversion function.

func Convert_mesh_DataBase_To_v1_DataBase

func Convert_mesh_DataBase_To_v1_DataBase(in *mesh.DataBase, out *DataBase, s conversion.Scope) error

Convert_mesh_DataBase_To_v1_DataBase is an autogenerated conversion function.

func Convert_mesh_MeshManagerList_To_v1_MeshManagerList

func Convert_mesh_MeshManagerList_To_v1_MeshManagerList(in *mesh.MeshManagerList, out *MeshManagerList, s conversion.Scope) error

Convert_mesh_MeshManagerList_To_v1_MeshManagerList is an autogenerated conversion function.

func Convert_mesh_MeshManagerSpec_To_v1_MeshManagerSpec

func Convert_mesh_MeshManagerSpec_To_v1_MeshManagerSpec(in *mesh.MeshManagerSpec, out *MeshManagerSpec, s conversion.Scope) error

Convert_mesh_MeshManagerSpec_To_v1_MeshManagerSpec is an autogenerated conversion function.

func Convert_mesh_MeshManagerStatus_To_v1_MeshManagerStatus

func Convert_mesh_MeshManagerStatus_To_v1_MeshManagerStatus(in *mesh.MeshManagerStatus, out *MeshManagerStatus, s conversion.Scope) error

Convert_mesh_MeshManagerStatus_To_v1_MeshManagerStatus is an autogenerated conversion function.

func Convert_mesh_MeshManager_To_v1_MeshManager

func Convert_mesh_MeshManager_To_v1_MeshManager(in *mesh.MeshManager, out *MeshManager, s conversion.Scope) error

Convert_mesh_MeshManager_To_v1_MeshManager is an autogenerated conversion function.

func Convert_mesh_StorageBackend_To_v1_StorageBackend

func Convert_mesh_StorageBackend_To_v1_StorageBackend(in *mesh.StorageBackend, out *StorageBackend, s conversion.Scope) error

Convert_mesh_StorageBackend_To_v1_StorageBackend is an autogenerated conversion function.

func Convert_v1_ConfigMapList_To_mesh_ConfigMapList

func Convert_v1_ConfigMapList_To_mesh_ConfigMapList(in *ConfigMapList, out *mesh.ConfigMapList, s conversion.Scope) error

Convert_v1_ConfigMapList_To_mesh_ConfigMapList is an autogenerated conversion function.

func Convert_v1_ConfigMap_To_mesh_ConfigMap

func Convert_v1_ConfigMap_To_mesh_ConfigMap(in *ConfigMap, out *mesh.ConfigMap, s conversion.Scope) error

Convert_v1_ConfigMap_To_mesh_ConfigMap is an autogenerated conversion function.

func Convert_v1_DataBase_To_mesh_DataBase

func Convert_v1_DataBase_To_mesh_DataBase(in *DataBase, out *mesh.DataBase, s conversion.Scope) error

Convert_v1_DataBase_To_mesh_DataBase is an autogenerated conversion function.

func Convert_v1_MeshManagerList_To_mesh_MeshManagerList

func Convert_v1_MeshManagerList_To_mesh_MeshManagerList(in *MeshManagerList, out *mesh.MeshManagerList, s conversion.Scope) error

Convert_v1_MeshManagerList_To_mesh_MeshManagerList is an autogenerated conversion function.

func Convert_v1_MeshManagerSpec_To_mesh_MeshManagerSpec

func Convert_v1_MeshManagerSpec_To_mesh_MeshManagerSpec(in *MeshManagerSpec, out *mesh.MeshManagerSpec, s conversion.Scope) error

Convert_v1_MeshManagerSpec_To_mesh_MeshManagerSpec is an autogenerated conversion function.

func Convert_v1_MeshManagerStatus_To_mesh_MeshManagerStatus

func Convert_v1_MeshManagerStatus_To_mesh_MeshManagerStatus(in *MeshManagerStatus, out *mesh.MeshManagerStatus, s conversion.Scope) error

Convert_v1_MeshManagerStatus_To_mesh_MeshManagerStatus is an autogenerated conversion function.

func Convert_v1_MeshManager_To_mesh_MeshManager

func Convert_v1_MeshManager_To_mesh_MeshManager(in *MeshManager, out *mesh.MeshManager, s conversion.Scope) error

Convert_v1_MeshManager_To_mesh_MeshManager is an autogenerated conversion function.

func Convert_v1_StorageBackend_To_mesh_StorageBackend

func Convert_v1_StorageBackend_To_mesh_StorageBackend(in *StorageBackend, out *mesh.StorageBackend, s conversion.Scope) error

Convert_v1_StorageBackend_To_mesh_StorageBackend 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

func SetDefaults_ConfigMap

func SetDefaults_ConfigMap(obj *ConfigMap)

func SetDefaults_MeshManagerStatus

func SetDefaults_MeshManagerStatus(obj *MeshManagerStatus)

func SetObjectDefaults_ConfigMap

func SetObjectDefaults_ConfigMap(in *ConfigMap)

func SetObjectDefaults_ConfigMapList

func SetObjectDefaults_ConfigMapList(in *ConfigMapList)

func SetObjectDefaults_MeshManager

func SetObjectDefaults_MeshManager(in *MeshManager)

func SetObjectDefaults_MeshManagerList

func SetObjectDefaults_MeshManagerList(in *MeshManagerList)

Types

type AddonPhase

type AddonPhase string

AddonPhase defines the phase of mesh constructor.

const (
	// AddonPhaseInitializing means is wait initializing.
	AddonPhaseInitializing AddonPhase = "Initializing"
	// AddonPhaseReinitializing means is reinitializing.
	AddonPhaseReinitializing AddonPhase = "Reinitializing"
	// AddonPhaseChecking means is wait checking.
	AddonPhaseChecking AddonPhase = "Checking"
	// AddonPhaseRunning means is running.
	AddonPhaseRunning AddonPhase = "Running"
	// AddonPhaseUpgrading means is upgrading.
	AddonPhaseUpgrading AddonPhase = "Upgrading"
	// AddonPhaseFailed means has been failed.
	AddonPhaseFailed AddonPhase = "Failed"
)

type ConfigMap

type ConfigMap struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Data contains the configuration data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// Values with non-UTF-8 byte sequences must use the BinaryData field.
	// The keys stored in Data must not overlap with the keys in
	// the BinaryData field, this is enforced during validation process.
	// +optional
	Data map[string]string `json:"data,omitempty" protobuf:"bytes,2,rep,name=data"`

	// BinaryData contains the binary data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// BinaryData can contain byte sequences that are not in the UTF-8 range.
	// The keys stored in BinaryData must not overlap with the ones in
	// the Data field, this is enforced during validation process.
	// +optional
	BinaryData map[string][]byte `json:"binaryData,omitempty" protobuf:"bytes,3,rep,name=binaryData"`
}

ConfigMap holds configuration data for tke to consume.

func (*ConfigMap) DeepCopy

func (in *ConfigMap) DeepCopy() *ConfigMap

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

func (*ConfigMap) DeepCopyInto

func (in *ConfigMap) DeepCopyInto(out *ConfigMap)

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

func (*ConfigMap) DeepCopyObject

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

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

func (*ConfigMap) Descriptor

func (*ConfigMap) Descriptor() ([]byte, []int)

func (*ConfigMap) Marshal

func (m *ConfigMap) Marshal() (dAtA []byte, err error)

func (*ConfigMap) MarshalTo

func (m *ConfigMap) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMap) MarshalToSizedBuffer

func (m *ConfigMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMap) ProtoMessage

func (*ConfigMap) ProtoMessage()

func (*ConfigMap) Reset

func (m *ConfigMap) Reset()

func (*ConfigMap) Size

func (m *ConfigMap) Size() (n int)

func (*ConfigMap) String

func (this *ConfigMap) String() string

func (ConfigMap) SwaggerDoc

func (ConfigMap) SwaggerDoc() map[string]string

func (*ConfigMap) Unmarshal

func (m *ConfigMap) Unmarshal(dAtA []byte) error

func (*ConfigMap) XXX_DiscardUnknown

func (m *ConfigMap) XXX_DiscardUnknown()

func (*ConfigMap) XXX_Marshal

func (m *ConfigMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMap) XXX_Merge

func (m *ConfigMap) XXX_Merge(src proto.Message)

func (*ConfigMap) XXX_Size

func (m *ConfigMap) XXX_Size() int

func (*ConfigMap) XXX_Unmarshal

func (m *ConfigMap) XXX_Unmarshal(b []byte) error

type ConfigMapList

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

	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of ConfigMaps.
	Items []ConfigMap `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ConfigMapList is a resource containing a list of ConfigMap objects.

func (*ConfigMapList) DeepCopy

func (in *ConfigMapList) DeepCopy() *ConfigMapList

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

func (*ConfigMapList) DeepCopyInto

func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList)

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

func (*ConfigMapList) DeepCopyObject

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

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

func (*ConfigMapList) Descriptor

func (*ConfigMapList) Descriptor() ([]byte, []int)

func (*ConfigMapList) Marshal

func (m *ConfigMapList) Marshal() (dAtA []byte, err error)

func (*ConfigMapList) MarshalTo

func (m *ConfigMapList) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapList) MarshalToSizedBuffer

func (m *ConfigMapList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapList) ProtoMessage

func (*ConfigMapList) ProtoMessage()

func (*ConfigMapList) Reset

func (m *ConfigMapList) Reset()

func (*ConfigMapList) Size

func (m *ConfigMapList) Size() (n int)

func (*ConfigMapList) String

func (this *ConfigMapList) String() string

func (ConfigMapList) SwaggerDoc

func (ConfigMapList) SwaggerDoc() map[string]string

func (*ConfigMapList) Unmarshal

func (m *ConfigMapList) Unmarshal(dAtA []byte) error

func (*ConfigMapList) XXX_DiscardUnknown

func (m *ConfigMapList) XXX_DiscardUnknown()

func (*ConfigMapList) XXX_Marshal

func (m *ConfigMapList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapList) XXX_Merge

func (m *ConfigMapList) XXX_Merge(src proto.Message)

func (*ConfigMapList) XXX_Size

func (m *ConfigMapList) XXX_Size() int

func (*ConfigMapList) XXX_Unmarshal

func (m *ConfigMapList) XXX_Unmarshal(b []byte) error

type DataBase

type DataBase struct {
	Host     string `json:"host" protobuf:"bytes,1,opt,name=host"`
	Port     int32  `json:"port" protobuf:"varint,2,opt,name=port"`
	UserName string `json:"userName" protobuf:"bytes,3,opt,name=userName"`
	Password string `json:"password" protobuf:"bytes,4,opt,name=password"`
	DbName   string `json:"dbName" protobuf:"bytes,5,opt,name=dbName"`
}

Database describes the attributes of a MeshManager.

func (*DataBase) DeepCopy

func (in *DataBase) DeepCopy() *DataBase

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

func (*DataBase) DeepCopyInto

func (in *DataBase) DeepCopyInto(out *DataBase)

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

func (*DataBase) Descriptor

func (*DataBase) Descriptor() ([]byte, []int)

func (*DataBase) Marshal

func (m *DataBase) Marshal() (dAtA []byte, err error)

func (*DataBase) MarshalTo

func (m *DataBase) MarshalTo(dAtA []byte) (int, error)

func (*DataBase) MarshalToSizedBuffer

func (m *DataBase) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DataBase) ProtoMessage

func (*DataBase) ProtoMessage()

func (*DataBase) Reset

func (m *DataBase) Reset()

func (*DataBase) Size

func (m *DataBase) Size() (n int)

func (*DataBase) String

func (this *DataBase) String() string

func (DataBase) SwaggerDoc

func (DataBase) SwaggerDoc() map[string]string

func (*DataBase) Unmarshal

func (m *DataBase) Unmarshal(dAtA []byte) error

func (*DataBase) XXX_DiscardUnknown

func (m *DataBase) XXX_DiscardUnknown()

func (*DataBase) XXX_Marshal

func (m *DataBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DataBase) XXX_Merge

func (m *DataBase) XXX_Merge(src proto.Message)

func (*DataBase) XXX_Size

func (m *DataBase) XXX_Size() int

func (*DataBase) XXX_Unmarshal

func (m *DataBase) XXX_Unmarshal(b []byte) error

type MeshManager

type MeshManager struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the desired identities of MeshManager.
	// +optional
	Spec MeshManagerSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// +optional
	Status MeshManagerStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

MeshManager is a manager to manager mesh clusters.

func (*MeshManager) DeepCopy

func (in *MeshManager) DeepCopy() *MeshManager

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

func (*MeshManager) DeepCopyInto

func (in *MeshManager) DeepCopyInto(out *MeshManager)

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

func (*MeshManager) DeepCopyObject

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

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

func (*MeshManager) Descriptor

func (*MeshManager) Descriptor() ([]byte, []int)

func (*MeshManager) Marshal

func (m *MeshManager) Marshal() (dAtA []byte, err error)

func (*MeshManager) MarshalTo

func (m *MeshManager) MarshalTo(dAtA []byte) (int, error)

func (*MeshManager) MarshalToSizedBuffer

func (m *MeshManager) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MeshManager) ProtoMessage

func (*MeshManager) ProtoMessage()

func (*MeshManager) Reset

func (m *MeshManager) Reset()

func (*MeshManager) Size

func (m *MeshManager) Size() (n int)

func (*MeshManager) String

func (this *MeshManager) String() string

func (MeshManager) SwaggerDoc

func (MeshManager) SwaggerDoc() map[string]string

func (*MeshManager) Unmarshal

func (m *MeshManager) Unmarshal(dAtA []byte) error

func (*MeshManager) XXX_DiscardUnknown

func (m *MeshManager) XXX_DiscardUnknown()

func (*MeshManager) XXX_Marshal

func (m *MeshManager) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MeshManager) XXX_Merge

func (m *MeshManager) XXX_Merge(src proto.Message)

func (*MeshManager) XXX_Size

func (m *MeshManager) XXX_Size() int

func (*MeshManager) XXX_Unmarshal

func (m *MeshManager) XXX_Unmarshal(b []byte) error

type MeshManagerList

type MeshManagerList struct {
	metav1.TypeMeta `json:",inline"`
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// List of volume decorators.
	Items []MeshManager `json:"items" protobuf:"bytes,2,rep,name=items"`
}

MeshManagerList is the whole list of all meshmanagers which owned by a tenant.

func (*MeshManagerList) DeepCopy

func (in *MeshManagerList) DeepCopy() *MeshManagerList

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

func (*MeshManagerList) DeepCopyInto

func (in *MeshManagerList) DeepCopyInto(out *MeshManagerList)

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

func (*MeshManagerList) DeepCopyObject

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

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

func (*MeshManagerList) Descriptor

func (*MeshManagerList) Descriptor() ([]byte, []int)

func (*MeshManagerList) Marshal

func (m *MeshManagerList) Marshal() (dAtA []byte, err error)

func (*MeshManagerList) MarshalTo

func (m *MeshManagerList) MarshalTo(dAtA []byte) (int, error)

func (*MeshManagerList) MarshalToSizedBuffer

func (m *MeshManagerList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MeshManagerList) ProtoMessage

func (*MeshManagerList) ProtoMessage()

func (*MeshManagerList) Reset

func (m *MeshManagerList) Reset()

func (*MeshManagerList) Size

func (m *MeshManagerList) Size() (n int)

func (*MeshManagerList) String

func (this *MeshManagerList) String() string

func (MeshManagerList) SwaggerDoc

func (MeshManagerList) SwaggerDoc() map[string]string

func (*MeshManagerList) Unmarshal

func (m *MeshManagerList) Unmarshal(dAtA []byte) error

func (*MeshManagerList) XXX_DiscardUnknown

func (m *MeshManagerList) XXX_DiscardUnknown()

func (*MeshManagerList) XXX_Marshal

func (m *MeshManagerList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MeshManagerList) XXX_Merge

func (m *MeshManagerList) XXX_Merge(src proto.Message)

func (*MeshManagerList) XXX_Size

func (m *MeshManagerList) XXX_Size() int

func (*MeshManagerList) XXX_Unmarshal

func (m *MeshManagerList) XXX_Unmarshal(b []byte) error

type MeshManagerSpec

type MeshManagerSpec struct {
	TenantID              string          `json:"tenantID" protobuf:"bytes,1,opt,name=tenantID"`
	ClusterName           string          `json:"clusterName" protobuf:"bytes,2,opt,name=clusterName"`
	Version               string          `json:"version,omitempty" protobuf:"bytes,3,opt,name=version"`
	DataBase              *DataBase       `json:"dataBase" protobuf:"bytes,4,opt,name=dataBase"`
	TracingStorageBackend *StorageBackend `json:"tracingStorageBackend" protobuf:"bytes,5,opt,name=tracingStorageBackend"`
	MetricStorageBackend  *StorageBackend `json:"metricStorageBackend" protobuf:"bytes,6,opt,name=metricStorageBackend"`
}

MeshManagerSpec describes the attributes of a MeshManager.

func (*MeshManagerSpec) DeepCopy

func (in *MeshManagerSpec) DeepCopy() *MeshManagerSpec

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

func (*MeshManagerSpec) DeepCopyInto

func (in *MeshManagerSpec) DeepCopyInto(out *MeshManagerSpec)

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

func (*MeshManagerSpec) Descriptor

func (*MeshManagerSpec) Descriptor() ([]byte, []int)

func (*MeshManagerSpec) Marshal

func (m *MeshManagerSpec) Marshal() (dAtA []byte, err error)

func (*MeshManagerSpec) MarshalTo

func (m *MeshManagerSpec) MarshalTo(dAtA []byte) (int, error)

func (*MeshManagerSpec) MarshalToSizedBuffer

func (m *MeshManagerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MeshManagerSpec) ProtoMessage

func (*MeshManagerSpec) ProtoMessage()

func (*MeshManagerSpec) Reset

func (m *MeshManagerSpec) Reset()

func (*MeshManagerSpec) Size

func (m *MeshManagerSpec) Size() (n int)

func (*MeshManagerSpec) String

func (this *MeshManagerSpec) String() string

func (MeshManagerSpec) SwaggerDoc

func (MeshManagerSpec) SwaggerDoc() map[string]string

func (*MeshManagerSpec) Unmarshal

func (m *MeshManagerSpec) Unmarshal(dAtA []byte) error

func (*MeshManagerSpec) XXX_DiscardUnknown

func (m *MeshManagerSpec) XXX_DiscardUnknown()

func (*MeshManagerSpec) XXX_Marshal

func (m *MeshManagerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MeshManagerSpec) XXX_Merge

func (m *MeshManagerSpec) XXX_Merge(src proto.Message)

func (*MeshManagerSpec) XXX_Size

func (m *MeshManagerSpec) XXX_Size() int

func (*MeshManagerSpec) XXX_Unmarshal

func (m *MeshManagerSpec) XXX_Unmarshal(b []byte) error

type MeshManagerStatus

type MeshManagerStatus struct {
	// +optional
	Version string `json:"version,omitempty" protobuf:"bytes,1,opt,name=version"`
	// Phase is the current lifecycle phase of the MeshManager of cluster.
	// +optional
	Phase AddonPhase `json:"phase,omitempty" protobuf:"bytes,2,opt,name=phase"`
	// Reason is a brief CamelCase string that describes any failure.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
	// RetryCount is a int between 0 and 5 that describes the time of retrying initializing.
	// +optional
	RetryCount int32 `json:"retryCount" protobuf:"varint,4,name=retryCount"`
	// LastReInitializingTimestamp is a timestamp that describes the last time of retrying initializing.
	// +optional
	LastReInitializingTimestamp metav1.Time `json:"lastReInitializingTimestamp" protobuf:"bytes,5,name=lastReInitializingTimestamp"`
}

MeshManagerStatus is information about the current status of a MeshManager.

func (*MeshManagerStatus) DeepCopy

func (in *MeshManagerStatus) DeepCopy() *MeshManagerStatus

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

func (*MeshManagerStatus) DeepCopyInto

func (in *MeshManagerStatus) DeepCopyInto(out *MeshManagerStatus)

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

func (*MeshManagerStatus) Descriptor

func (*MeshManagerStatus) Descriptor() ([]byte, []int)

func (*MeshManagerStatus) Marshal

func (m *MeshManagerStatus) Marshal() (dAtA []byte, err error)

func (*MeshManagerStatus) MarshalTo

func (m *MeshManagerStatus) MarshalTo(dAtA []byte) (int, error)

func (*MeshManagerStatus) MarshalToSizedBuffer

func (m *MeshManagerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MeshManagerStatus) ProtoMessage

func (*MeshManagerStatus) ProtoMessage()

func (*MeshManagerStatus) Reset

func (m *MeshManagerStatus) Reset()

func (*MeshManagerStatus) Size

func (m *MeshManagerStatus) Size() (n int)

func (*MeshManagerStatus) String

func (this *MeshManagerStatus) String() string

func (MeshManagerStatus) SwaggerDoc

func (MeshManagerStatus) SwaggerDoc() map[string]string

func (*MeshManagerStatus) Unmarshal

func (m *MeshManagerStatus) Unmarshal(dAtA []byte) error

func (*MeshManagerStatus) XXX_DiscardUnknown

func (m *MeshManagerStatus) XXX_DiscardUnknown()

func (*MeshManagerStatus) XXX_Marshal

func (m *MeshManagerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MeshManagerStatus) XXX_Merge

func (m *MeshManagerStatus) XXX_Merge(src proto.Message)

func (*MeshManagerStatus) XXX_Size

func (m *MeshManagerStatus) XXX_Size() int

func (*MeshManagerStatus) XXX_Unmarshal

func (m *MeshManagerStatus) XXX_Unmarshal(b []byte) error

type StorageBackend

type StorageBackend struct {
	StorageType      string   `json:"storageType" protobuf:"bytes,1,opt,name=storageType"`
	StorageAddresses []string `json:"storageAddresses" protobuf:"bytes,2,rep,name=storageAddresses"`
	// +optional
	QueryAddress string `json:"queryAddress" protobuf:"bytes,3,opt,name=queryAddress"`
	// +optional
	UserName string `json:"userName" protobuf:"bytes,4,opt,name=userName"`
	// +optional
	Password string `json:"password" protobuf:"bytes,5,opt,name=password"`
}

StorageBackend describes the attributes of a backend storage StorageType can be "influxdb","elasticsearch","es","thanos"

func (*StorageBackend) DeepCopy

func (in *StorageBackend) DeepCopy() *StorageBackend

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

func (*StorageBackend) DeepCopyInto

func (in *StorageBackend) DeepCopyInto(out *StorageBackend)

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

func (*StorageBackend) Descriptor

func (*StorageBackend) Descriptor() ([]byte, []int)

func (*StorageBackend) Marshal

func (m *StorageBackend) Marshal() (dAtA []byte, err error)

func (*StorageBackend) MarshalTo

func (m *StorageBackend) MarshalTo(dAtA []byte) (int, error)

func (*StorageBackend) MarshalToSizedBuffer

func (m *StorageBackend) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StorageBackend) ProtoMessage

func (*StorageBackend) ProtoMessage()

func (*StorageBackend) Reset

func (m *StorageBackend) Reset()

func (*StorageBackend) Size

func (m *StorageBackend) Size() (n int)

func (*StorageBackend) String

func (this *StorageBackend) String() string

func (StorageBackend) SwaggerDoc

func (StorageBackend) SwaggerDoc() map[string]string

func (*StorageBackend) Unmarshal

func (m *StorageBackend) Unmarshal(dAtA []byte) error

func (*StorageBackend) XXX_DiscardUnknown

func (m *StorageBackend) XXX_DiscardUnknown()

func (*StorageBackend) XXX_Marshal

func (m *StorageBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StorageBackend) XXX_Merge

func (m *StorageBackend) XXX_Merge(src proto.Message)

func (*StorageBackend) XXX_Size

func (m *StorageBackend) XXX_Size() int

func (*StorageBackend) XXX_Unmarshal

func (m *StorageBackend) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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