Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.skywalking.apache.org
Index ¶
- Constants
- Variables
- func GetBackendService(configuration *map[string]string) string
- func GetServiceName(configuration *map[string]string) string
- type BanyanDB
- func (in *BanyanDB) DeepCopy() *BanyanDB
- func (in *BanyanDB) DeepCopyInto(out *BanyanDB)
- func (in *BanyanDB) DeepCopyObject() runtime.Object
- func (r *BanyanDB) Default()
- func (r *BanyanDB) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *BanyanDB) ValidateCreate() (admission.Warnings, error)
- func (r *BanyanDB) ValidateDelete() (admission.Warnings, error)
- func (r *BanyanDB) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type BanyanDBList
- type BanyanDBSpec
- type BanyanDBStatus
- type Config
- type EventExporter
- func (in *EventExporter) DeepCopy() *EventExporter
- func (in *EventExporter) DeepCopyInto(out *EventExporter)
- func (in *EventExporter) DeepCopyObject() runtime.Object
- func (r *EventExporter) Default()
- func (r *EventExporter) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *EventExporter) ValidateCreate() (admission.Warnings, error)
- func (r *EventExporter) ValidateDelete() (admission.Warnings, error)
- func (r *EventExporter) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type EventExporterList
- type EventExporterSpec
- type EventExporterStatus
- type Fetcher
- func (in *Fetcher) DeepCopy() *Fetcher
- func (in *Fetcher) DeepCopyInto(out *Fetcher)
- func (in *Fetcher) DeepCopyObject() runtime.Object
- func (r *Fetcher) Default()
- func (r *Fetcher) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Fetcher) ValidateCreate() (admission.Warnings, error)
- func (r *Fetcher) ValidateDelete() (admission.Warnings, error)
- func (r *Fetcher) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type FetcherCondition
- type FetcherConditionType
- type FetcherList
- type FetcherSpec
- type FetcherStatus
- type FetcherType
- type FileConfig
- type Ingress
- type JavaAgent
- func (in *JavaAgent) DeepCopy() *JavaAgent
- func (in *JavaAgent) DeepCopyInto(out *JavaAgent)
- func (in *JavaAgent) DeepCopyObject() runtime.Object
- func (r *JavaAgent) Default()
- func (r *JavaAgent) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *JavaAgent) ValidateCreate() (admission.Warnings, error)
- func (r *JavaAgent) ValidateDelete() (admission.Warnings, error)
- func (r *JavaAgent) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type JavaAgentList
- type JavaAgentSpec
- type JavaAgentStatus
- type JavaSidecar
- type OAPServer
- func (in *OAPServer) DeepCopy() *OAPServer
- func (in *OAPServer) DeepCopyInto(out *OAPServer)
- func (in *OAPServer) DeepCopyObject() runtime.Object
- func (r *OAPServer) Default()
- func (r *OAPServer) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *OAPServer) ValidateCreate() (admission.Warnings, error)
- func (r *OAPServer) ValidateDelete() (admission.Warnings, error)
- func (r *OAPServer) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type OAPServerConfig
- func (in *OAPServerConfig) DeepCopy() *OAPServerConfig
- func (in *OAPServerConfig) DeepCopyInto(out *OAPServerConfig)
- func (in *OAPServerConfig) DeepCopyObject() runtime.Object
- func (r *OAPServerConfig) Default()
- func (r *OAPServerConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *OAPServerConfig) ValidateCreate() (admission.Warnings, error)
- func (r *OAPServerConfig) ValidateDelete() (admission.Warnings, error)
- func (r *OAPServerConfig) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type OAPServerConfigList
- type OAPServerConfigSpec
- type OAPServerConfigStatus
- type OAPServerDynamicConfig
- func (in *OAPServerDynamicConfig) DeepCopy() *OAPServerDynamicConfig
- func (in *OAPServerDynamicConfig) DeepCopyInto(out *OAPServerDynamicConfig)
- func (in *OAPServerDynamicConfig) DeepCopyObject() runtime.Object
- func (r *OAPServerDynamicConfig) Default()
- func (r *OAPServerDynamicConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *OAPServerDynamicConfig) ValidateCreate() (admission.Warnings, error)
- func (r *OAPServerDynamicConfig) ValidateDelete() (admission.Warnings, error)
- func (r *OAPServerDynamicConfig) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type OAPServerDynamicConfigList
- type OAPServerDynamicConfigSpec
- type OAPServerDynamicConfigStatus
- type OAPServerList
- type OAPServerSpec
- type OAPServerStatus
- type RelevantStorage
- type Resource
- type Satellite
- func (in *Satellite) DeepCopy() *Satellite
- func (in *Satellite) DeepCopyInto(out *Satellite)
- func (in *Satellite) DeepCopyObject() runtime.Object
- func (r *Satellite) Default()
- func (r *Satellite) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Satellite) ValidateCreate() (admission.Warnings, error)
- func (r *Satellite) ValidateDelete() (admission.Warnings, error)
- func (r *Satellite) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type SatelliteList
- type SatelliteSpec
- type SatelliteStatus
- type SecuritySpec
- type Service
- type ServiceTemplate
- type ServiceType
- type SharedVolume
- type Storage
- func (in *Storage) DeepCopy() *Storage
- func (in *Storage) DeepCopyInto(out *Storage)
- func (in *Storage) DeepCopyObject() runtime.Object
- func (r *Storage) Default()
- func (r *Storage) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Storage) ValidateCreate() (admission.Warnings, error)
- func (r *Storage) ValidateDelete() (admission.Warnings, error)
- func (r *Storage) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type StorageConfig
- type StorageList
- type StorageSpec
- type StorageStatus
- type SwAgent
- func (in *SwAgent) DeepCopy() *SwAgent
- func (in *SwAgent) DeepCopyInto(out *SwAgent)
- func (in *SwAgent) DeepCopyObject() runtime.Object
- func (r *SwAgent) Default()
- func (r *SwAgent) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *SwAgent) ValidateCreate() (admission.Warnings, error)
- func (r *SwAgent) ValidateDelete() (admission.Warnings, error)
- func (r *SwAgent) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type SwAgentList
- type SwAgentSpec
- type SwAgentStatus
- type UI
- func (in *UI) DeepCopy() *UI
- func (in *UI) DeepCopyInto(out *UI)
- func (in *UI) DeepCopyObject() runtime.Object
- func (r *UI) Default()
- func (r *UI) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *UI) ValidateCreate() (admission.Warnings, error)
- func (r *UI) ValidateDelete() (admission.Warnings, error)
- func (r *UI) ValidateUpdate(_ runtime.Object) (admission.Warnings, error)
- type UIList
- type UISpec
- type UIStatus
- type UserSpec
Constants ¶
const ( // the ServiceName and BackendService are important information that need to be printed ServiceName = "agent.service_name" BackendService = "collector.backend_service" )
const (
FetcherTypePrometheus = "prometheus"
)
const (
LabelJavaAgent = "swck-java-agent-injected"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "operator.skywalking.apache.org", 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 ¶
func GetBackendService ¶
func GetServiceName ¶
Types ¶
type BanyanDB ¶
type BanyanDB struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BanyanDBSpec `json:"spec,omitempty"` Status BanyanDBStatus `json:"status,omitempty"` }
BanyanDB is the Schema for the banyandbs API
func (*BanyanDB) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BanyanDB.
func (*BanyanDB) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BanyanDB) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BanyanDB) SetupWebhookWithManager ¶
type BanyanDBList ¶
type BanyanDBList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BanyanDB `json:"items"` }
BanyanDBList contains a list of BanyanDB
func (*BanyanDBList) DeepCopy ¶
func (in *BanyanDBList) DeepCopy() *BanyanDBList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BanyanDBList.
func (*BanyanDBList) DeepCopyInto ¶
func (in *BanyanDBList) DeepCopyInto(out *BanyanDBList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BanyanDBList) DeepCopyObject ¶
func (in *BanyanDBList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BanyanDBSpec ¶
type BanyanDBSpec struct { // Version of BanyanDB. // +kubebuilder:validation:Required Version string `json:"version"` // Number of replicas // +kubebuilder:validation:Required Counts int `json:"counts"` // Pod template of each BanyanDB instance // +kubebuilder:validation:Required Image string `json:"image"` // Pod affinity // +kubebuilder:validation:Optional Affinity corev1.Affinity `json:"affinity"` // BanyanDB startup parameters // +kubebuilder:validation:Optional Config []string `json:"config"` // BanyanDB HTTP Service // +kubebuilder:validation:Optional HTTPSvc Service `json:"httpService,omitempty"` // BanyanDB gRPC Serice // +kubebuilder:validation:Optional GRPCSvc Service `json:"gRPCService,omitempty"` // BanyanDB Storage // +kubebuilder:validation:Optional Storages []StorageConfig `json:"storages,omitempty"` }
BanyanDBSpec defines the desired state of BanyanDB
func (*BanyanDBSpec) DeepCopy ¶
func (in *BanyanDBSpec) DeepCopy() *BanyanDBSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BanyanDBSpec.
func (*BanyanDBSpec) DeepCopyInto ¶
func (in *BanyanDBSpec) DeepCopyInto(out *BanyanDBSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BanyanDBStatus ¶
type BanyanDBStatus struct { AvailableReplicas int32 `json:"available_pods,omitempty"` // Represents the latest available observations of the underlying statefulset's current state. // +kubebuilder:validation:Optional Conditions []appsv1.DeploymentCondition `json:"conditions,omitempty"` }
BanyanDBStatus defines the observed state of BanyanDB
func (*BanyanDBStatus) DeepCopy ¶
func (in *BanyanDBStatus) DeepCopy() *BanyanDBStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BanyanDBStatus.
func (*BanyanDBStatus) DeepCopyInto ¶
func (in *BanyanDBStatus) DeepCopyInto(out *BanyanDBStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Config ¶
type Config struct { // configuration's key Name string `json:"name,omitempty"` // configuration's value Value string `json:"value,omitempty"` }
Config contains the dynamic configuration's key and value
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventExporter ¶
type EventExporter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EventExporterSpec `json:"spec,omitempty"` Status EventExporterStatus `json:"status,omitempty"` }
EventExporter is the Schema for the eventexporters API
func (*EventExporter) DeepCopy ¶
func (in *EventExporter) DeepCopy() *EventExporter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventExporter.
func (*EventExporter) DeepCopyInto ¶
func (in *EventExporter) DeepCopyInto(out *EventExporter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventExporter) DeepCopyObject ¶
func (in *EventExporter) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EventExporter) Default ¶
func (r *EventExporter) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*EventExporter) SetupWebhookWithManager ¶
func (r *EventExporter) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*EventExporter) ValidateCreate ¶
func (r *EventExporter) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*EventExporter) ValidateDelete ¶
func (r *EventExporter) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*EventExporter) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type EventExporterList ¶
type EventExporterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EventExporter `json:"items"` }
EventExporterList contains a list of EventExporter
func (*EventExporterList) DeepCopy ¶
func (in *EventExporterList) DeepCopy() *EventExporterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventExporterList.
func (*EventExporterList) DeepCopyInto ¶
func (in *EventExporterList) DeepCopyInto(out *EventExporterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventExporterList) DeepCopyObject ¶
func (in *EventExporterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventExporterSpec ¶
type EventExporterSpec struct { // Version of EventExporter. // +kubebuilder:validation:Required Version string `json:"version,omitempty"` // Image is the event exporter Docker image to deploy. Image string `json:"image,omitempty"` // Replicas is the number of event exporter pods // +kubebuilder:validation:Required Replicas int32 `json:"replicas,omitempty"` // Config of filters and exporters // +kubebuilder:validation:Optional Config string `json:"config,omitempty"` }
EventExporterSpec defines the desired state of EventExporter
func (*EventExporterSpec) DeepCopy ¶
func (in *EventExporterSpec) DeepCopy() *EventExporterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventExporterSpec.
func (*EventExporterSpec) DeepCopyInto ¶
func (in *EventExporterSpec) DeepCopyInto(out *EventExporterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventExporterStatus ¶
type EventExporterStatus struct { // Total number of available pods targeted by this deployment. // +kubebuilder:validation:Optional AvailableReplicas int32 `json:"availableReplicas,omitempty"` // Represents the latest available observations of the underlying deployment's current state. // +kubebuilder:validation:Optional Conditions []appsv1.DeploymentCondition `json:"conditions,omitempty"` // Name of the configMap. // +kubebuilder:validation:Optional ConfigMapName string `json:"configMapName,omitempty"` }
EventExporterStatus defines the observed state of EventExporter
func (*EventExporterStatus) DeepCopy ¶
func (in *EventExporterStatus) DeepCopy() *EventExporterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventExporterStatus.
func (*EventExporterStatus) DeepCopyInto ¶
func (in *EventExporterStatus) DeepCopyInto(out *EventExporterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Fetcher ¶
type Fetcher struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FetcherSpec `json:"spec,omitempty"` Status FetcherStatus `json:"status,omitempty"` }
Fetcher is the Schema for the fetchers API
func (*Fetcher) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fetcher.
func (*Fetcher) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Fetcher) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Fetcher) Default ¶
func (r *Fetcher) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Fetcher) SetupWebhookWithManager ¶
func (*Fetcher) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Fetcher) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type FetcherCondition ¶
type FetcherCondition struct { // Type of deployment condition. Type FetcherConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=DeploymentConditionType"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,6,opt,name=lastUpdateTime"` // Last time the condition transitioned from one status to another. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,7,opt,name=lastTransitionTime"` // A human readable message indicating details about the transition. Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"` }
FetcherCondition describes the state of a deployment at a certain point.
func (*FetcherCondition) DeepCopy ¶
func (in *FetcherCondition) DeepCopy() *FetcherCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FetcherCondition.
func (*FetcherCondition) DeepCopyInto ¶
func (in *FetcherCondition) DeepCopyInto(out *FetcherCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FetcherConditionType ¶
type FetcherConditionType string
var (
FetcherConditionTypeRead FetcherConditionType = "Ready"
)
type FetcherList ¶
type FetcherList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Fetcher `json:"items"` }
FetcherList contains a list of Fetcher
func (*FetcherList) DeepCopy ¶
func (in *FetcherList) DeepCopy() *FetcherList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FetcherList.
func (*FetcherList) DeepCopyInto ¶
func (in *FetcherList) DeepCopyInto(out *FetcherList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FetcherList) DeepCopyObject ¶
func (in *FetcherList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FetcherSpec ¶
type FetcherSpec struct { // Fetcher is the type of how to fetch metrics from target. // +kubebuilder:validation:Required Type []FetcherType `json:"type,omitempty"` // OAPServerAddress is the address of backend OAPServers // +kubebuilder:validation:Required OAPServerAddress string `json:"OAPServerAddress,omitempty"` // ClusterName // +kubebuilder:validation:Optional ClusterName string `json:"clusterName,omitempty"` }
FetcherSpec defines the desired state of Fetcher
func (*FetcherSpec) DeepCopy ¶
func (in *FetcherSpec) DeepCopy() *FetcherSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FetcherSpec.
func (*FetcherSpec) DeepCopyInto ¶
func (in *FetcherSpec) DeepCopyInto(out *FetcherSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FetcherSpec) GetType ¶
func (f *FetcherSpec) GetType() []string
type FetcherStatus ¶
type FetcherStatus struct { // Replicas is currently not being set and might be removed in the next version. // +kubebuilder:validation:Optional Replicas int32 `json:"replicas,omitempty"` // Represents the latest available observations of a fetcher's current state. // +kubebuilder:validation:Optional Conditions []FetcherCondition `json:"conditions,omitempty"` }
FetcherStatus defines the observed state of Fetcher
func (*FetcherStatus) DeepCopy ¶
func (in *FetcherStatus) DeepCopy() *FetcherStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FetcherStatus.
func (*FetcherStatus) DeepCopyInto ¶
func (in *FetcherStatus) DeepCopyInto(out *FetcherStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FetcherType ¶
type FetcherType string
FetcherType Type string describes ingress methods for a service
type FileConfig ¶
type FileConfig struct { // Name of static file Name string `json:"name,omitempty"` // Path of static file Path string `json:"path,omitempty"` // Data of static file Data string `json:"data,omitempty"` }
FileConfig contains the static file configuration's name, path and data Static files refer to all files in the oap-server's configuration directory (/skywalking/config)
func (*FileConfig) DeepCopy ¶
func (in *FileConfig) DeepCopy() *FileConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileConfig.
func (*FileConfig) DeepCopyInto ¶
func (in *FileConfig) DeepCopyInto(out *FileConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ingress ¶
type Ingress struct { // Annotations is an unstructured key value map stored with a resource that may be // set by external tools to store and retrieve arbitrary metadata. They are not // queryable and should be preserved when modifying objects. // +kubebuilder:validation:Optional Annotations map[string]string `json:"annotations,omitempty"` // Host is the fully qualified domain name of a network host, as defined by RFC 3986. // Note the following deviations from the "host" part of the // URI as defined in RFC 3986 // +kubebuilder:validation:Optional Host string `json:"host,omitempty" protobuf:"bytes,1,opt,name=host"` // IngressClassName is the name of the IngressClass cluster resource. The // associated IngressClass defines which controller will implement the // resource. This replaces the deprecated `kubernetes.io/ingress.class` // annotation. For backwards compatibility, when that annotation is set, it // must be given precedence over this field. The controller may emit a // warning if the field and annotation have different values. // Implementations of this API should ignore Ingresses without a class // specified. An IngressClass resource may be marked as default, which can // be used to set a default value for this field. For more information, // refer to the IngressClass documentation. // +kubebuilder:validation:Optional IngressClassName *string `json:"ingressClassName,omitempty" protobuf:"bytes,4,opt,name=ingressClassName"` // TLS configuration. Currently the Ingress only supports a single TLS // port, 443. If multiple members of this list specify different hosts, they // will be multiplexed on the same port according to the hostname specified // through the SNI TLS extension, if the ingress controller fulfilling the // ingress supports SNI. // +kubebuilder:validation:Optional TLS []networkingv1.IngressTLS `json:"tls,omitempty" protobuf:"bytes,2,rep,name=tls"` }
func (*Ingress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JavaAgent ¶
type JavaAgent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec JavaAgentSpec `json:"spec,omitempty"` Status JavaAgentStatus `json:"status,omitempty"` }
JavaAgent is the Schema for the javaagents API
func (*JavaAgent) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JavaAgent.
func (*JavaAgent) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JavaAgent) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*JavaAgent) Default ¶
func (r *JavaAgent) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*JavaAgent) SetupWebhookWithManager ¶
func (*JavaAgent) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*JavaAgent) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type JavaAgentList ¶
type JavaAgentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []JavaAgent `json:"items"` }
JavaAgentList contains a list of JavaAgent
func (*JavaAgentList) DeepCopy ¶
func (in *JavaAgentList) DeepCopy() *JavaAgentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JavaAgentList.
func (*JavaAgentList) DeepCopyInto ¶
func (in *JavaAgentList) DeepCopyInto(out *JavaAgentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JavaAgentList) DeepCopyObject ¶
func (in *JavaAgentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type JavaAgentSpec ¶
type JavaAgentSpec struct { // PodSelector is the selector label of injected Pod // +kubebuilder:validation:Optional PodSelector string `json:"podSelector,omitempty"` // ServiceName is the name of service in the injected agent, which need to be printed // +kubebuilder:validation:Required ServiceName string `json:"serviceName,omitempty"` // BackendService is the backend service in the injected agent, which need to be printed // +kubebuilder:validation:Required BackendService string `json:"backendService,omitempty"` // AgentConfiguration is the injected agent's final configuration // +kubebuilder:validation:Optional AgentConfiguration map[string]string `json:"agentConfiguration,omitempty"` }
JavaAgentSpec defines the desired state of JavaAgent
func (*JavaAgentSpec) DeepCopy ¶
func (in *JavaAgentSpec) DeepCopy() *JavaAgentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JavaAgentSpec.
func (*JavaAgentSpec) DeepCopyInto ¶
func (in *JavaAgentSpec) DeepCopyInto(out *JavaAgentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JavaAgentStatus ¶
type JavaAgentStatus struct { // The number of pods that need to be injected ExpectedInjectedNum int `json:"expectedInjectiedNum,omitempty"` // The number of pods that injected successfully RealInjectedNum int `json:"realInjectedNum,omitempty"` // The time the JavaAgent was created. CreationTime metav1.Time `json:"creationTime,omitempty"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
JavaAgentStatus defines the observed state of JavaAgent
func (*JavaAgentStatus) DeepCopy ¶
func (in *JavaAgentStatus) DeepCopy() *JavaAgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JavaAgentStatus.
func (*JavaAgentStatus) DeepCopyInto ¶
func (in *JavaAgentStatus) DeepCopyInto(out *JavaAgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JavaSidecar ¶
type JavaSidecar struct { // Name is the name for initContainer. // +kubebuilder:validation:Optional // +kubebuilder:default="inject-skywalking-agent" Name string `json:"name,omitempty"` // Image is the image for initContainer, which commonly contains SkyWalking java agent SDK. // +kubebuilder:validation:Optional // +kubebuilder:default="apache/skywalking-java-agent:8.16.0-java8" Image string `json:"image,omitempty"` // Command is the command for initContainer. // +kubebuilder:validation:Optional // +kubebuilder:default={"mkdir -p /sky/agent && cp -r /skywalking/agent/* /sky/agent"} Command []string `json:"command,omitempty"` // Args is the args for initContainer. // +kubebuilder:validation:Optional Args []string `json:"args,omitempty"` // Resources is the resources for initContainer pod resources // +kubebuilder:validation:Optional Resources corev1.ResourceRequirements `json:"resources,omitempty"` // Env defines java specific env vars. // +kubebuilder:validation:Optional Env []corev1.EnvVar `json:"env,omitempty"` }
Java defines Java agent special configs.
func (*JavaSidecar) DeepCopy ¶
func (in *JavaSidecar) DeepCopy() *JavaSidecar
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JavaSidecar.
func (*JavaSidecar) DeepCopyInto ¶
func (in *JavaSidecar) DeepCopyInto(out *JavaSidecar)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAPServer ¶
type OAPServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OAPServerSpec `json:"spec,omitempty"` Status OAPServerStatus `json:"status,omitempty"` }
OAPServer is the Schema for the oapservers API
func (*OAPServer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServer.
func (*OAPServer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OAPServer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAPServer) Default ¶
func (r *OAPServer) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*OAPServer) SetupWebhookWithManager ¶
func (*OAPServer) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*OAPServer) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type OAPServerConfig ¶
type OAPServerConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OAPServerConfigSpec `json:"spec,omitempty"` Status OAPServerConfigStatus `json:"status,omitempty"` }
OAPServerConfig is the Schema for the oapserverconfigs API
func (*OAPServerConfig) DeepCopy ¶
func (in *OAPServerConfig) DeepCopy() *OAPServerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServerConfig.
func (*OAPServerConfig) DeepCopyInto ¶
func (in *OAPServerConfig) DeepCopyInto(out *OAPServerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OAPServerConfig) DeepCopyObject ¶
func (in *OAPServerConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAPServerConfig) Default ¶
func (r *OAPServerConfig) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*OAPServerConfig) SetupWebhookWithManager ¶
func (r *OAPServerConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*OAPServerConfig) ValidateCreate ¶
func (r *OAPServerConfig) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*OAPServerConfig) ValidateDelete ¶
func (r *OAPServerConfig) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*OAPServerConfig) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type OAPServerConfigList ¶
type OAPServerConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OAPServerConfig `json:"items"` }
OAPServerConfigList contains a list of OAPServerConfig
func (*OAPServerConfigList) DeepCopy ¶
func (in *OAPServerConfigList) DeepCopy() *OAPServerConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServerConfigList.
func (*OAPServerConfigList) DeepCopyInto ¶
func (in *OAPServerConfigList) DeepCopyInto(out *OAPServerConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OAPServerConfigList) DeepCopyObject ¶
func (in *OAPServerConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OAPServerConfigSpec ¶
type OAPServerConfigSpec struct { // Version of OAP. //+kubebuilder:validation:Required Version string `json:"version,omitempty"` // Env holds the OAP server environment configuration. // +kubebuilder:validation:Optional Env []corev1.EnvVar `json:"env,omitempty"` // File holds the OAP server's static file configuration // +kubebuilder:validation:Optional File []FileConfig `json:"file,omitempty"` }
OAPServerConfigSpec defines the desired state of OAPServerConfig
func (*OAPServerConfigSpec) DeepCopy ¶
func (in *OAPServerConfigSpec) DeepCopy() *OAPServerConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServerConfigSpec.
func (*OAPServerConfigSpec) DeepCopyInto ¶
func (in *OAPServerConfigSpec) DeepCopyInto(out *OAPServerConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAPServerConfigStatus ¶
type OAPServerConfigStatus struct { // The number of oapserver that need to be configured Desired int `json:"desired,omitempty"` // The number of oapserver that configured successfully Ready int `json:"ready,omitempty"` // The time the OAPServerConfig was created. CreationTime metav1.Time `json:"creationTime,omitempty"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
OAPServerConfigStatus defines the observed state of OAPServerConfig
func (*OAPServerConfigStatus) DeepCopy ¶
func (in *OAPServerConfigStatus) DeepCopy() *OAPServerConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServerConfigStatus.
func (*OAPServerConfigStatus) DeepCopyInto ¶
func (in *OAPServerConfigStatus) DeepCopyInto(out *OAPServerConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAPServerDynamicConfig ¶
type OAPServerDynamicConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OAPServerDynamicConfigSpec `json:"spec,omitempty"` Status OAPServerDynamicConfigStatus `json:"status,omitempty"` }
OAPServerDynamicConfig is the Schema for the oapserverdynamicconfigs API
func (*OAPServerDynamicConfig) DeepCopy ¶
func (in *OAPServerDynamicConfig) DeepCopy() *OAPServerDynamicConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServerDynamicConfig.
func (*OAPServerDynamicConfig) DeepCopyInto ¶
func (in *OAPServerDynamicConfig) DeepCopyInto(out *OAPServerDynamicConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OAPServerDynamicConfig) DeepCopyObject ¶
func (in *OAPServerDynamicConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAPServerDynamicConfig) Default ¶
func (r *OAPServerDynamicConfig) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*OAPServerDynamicConfig) SetupWebhookWithManager ¶
func (r *OAPServerDynamicConfig) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*OAPServerDynamicConfig) ValidateCreate ¶
func (r *OAPServerDynamicConfig) ValidateCreate() (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*OAPServerDynamicConfig) ValidateDelete ¶
func (r *OAPServerDynamicConfig) ValidateDelete() (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*OAPServerDynamicConfig) ValidateUpdate ¶
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type OAPServerDynamicConfigList ¶
type OAPServerDynamicConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OAPServerDynamicConfig `json:"items"` }
OAPServerDynamicConfigList contains a list of OAPServerDynamicConfig
func (*OAPServerDynamicConfigList) DeepCopy ¶
func (in *OAPServerDynamicConfigList) DeepCopy() *OAPServerDynamicConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServerDynamicConfigList.
func (*OAPServerDynamicConfigList) DeepCopyInto ¶
func (in *OAPServerDynamicConfigList) DeepCopyInto(out *OAPServerDynamicConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OAPServerDynamicConfigList) DeepCopyObject ¶
func (in *OAPServerDynamicConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OAPServerDynamicConfigSpec ¶
type OAPServerDynamicConfigSpec struct { // Version of OAP. //+kubebuilder:validation:Required Version string `json:"version,omitempty"` // Locate specific configmap // +kubebuilder:validation:Optional LabelSelector string `json:"labelSelector,omitempty"` // All configurations' key and value // +kubebuilder:validation:Optional Data []Config `json:"data,omitempty"` }
OAPServerDynamicConfigSpec defines the desired state of OAPServerDynamicConfig
func (*OAPServerDynamicConfigSpec) DeepCopy ¶
func (in *OAPServerDynamicConfigSpec) DeepCopy() *OAPServerDynamicConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServerDynamicConfigSpec.
func (*OAPServerDynamicConfigSpec) DeepCopyInto ¶
func (in *OAPServerDynamicConfigSpec) DeepCopyInto(out *OAPServerDynamicConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAPServerDynamicConfigStatus ¶
type OAPServerDynamicConfigStatus struct { // The state of dynamic configuration State string `json:"state,omitempty"` // The time the OAPServerDynamicConfig was created. CreationTime metav1.Time `json:"creationTime,omitempty"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
OAPServerDynamicConfigStatus defines the observed state of OAPServerDynamicConfig
func (*OAPServerDynamicConfigStatus) DeepCopy ¶
func (in *OAPServerDynamicConfigStatus) DeepCopy() *OAPServerDynamicConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServerDynamicConfigStatus.
func (*OAPServerDynamicConfigStatus) DeepCopyInto ¶
func (in *OAPServerDynamicConfigStatus) DeepCopyInto(out *OAPServerDynamicConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAPServerList ¶
type OAPServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OAPServer `json:"items"` }
OAPServerList contains a list of OAPServer
func (*OAPServerList) DeepCopy ¶
func (in *OAPServerList) DeepCopy() *OAPServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServerList.
func (*OAPServerList) DeepCopyInto ¶
func (in *OAPServerList) DeepCopyInto(out *OAPServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OAPServerList) DeepCopyObject ¶
func (in *OAPServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OAPServerSpec ¶
type OAPServerSpec struct { // Version of OAP. // +kubebuilder:validation:Required Version string `json:"version"` // Image is the OAP Server Docker image to deploy. Image string `json:"image,omitempty"` // Count is the number of OAP servers // +kubebuilder:validation:Required Instances int32 `json:"instances"` // Config holds the OAP server configuration. Config []corev1.EnvVar `json:"config,omitempty"` // Service relevant settings // +kubebuilder:validation:Optional Service Service `json:"service,omitempty"` // StorageConfig relevant settings // +kubebuilder:validation:Optional StorageConfig RelevantStorage `json:"storage,omitempty"` }
OAPServerSpec defines the desired state of OAPServer
func (*OAPServerSpec) DeepCopy ¶
func (in *OAPServerSpec) DeepCopy() *OAPServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServerSpec.
func (*OAPServerSpec) DeepCopyInto ¶
func (in *OAPServerSpec) DeepCopyInto(out *OAPServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAPServerStatus ¶
type OAPServerStatus struct { // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. // +kubebuilder:validation:Optional AvailableReplicas int32 `json:"availableReplicas,omitempty"` // Address indicates the entry of OAP server which ingresses data // +kubebuilder:validation:Optional Address string `json:"address,omitempty"` // Represents the latest available observations of the underlying deployment's current state. // +kubebuilder:validation:Optional Conditions []appsv1.DeploymentCondition `json:"conditions,omitempty"` }
OAPServerStatus defines the observed state of OAPServer
func (*OAPServerStatus) DeepCopy ¶
func (in *OAPServerStatus) DeepCopy() *OAPServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAPServerStatus.
func (*OAPServerStatus) DeepCopyInto ¶
func (in *OAPServerStatus) DeepCopyInto(out *OAPServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RelevantStorage ¶
type RelevantStorage struct { // Name relevant settings // +kubebuilder:validation:Required Name string `json:"name,omitempty"` // Storage relevant settings Storage Storage `json:"injectstorage,omitempty"` }
func (*RelevantStorage) DeepCopy ¶
func (in *RelevantStorage) DeepCopy() *RelevantStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RelevantStorage.
func (*RelevantStorage) DeepCopyInto ¶
func (in *RelevantStorage) DeepCopyInto(out *RelevantStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Resource ¶
type Resource struct { Limit string `json:"limit,omitempty"` Requests string `json:"requests,omitempty"` }
func (*Resource) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Resource.
func (*Resource) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Satellite ¶
type Satellite struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SatelliteSpec `json:"spec,omitempty"` Status SatelliteStatus `json:"status,omitempty"` }
Satellite is the Schema for the satellites API
func (*Satellite) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Satellite.
func (*Satellite) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Satellite) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Satellite) Default ¶
func (r *Satellite) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Satellite) SetupWebhookWithManager ¶
func (*Satellite) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Satellite) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type SatelliteList ¶
type SatelliteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Satellite `json:"items"` }
SatelliteList contains a list of Satellite
func (*SatelliteList) DeepCopy ¶
func (in *SatelliteList) DeepCopy() *SatelliteList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SatelliteList.
func (*SatelliteList) DeepCopyInto ¶
func (in *SatelliteList) DeepCopyInto(out *SatelliteList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SatelliteList) DeepCopyObject ¶
func (in *SatelliteList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SatelliteSpec ¶
type SatelliteSpec struct { // Version of Satellite. // +kubebuilder:validation:Required Version string `json:"version"` // Image is the Satellite Docker image to deploy. Image string `json:"image,omitempty"` // Count is the number of Satellite servers // +kubebuilder:validation:Required Instances int32 `json:"instances"` // Config holds the Satellite server configuration. Config []corev1.EnvVar `json:"config,omitempty"` // Service relevant settings // +kubebuilder:validation:Optional Service Service `json:"service,omitempty"` // Backend OAP server name // +kubebuilder:validation:Optional OAPServerName string `json:"OAPServerName,omitempty"` }
SatelliteSpec defines the desired state of Satellite
func (*SatelliteSpec) DeepCopy ¶
func (in *SatelliteSpec) DeepCopy() *SatelliteSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SatelliteSpec.
func (*SatelliteSpec) DeepCopyInto ¶
func (in *SatelliteSpec) DeepCopyInto(out *SatelliteSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SatelliteStatus ¶
type SatelliteStatus struct { // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. // +kubebuilder:validation:Optional AvailableReplicas int32 `json:"availableReplicas,omitempty"` // Address indicates the entry of Satellite server which ingresses data // +kubebuilder:validation:Optional Address string `json:"address,omitempty"` // Represents the latest available observations of the underlying deployment's current state. // +kubebuilder:validation:Optional Conditions []appsv1.DeploymentCondition `json:"conditions,omitempty"` }
SatelliteStatus defines the observed state of Satellite
func (*SatelliteStatus) DeepCopy ¶
func (in *SatelliteStatus) DeepCopy() *SatelliteStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SatelliteStatus.
func (*SatelliteStatus) DeepCopyInto ¶
func (in *SatelliteStatus) DeepCopyInto(out *SatelliteStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecuritySpec ¶
type SecuritySpec struct { // SSLConfig of storage . // +kubebuilder:validation:Optional TLS bool `json:"tls,omitempty"` // UserConfig of storage . // +kubebuilder:validation:Optional User UserSpec `json:"user,omitempty"` }
SecuritySpec defines the security setting of Storage
func (*SecuritySpec) DeepCopy ¶
func (in *SecuritySpec) DeepCopy() *SecuritySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecuritySpec.
func (*SecuritySpec) DeepCopyInto ¶
func (in *SecuritySpec) DeepCopyInto(out *SecuritySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Service ¶
type Service struct { // ServiceTemplate defines the behavior of a service. // +kubebuilder:validation:Optional Template ServiceTemplate `json:"template,omitempty"` // Ingress defines the behavior of an ingress // +kubebuilder:validation:Optional Ingress Ingress `json:"ingress,omitempty"` }
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceTemplate ¶
type ServiceTemplate struct { // clusterIP is the IP address of the service and is usually assigned // randomly. // +kubebuilder:validation:Optional ClusterIP string `json:"clusterIP,omitempty"` // type determines how the Service is exposed. // +kubebuilder:validation:Optional Type ServiceType `json:"type,omitempty"` // externalIPs is a list of IP addresses for which nodes in the cluster // will also accept traffic for this service. // +kubebuilder:validation:Optional ExternalIPs []string `json:"externalIPs,omitempty"` // Only applies to Service Type: LoadBalancer // LoadBalancer will get created with the IP specified in this field. // +kubebuilder:validation:Optional LoadBalancerIP string `json:"loadBalancerIP,omitempty"` // If specified and supported by the platform, this will restrict traffic through the cloud-provider // load-balancer will be restricted to the specified client IPs. // +kubebuilder:validation:Optional LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty"` }
func (*ServiceTemplate) DeepCopy ¶
func (in *ServiceTemplate) DeepCopy() *ServiceTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceTemplate.
func (*ServiceTemplate) DeepCopyInto ¶
func (in *ServiceTemplate) DeepCopyInto(out *ServiceTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceTemplate) Default ¶
func (s *ServiceTemplate) Default()
func (*ServiceTemplate) Validate ¶
func (s *ServiceTemplate) Validate() error
type ServiceType ¶
type ServiceType string
ServiceType string describes ingress methods for a service
const ( // ServiceTypeClusterIP means a service will only be accessible inside the // cluster, via the cluster IP. ServiceTypeClusterIP ServiceType = "ClusterIP" // ServiceTypeNodePort means a service will be exposed on one port of // every node, in addition to 'ClusterIP' type. ServiceTypeNodePort ServiceType = "NodePort" // ServiceTypeLoadBalancer means a service will be exposed via an // external load balancer (if the cloud provider supports it), in addition // to 'NodePort' type. ServiceTypeLoadBalancer ServiceType = "LoadBalancer" )
type SharedVolume ¶
type SharedVolume struct { // +kubebuilder:validation:Optional // +kubebuilder:default="sky-agent" Name string `json:"name,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:default="/sky/agent" MountPath string `json:"mountPath,omitempty"` }
func (*SharedVolume) DeepCopy ¶
func (in *SharedVolume) DeepCopy() *SharedVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedVolume.
func (*SharedVolume) DeepCopyInto ¶
func (in *SharedVolume) DeepCopyInto(out *SharedVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Storage ¶
type Storage struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StorageSpec `json:"spec,omitempty"` Status StorageStatus `json:"status,omitempty"` }
Storage is the Schema for the storages API
func (*Storage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Storage) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Storage) Default ¶
func (r *Storage) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Storage) SetupWebhookWithManager ¶
func (*Storage) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Storage) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type StorageConfig ¶
type StorageConfig struct { // the name of storage config // +kubebuilder:validation:Optional Name string `json:"name,omitempty"` // mount path of the volume // +kubebuilder:validation:Optional Path string `json:"path,omitempty"` // the persistent volume spec for the storage // +kubebuilder:validation:Optional PersistentVolumeClaimSpec corev1.PersistentVolumeClaimSpec `json:"persistentVolumeClaimSpec,omitempty"` }
func (*StorageConfig) DeepCopy ¶
func (in *StorageConfig) DeepCopy() *StorageConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageConfig.
func (*StorageConfig) DeepCopyInto ¶
func (in *StorageConfig) DeepCopyInto(out *StorageConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageList ¶
type StorageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Storage `json:"items"` }
StorageList contains a list of Storage
func (*StorageList) DeepCopy ¶
func (in *StorageList) DeepCopy() *StorageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageList.
func (*StorageList) DeepCopyInto ¶
func (in *StorageList) DeepCopyInto(out *StorageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StorageList) DeepCopyObject ¶
func (in *StorageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StorageSpec ¶
type StorageSpec struct { // Type of storage. // +kubebuilder:validation:Required Type string `json:"type,omitempty"` // ConnectType is the way to connect storage(e.g. external,internal). // +kubebuilder:validation:Required ConnectType string `json:"connectType,omitempty"` // Address of external storage address. // +kubebuilder:validation:Optional ConnectAddress string `json:"address,omitempty"` // Version of storage. // +kubebuilder:validation:Required Version string `json:"version,omitempty"` // Image is the storage Docker image to deploy. // +kubebuilder:validation:Optional Image string `json:"image,omitempty"` // Instance is the number of storage. // +kubebuilder:validation:Optional Instances int32 `json:"instances,omitempty"` // Security relevant settings // +kubebuilder:validation:Optional Security SecuritySpec `json:"security,omitempty"` // ServiceName relevant settings ServiceName string `json:"servicename,omitempty"` // Config holds the Storage configuration. Config []corev1.EnvVar `json:"config,omitempty"` //ResourceCnfig relevant settings ResourceCnfig Resource `json:"resource,omitempty"` }
StorageSpec defines the desired state of Storage
func (*StorageSpec) DeepCopy ¶
func (in *StorageSpec) DeepCopy() *StorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSpec.
func (*StorageSpec) DeepCopyInto ¶
func (in *StorageSpec) DeepCopyInto(out *StorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageStatus ¶
type StorageStatus struct { // Represents the latest available observations of the underlying statefulset's current state. // +kubebuilder:validation:Optional Conditions []appsv1.StatefulSetCondition `json:"conditions,omitempty"` }
StorageStatus defines the observed state of Storage
func (*StorageStatus) DeepCopy ¶
func (in *StorageStatus) DeepCopy() *StorageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageStatus.
func (*StorageStatus) DeepCopyInto ¶
func (in *StorageStatus) DeepCopyInto(out *StorageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SwAgent ¶
type SwAgent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SwAgentSpec `json:"spec,omitempty"` Status SwAgentStatus `json:"status,omitempty"` }
SwAgent is the Schema for the swagents API
func (*SwAgent) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwAgent.
func (*SwAgent) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SwAgent) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SwAgent) Default ¶
func (r *SwAgent) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*SwAgent) SetupWebhookWithManager ¶
func (*SwAgent) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*SwAgent) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type SwAgentList ¶
type SwAgentList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SwAgent `json:"items"` }
SwAgentList contains a list of SwAgent
func (*SwAgentList) DeepCopy ¶
func (in *SwAgentList) DeepCopy() *SwAgentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwAgentList.
func (*SwAgentList) DeepCopyInto ¶
func (in *SwAgentList) DeepCopyInto(out *SwAgentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SwAgentList) DeepCopyObject ¶
func (in *SwAgentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SwAgentSpec ¶
type SwAgentSpec struct { // Selector is the selector label of injected Object // +kubebuilder:validation:Optional Selector map[string]string `json:"selector,omitempty"` // ContainerMatcher is the regular expression to match pods which is to be injected. // +kubebuilder:validation:Optional ContainerMatcher string `json:"containerMatcher,omitempty"` // JavaSidecar defines Java agent special configs. // +kubebuilder:validation:Optional JavaSidecar JavaSidecar `json:"javaSidecar,omitempty"` // +kubebuilder:validation:Optional SharedVolumeName string `json:"sharedVolumeName,omitempty"` // Select the optional plugin which needs to be moved to the directory(/plugins). Such as`trace`,`webflux`,`cloud-gateway-2.1.x`. // +kubebuilder:validation:Optional OptionalPlugins []string `json:"optionalPlugins,omitempty"` // Select the optional reporter plugin which needs to be moved to the directory(/plugins). such as `kafka`. // +kubebuilder:validation:Optional OptionalReporterPlugins []string `json:"optionalReporterPlugins,omitempty"` // Select the bootstrap plugin which needs to be moved to the directory(/plugins). such as `jdk-threading`. // +kubebuilder:validation:Optional BootstrapPlugins []string `json:"bootstrapPlugins,omitempty"` }
SwAgentSpec defines the desired state of SwAgent
func (*SwAgentSpec) DeepCopy ¶
func (in *SwAgentSpec) DeepCopy() *SwAgentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwAgentSpec.
func (*SwAgentSpec) DeepCopyInto ¶
func (in *SwAgentSpec) DeepCopyInto(out *SwAgentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SwAgentStatus ¶
type SwAgentStatus struct { // The time the SwAgent was created. CreationTime metav1.Time `json:"creationTime,omitempty"` // The last time this condition was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
SwAgentStatus defines the observed state of SwAgent
func (*SwAgentStatus) DeepCopy ¶
func (in *SwAgentStatus) DeepCopy() *SwAgentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwAgentStatus.
func (*SwAgentStatus) DeepCopyInto ¶
func (in *SwAgentStatus) DeepCopyInto(out *SwAgentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UI ¶
type UI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UISpec `json:"spec,omitempty"` Status UIStatus `json:"status,omitempty"` }
UI is the Schema for the uis API
func (*UI) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UI.
func (*UI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UI) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*UI) Default ¶
func (r *UI) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*UI) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*UI) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type UIList ¶
type UIList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []UI `json:"items"` }
UIList contains a list of UI
func (*UIList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIList.
func (*UIList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UIList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UISpec ¶
type UISpec struct { // Version of UI. // +kubebuilder:validation:Required Version string `json:"version"` // Image is the UI Docker image to deploy. Image string `json:"image,omitempty"` // Count is the number of UI pods // +kubebuilder:validation:Required Instances int32 `json:"instances"` // Backend OAP server address // +kubebuilder:validation:Optional OAPServerAddress string `json:"OAPServerAddress,omitempty"` // Service relevant settings // +kubebuilder:validation:Optional Service Service `json:"service,omitempty"` }
UISpec defines the desired state of UI
func (*UISpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UISpec.
func (*UISpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UIStatus ¶
type UIStatus struct { // Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. // +kubebuilder:validation:Optional AvailableReplicas int32 `json:"availableReplicas,omitempty"` // externalIPs is a list of IP addresses for which nodes in the cluster // will also accept traffic for this service. // +kubebuilder:validation:Optional ExternalIPs []string `json:"externalIPs,omitempty"` // Ports that will be exposed by this service. // +kubebuilder:validation:Optional Ports []int32 `json:"ports"` // +kubebuilder:validation:Optional InternalAddress string `json:"internalAddress,omitempty"` // Represents the latest available observations of the underlying deployment's current state. // +kubebuilder:validation:Optional Conditions []appsv1.DeploymentCondition `json:"conditions,omitempty"` }
UIStatus defines the observed state of UI
func (*UIStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UIStatus.
func (*UIStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserSpec ¶
type UserSpec struct { // SecretName of storage user . // +kubebuilder:validation:Optional SecretName string `json:"secretName,omitempty"` }
UserSpec defines the user security setting of Storage
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- banyandb_types.go
- banyandb_webhook.go
- common.go
- eventexporter_types.go
- eventexporter_webhook.go
- fetcher_types.go
- fetcher_webhook.go
- groupversion_info.go
- javaagent_types.go
- javaagent_webhook.go
- oapserver_types.go
- oapserver_webhook.go
- oapserverconfig_types.go
- oapserverconfig_webhook.go
- oapserverdynamicconfig_types.go
- oapserverdynamicconfig_webhook.go
- satellite_types.go
- satellite_webhook.go
- storage_types.go
- storage_webhook.go
- swagent_types.go
- swagent_webhook.go
- ui_types.go
- ui_webhook.go
- zz_generated.deepcopy.go