v1beta1

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the toolsets v1beta1 API group +kubebuilder:object:generate=true +groupName=toolsets.boom.caos.ch

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "toolsets.boom.caos.ch", Version: "v1beta1"}

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

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

Functions

This section is empty.

Types

type Admin

type Admin struct {
	ExistingSecret string `json:"existingSecret,omitempty"`
	UserKey        string `json:"userKey,omitempty"`
	PasswordKey    string `json:"passwordKey,omitempty"`
}

func (*Admin) DeepCopy

func (in *Admin) DeepCopy() *Admin

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

func (*Admin) DeepCopyInto

func (in *Admin) DeepCopyInto(out *Admin)

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

type Ambassador

type Ambassador struct {
	Deploy         bool   `json:"deploy,omitempty"`
	Prefix         string `json:"prefix,omitempty"`
	Namespace      string `json:"namespace,omitempty"`
	LoadBalancerIP string `json:"loadBalancerIP,omitempty"`
}

func (*Ambassador) DeepCopy

func (in *Ambassador) DeepCopy() *Ambassador

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

func (*Ambassador) DeepCopyInto

func (in *Ambassador) DeepCopyInto(out *Ambassador)

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

type CertManager

type CertManager struct {
	Deploy    bool   `json:"deploy,omitempty"`
	Prefix    string `json:"prefix,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*CertManager) DeepCopy

func (in *CertManager) DeepCopy() *CertManager

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

func (*CertManager) DeepCopyInto

func (in *CertManager) DeepCopyInto(out *CertManager)

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

type Dashboard

type Dashboard struct {
	ConfigMap string           `json:"configMap,omitempty"`
	FileNames []*DashboardFile `json:"files,omitempty"`
}

func (*Dashboard) DeepCopy

func (in *Dashboard) DeepCopy() *Dashboard

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

func (*Dashboard) DeepCopyInto

func (in *Dashboard) DeepCopyInto(out *Dashboard)

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

type DashboardFile

type DashboardFile struct {
	Name     string `json:"name,omitempty"`
	FileName string `json:"filename,omitempty"`
}

func (*DashboardFile) DeepCopy

func (in *DashboardFile) DeepCopy() *DashboardFile

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

func (*DashboardFile) DeepCopyInto

func (in *DashboardFile) DeepCopyInto(out *DashboardFile)

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

type Datasource

type Datasource struct {
	Name      string `json:"name,omitempty"`
	Type      string `json:"type,omitempty"`
	Url       string `json:"url,omitempty"`
	Access    string `json:"access,omitempty"`
	IsDefault bool   `json:"isDefault,omitempty"`
}

func (*Datasource) DeepCopy

func (in *Datasource) DeepCopy() *Datasource

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

func (*Datasource) DeepCopyInto

func (in *Datasource) DeepCopyInto(out *Datasource)

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

type Endpoint

type Endpoint struct {
	Port       string `json:"port,omitempty"`
	TargetPort string `json:"targetPort,omitempty"`
	Interval   string `json:"interval,omitempty"`
	Path       string `json:"path,omitempty"`
	Scheme     string `json:"scheme,omitempty"`
}

func (*Endpoint) DeepCopy

func (in *Endpoint) DeepCopy() *Endpoint

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

func (*Endpoint) DeepCopyInto

func (in *Endpoint) DeepCopyInto(out *Endpoint)

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

type Grafana

type Grafana struct {
	Deploy      bool          `json:"deploy,omitempty"`
	Prefix      string        `json:"prefix,omitempty"`
	Namespace   string        `json:"namespace,omitempty"`
	Admin       *Admin        `json:"admin,omitempty"`
	Datasources []*Datasource `json:"datasources,omitempty"`
	Dashboards  []*Dashboard  `json:"dashboards,omitempty"`
}

func (*Grafana) DeepCopy

func (in *Grafana) DeepCopy() *Grafana

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

func (*Grafana) DeepCopyInto

func (in *Grafana) DeepCopyInto(out *Grafana)

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

type LoggingOperator

type LoggingOperator struct {
	Deploy    bool   `json:"deploy,omitempty"`
	Prefix    string `json:"prefix,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*LoggingOperator) DeepCopy

func (in *LoggingOperator) DeepCopy() *LoggingOperator

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

func (*LoggingOperator) DeepCopyInto

func (in *LoggingOperator) DeepCopyInto(out *LoggingOperator)

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

type Monitor

type Monitor struct {
	Enabled   bool   `json:"enabled"`
	Namespace string `json:"namespace"`
}

func (*Monitor) DeepCopy

func (in *Monitor) DeepCopy() *Monitor

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

func (*Monitor) DeepCopyInto

func (in *Monitor) DeepCopyInto(out *Monitor)

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

type Prometheus

type Prometheus struct {
	Prefix          string            `json:"prefix" yaml:"prefix"`
	Namespace       string            `json:"namespace" yaml:"namespace"`
	Deploy          bool              `json:"deploy" yaml:"deploy"`
	MonitorLabels   map[string]string `json:"monitorLabel" yaml:"monitorLabel"`
	ServiceMonitors []*ServiceMonitor `json:"serviceMonitors" yaml:"serviceMonitors"`
}

func (*Prometheus) DeepCopy

func (in *Prometheus) DeepCopy() *Prometheus

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

func (*Prometheus) DeepCopyInto

func (in *Prometheus) DeepCopyInto(out *Prometheus)

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

type PrometheusNodeExporter

type PrometheusNodeExporter struct {
	Deploy    bool     `json:"deploy,omitempty"`
	Prefix    string   `json:"prefix,omitempty"`
	Namespace string   `json:"namespace,omitempty"`
	Monitor   *Monitor `json:"monitor,omitempty"`
}

func (*PrometheusNodeExporter) DeepCopy

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

func (*PrometheusNodeExporter) DeepCopyInto

func (in *PrometheusNodeExporter) DeepCopyInto(out *PrometheusNodeExporter)

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

type PrometheusOperator

type PrometheusOperator struct {
	Deploy    bool   `json:"deploy,omitempty"`
	Prefix    string `json:"prefix,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*PrometheusOperator) DeepCopy

func (in *PrometheusOperator) DeepCopy() *PrometheusOperator

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

func (*PrometheusOperator) DeepCopyInto

func (in *PrometheusOperator) DeepCopyInto(out *PrometheusOperator)

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

type Relabeling

type Relabeling struct {
	Action       string   `json:"action,omitempty"`
	Regex        string   `json:"regex,omitempty"`
	Replacement  string   `json:"replacement,omitempty"`
	SourceLabels []string `json:"sourcelabels,omitempty"`
	TargetLabel  string   `json:"targetlabel,omitempty"`
}

func (*Relabeling) DeepCopy

func (in *Relabeling) DeepCopy() *Relabeling

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

func (*Relabeling) DeepCopyInto

func (in *Relabeling) DeepCopyInto(out *Relabeling)

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

type RemoteWrite

type RemoteWrite struct {
	URL string `json:"url,omitempty"`
}

func (*RemoteWrite) DeepCopy

func (in *RemoteWrite) DeepCopy() *RemoteWrite

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

func (*RemoteWrite) DeepCopyInto

func (in *RemoteWrite) DeepCopyInto(out *RemoteWrite)

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

type ServiceMonitor

type ServiceMonitor struct {
	Name                  string            `json:"name,omitempty"`
	Interval              string            `json:"interval,omitempty"`
	Relabelings           []*Relabeling     `json:"relabelings,omitempty"`
	ServiceMatchingLabels map[string]string `json:"serviceMatchingLabels,omitempty"`
	Endpoints             []*Endpoint       `json:"endpoints,omitempty"`
}

func (*ServiceMonitor) DeepCopy

func (in *ServiceMonitor) DeepCopy() *ServiceMonitor

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

func (*ServiceMonitor) DeepCopyInto

func (in *ServiceMonitor) DeepCopyInto(out *ServiceMonitor)

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

type Toolset

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

	Spec   *ToolsetSpec   `json:"spec,omitempty"`
	Status *ToolsetStatus `json:"status,omitempty"`
}

Toolset is the Schema for the toolsets API

func (*Toolset) DeepCopy

func (in *Toolset) DeepCopy() *Toolset

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

func (*Toolset) DeepCopyInto

func (in *Toolset) DeepCopyInto(out *Toolset)

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

func (*Toolset) DeepCopyObject

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

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

type ToolsetList

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

ToolsetList contains a list of Toolset

func (*ToolsetList) DeepCopy

func (in *ToolsetList) DeepCopy() *ToolsetList

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

func (*ToolsetList) DeepCopyInto

func (in *ToolsetList) DeepCopyInto(out *ToolsetList)

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

func (*ToolsetList) DeepCopyObject

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

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

type ToolsetSpec

type ToolsetSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Name string `json:"name,omitempty"`
	// PrometheusOperator defines the desired state for the prometheus operator
	PrometheusOperator     *PrometheusOperator     `json:"prometheus-operator,omitempty" yaml:"prometheus-operator"`
	LoggingOperator        *LoggingOperator        `json:"logging-operator,omitempty" yaml:"logging-operator"`
	PrometheusNodeExporter *PrometheusNodeExporter `json:"prometheus-node-exporter,omitempty" yaml:"prometheus-node-exporter"`
	Grafana                *Grafana                `json:"grafana,omitempty" yaml:"grafana"`
	// Prometheus             *Prometheus             `json:"prometheus,omitempty" yaml:"prometheus"`
	CertManager *CertManager `json:"cert-manager,omitempty" yaml:"cert-manager"`
	Ambassador  *Ambassador  `json:"ambassador,omitempty" yaml:"ambassador"`
}

ToolsetSpec defines the desired state of Toolset

func (*ToolsetSpec) DeepCopy

func (in *ToolsetSpec) DeepCopy() *ToolsetSpec

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

func (*ToolsetSpec) DeepCopyInto

func (in *ToolsetSpec) DeepCopyInto(out *ToolsetSpec)

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

type ToolsetStatus

type ToolsetStatus struct {
}

ToolsetStatus defines the observed state of Toolset

func (*ToolsetStatus) DeepCopy

func (in *ToolsetStatus) DeepCopy() *ToolsetStatus

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

func (*ToolsetStatus) DeepCopyInto

func (in *ToolsetStatus) DeepCopyInto(out *ToolsetStatus)

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

Jump to

Keyboard shortcuts

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