v1alpha1

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "perses.dev", 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 Convert_v1alpha1_BasicAuth_To_v1alpha2_BasicAuth added in v0.3.0

func Convert_v1alpha1_BasicAuth_To_v1alpha2_BasicAuth(in *BasicAuth, out *v1alpha2.BasicAuth, s conversion.Scope) error

Convert_v1alpha1_BasicAuth_To_v1alpha2_BasicAuth is an autogenerated conversion function.

func Convert_v1alpha1_Certificate_To_v1alpha2_Certificate added in v0.3.0

func Convert_v1alpha1_Certificate_To_v1alpha2_Certificate(in *Certificate, out *v1alpha2.Certificate, s conversion.Scope) error

Convert_v1alpha1_Certificate_To_v1alpha2_Certificate is an autogenerated conversion function.

func Convert_v1alpha1_Client_To_v1alpha2_Client added in v0.3.0

func Convert_v1alpha1_Client_To_v1alpha2_Client(in *Client, out *v1alpha2.Client, s conversion.Scope) error

Convert_v1alpha1_Client_To_v1alpha2_Client is an autogenerated conversion function.

func Convert_v1alpha1_Dashboard_To_v1alpha2_Dashboard added in v0.3.0

func Convert_v1alpha1_Dashboard_To_v1alpha2_Dashboard(in *Dashboard, out *v1alpha2.Dashboard, s conversion.Scope) error

Convert_v1alpha1_Dashboard_To_v1alpha2_Dashboard is an autogenerated conversion function.

func Convert_v1alpha1_Dashboard_To_v1alpha2_PersesDashboardSpec added in v0.3.0

func Convert_v1alpha1_Dashboard_To_v1alpha2_PersesDashboardSpec(in *Dashboard, out *v1alpha2.PersesDashboardSpec, s conversion.Scope) error

Manual conversions Convert_v1alpha1_Dashboard_To_v1alpha2_PersesDashboardSpec converts a v1alpha1 Dashboard to v1alpha2 PersesDashboardSpec.

func Convert_v1alpha1_DatasourceSpec_To_v1alpha2_DatasourceSpec added in v0.3.0

func Convert_v1alpha1_DatasourceSpec_To_v1alpha2_DatasourceSpec(in *DatasourceSpec, out *v1alpha2.DatasourceSpec, s conversion.Scope) error

Convert_v1alpha1_DatasourceSpec_To_v1alpha2_DatasourceSpec is an autogenerated conversion function.

func Convert_v1alpha1_Datasource_To_v1alpha2_Datasource added in v0.3.0

func Convert_v1alpha1_Datasource_To_v1alpha2_Datasource(in *Datasource, out *v1alpha2.Datasource, s conversion.Scope) error

Convert_v1alpha1_Datasource_To_v1alpha2_Datasource is an autogenerated conversion function.

func Convert_v1alpha1_KubernetesAuth_To_v1alpha2_KubernetesAuth added in v0.3.0

func Convert_v1alpha1_KubernetesAuth_To_v1alpha2_KubernetesAuth(in *KubernetesAuth, out *v1alpha2.KubernetesAuth, s conversion.Scope) error

Convert_v1alpha1_KubernetesAuth_To_v1alpha2_KubernetesAuth is an autogenerated conversion function.

func Convert_v1alpha1_Metadata_To_v1alpha2_Metadata added in v0.3.0

func Convert_v1alpha1_Metadata_To_v1alpha2_Metadata(in *Metadata, out *v1alpha2.Metadata, s conversion.Scope) error

Convert_v1alpha1_Metadata_To_v1alpha2_Metadata is an autogenerated conversion function.

func Convert_v1alpha1_OAuth_To_v1alpha2_OAuth added in v0.3.0

func Convert_v1alpha1_OAuth_To_v1alpha2_OAuth(in *OAuth, out *v1alpha2.OAuth, s conversion.Scope) error

Convert_v1alpha1_OAuth_To_v1alpha2_OAuth converts OAuth from v1alpha1 to v1alpha2.

func Convert_v1alpha1_PersesConfig_To_v1alpha2_PersesConfig added in v0.3.0

func Convert_v1alpha1_PersesConfig_To_v1alpha2_PersesConfig(in *PersesConfig, out *v1alpha2.PersesConfig, s conversion.Scope) error

Convert_v1alpha1_PersesConfig_To_v1alpha2_PersesConfig is an autogenerated conversion function.

func Convert_v1alpha1_PersesDashboardList_To_v1alpha2_PersesDashboardList added in v0.3.0

func Convert_v1alpha1_PersesDashboardList_To_v1alpha2_PersesDashboardList(in *PersesDashboardList, out *v1alpha2.PersesDashboardList, s conversion.Scope) error

Convert_v1alpha1_PersesDashboardList_To_v1alpha2_PersesDashboardList is an autogenerated conversion function.

func Convert_v1alpha1_PersesDashboardStatus_To_v1alpha2_PersesDashboardStatus added in v0.3.0

func Convert_v1alpha1_PersesDashboardStatus_To_v1alpha2_PersesDashboardStatus(in *PersesDashboardStatus, out *v1alpha2.PersesDashboardStatus, s conversion.Scope) error

Convert_v1alpha1_PersesDashboardStatus_To_v1alpha2_PersesDashboardStatus is an autogenerated conversion function.

func Convert_v1alpha1_PersesDashboard_To_v1alpha2_PersesDashboard added in v0.3.0

func Convert_v1alpha1_PersesDashboard_To_v1alpha2_PersesDashboard(in *PersesDashboard, out *v1alpha2.PersesDashboard, s conversion.Scope) error

Convert_v1alpha1_PersesDashboard_To_v1alpha2_PersesDashboard is an autogenerated conversion function.

func Convert_v1alpha1_PersesDatasourceList_To_v1alpha2_PersesDatasourceList added in v0.3.0

func Convert_v1alpha1_PersesDatasourceList_To_v1alpha2_PersesDatasourceList(in *PersesDatasourceList, out *v1alpha2.PersesDatasourceList, s conversion.Scope) error

Convert_v1alpha1_PersesDatasourceList_To_v1alpha2_PersesDatasourceList is an autogenerated conversion function.

func Convert_v1alpha1_PersesDatasourceStatus_To_v1alpha2_PersesDatasourceStatus added in v0.3.0

func Convert_v1alpha1_PersesDatasourceStatus_To_v1alpha2_PersesDatasourceStatus(in *PersesDatasourceStatus, out *v1alpha2.PersesDatasourceStatus, s conversion.Scope) error

Convert_v1alpha1_PersesDatasourceStatus_To_v1alpha2_PersesDatasourceStatus is an autogenerated conversion function.

func Convert_v1alpha1_PersesDatasource_To_v1alpha2_PersesDatasource added in v0.3.0

func Convert_v1alpha1_PersesDatasource_To_v1alpha2_PersesDatasource(in *PersesDatasource, out *v1alpha2.PersesDatasource, s conversion.Scope) error

Convert_v1alpha1_PersesDatasource_To_v1alpha2_PersesDatasource is an autogenerated conversion function.

func Convert_v1alpha1_PersesList_To_v1alpha2_PersesList added in v0.3.0

func Convert_v1alpha1_PersesList_To_v1alpha2_PersesList(in *PersesList, out *v1alpha2.PersesList, s conversion.Scope) error

Convert_v1alpha1_PersesList_To_v1alpha2_PersesList is an autogenerated conversion function.

func Convert_v1alpha1_PersesService_To_v1alpha2_PersesService added in v0.3.0

func Convert_v1alpha1_PersesService_To_v1alpha2_PersesService(in *PersesService, out *v1alpha2.PersesService, s conversion.Scope) error

Convert_v1alpha1_PersesService_To_v1alpha2_PersesService is an autogenerated conversion function.

func Convert_v1alpha1_PersesSpec_To_v1alpha2_PersesSpec added in v0.3.0

func Convert_v1alpha1_PersesSpec_To_v1alpha2_PersesSpec(in *PersesSpec, out *v1alpha2.PersesSpec, s conversion.Scope) error

Convert_v1alpha1_PersesSpec_To_v1alpha2_PersesSpec is an autogenerated conversion function.

func Convert_v1alpha1_PersesStatus_To_v1alpha2_PersesStatus added in v0.3.0

func Convert_v1alpha1_PersesStatus_To_v1alpha2_PersesStatus(in *PersesStatus, out *v1alpha2.PersesStatus, s conversion.Scope) error

Convert_v1alpha1_PersesStatus_To_v1alpha2_PersesStatus is an autogenerated conversion function.

func Convert_v1alpha1_Perses_To_v1alpha2_Perses added in v0.3.0

func Convert_v1alpha1_Perses_To_v1alpha2_Perses(in *Perses, out *v1alpha2.Perses, s conversion.Scope) error

Convert_v1alpha1_Perses_To_v1alpha2_Perses is an autogenerated conversion function.

func Convert_v1alpha1_SecretSource_To_v1alpha2_SecretSource added in v0.3.0

func Convert_v1alpha1_SecretSource_To_v1alpha2_SecretSource(in *SecretSource, out *v1alpha2.SecretSource, s conversion.Scope) error

Convert_v1alpha1_SecretSource_To_v1alpha2_SecretSource is an autogenerated conversion function.

func Convert_v1alpha1_StorageConfiguration_To_v1alpha2_StorageConfiguration added in v0.3.0

func Convert_v1alpha1_StorageConfiguration_To_v1alpha2_StorageConfiguration(in *StorageConfiguration, out *v1alpha2.StorageConfiguration, s conversion.Scope) error

Convert_v1alpha1_StorageConfiguration_To_v1alpha2_StorageConfiguration converts v1alpha1 storage to v1alpha2. Migrates StorageClass and Size fields into PersistentVolumeClaimTemplate.

func Convert_v1alpha1_TLS_To_v1alpha2_TLS added in v0.3.0

func Convert_v1alpha1_TLS_To_v1alpha2_TLS(in *TLS, out *v1alpha2.TLS, s conversion.Scope) error

Convert_v1alpha1_TLS_To_v1alpha2_TLS is an autogenerated conversion function.

func Convert_v1alpha2_BasicAuth_To_v1alpha1_BasicAuth added in v0.3.0

func Convert_v1alpha2_BasicAuth_To_v1alpha1_BasicAuth(in *v1alpha2.BasicAuth, out *BasicAuth, s conversion.Scope) error

Convert_v1alpha2_BasicAuth_To_v1alpha1_BasicAuth is an autogenerated conversion function.

func Convert_v1alpha2_Certificate_To_v1alpha1_Certificate added in v0.3.0

func Convert_v1alpha2_Certificate_To_v1alpha1_Certificate(in *v1alpha2.Certificate, out *Certificate, s conversion.Scope) error

Convert_v1alpha2_Certificate_To_v1alpha1_Certificate is an autogenerated conversion function.

func Convert_v1alpha2_Client_To_v1alpha1_Client added in v0.3.0

func Convert_v1alpha2_Client_To_v1alpha1_Client(in *v1alpha2.Client, out *Client, s conversion.Scope) error

Convert_v1alpha2_Client_To_v1alpha1_Client is an autogenerated conversion function.

func Convert_v1alpha2_Dashboard_To_v1alpha1_Dashboard added in v0.3.0

func Convert_v1alpha2_Dashboard_To_v1alpha1_Dashboard(in *v1alpha2.Dashboard, out *Dashboard, s conversion.Scope) error

Convert_v1alpha2_Dashboard_To_v1alpha1_Dashboard is an autogenerated conversion function.

func Convert_v1alpha2_DatasourceSpec_To_v1alpha1_DatasourceSpec added in v0.3.0

func Convert_v1alpha2_DatasourceSpec_To_v1alpha1_DatasourceSpec(in *v1alpha2.DatasourceSpec, out *DatasourceSpec, s conversion.Scope) error

Manual conversions Convert_v1alpha2_DatasourceSpec_To_v1alpha1_DatasourceSpec converts a v1alpha2 DatasourceSpec to v1alpha1 DatasourceSpec.

func Convert_v1alpha2_Datasource_To_v1alpha1_Datasource added in v0.3.0

func Convert_v1alpha2_Datasource_To_v1alpha1_Datasource(in *v1alpha2.Datasource, out *Datasource, s conversion.Scope) error

Convert_v1alpha2_Datasource_To_v1alpha1_Datasource is an autogenerated conversion function.

func Convert_v1alpha2_KubernetesAuth_To_v1alpha1_KubernetesAuth added in v0.3.0

func Convert_v1alpha2_KubernetesAuth_To_v1alpha1_KubernetesAuth(in *v1alpha2.KubernetesAuth, out *KubernetesAuth, s conversion.Scope) error

Convert_v1alpha2_KubernetesAuth_To_v1alpha1_KubernetesAuth is an autogenerated conversion function.

func Convert_v1alpha2_Metadata_To_v1alpha1_Metadata added in v0.3.0

func Convert_v1alpha2_Metadata_To_v1alpha1_Metadata(in *v1alpha2.Metadata, out *Metadata, s conversion.Scope) error

Convert_v1alpha2_Metadata_To_v1alpha1_Metadata is an autogenerated conversion function.

func Convert_v1alpha2_OAuth_To_v1alpha1_OAuth added in v0.3.0

func Convert_v1alpha2_OAuth_To_v1alpha1_OAuth(in *v1alpha2.OAuth, out *OAuth, s conversion.Scope) error

Convert_v1alpha2_OAuth_To_v1alpha1_OAuth converts OAuth from v1alpha2 to v1alpha1.

func Convert_v1alpha2_PersesConfig_To_v1alpha1_PersesConfig added in v0.3.0

func Convert_v1alpha2_PersesConfig_To_v1alpha1_PersesConfig(in *v1alpha2.PersesConfig, out *PersesConfig, s conversion.Scope) error

Convert_v1alpha2_PersesConfig_To_v1alpha1_PersesConfig is an autogenerated conversion function.

func Convert_v1alpha2_PersesDashboardList_To_v1alpha1_PersesDashboardList added in v0.3.0

func Convert_v1alpha2_PersesDashboardList_To_v1alpha1_PersesDashboardList(in *v1alpha2.PersesDashboardList, out *PersesDashboardList, s conversion.Scope) error

Convert_v1alpha2_PersesDashboardList_To_v1alpha1_PersesDashboardList is an autogenerated conversion function.

func Convert_v1alpha2_PersesDashboardSpec_To_v1alpha1_Dashboard added in v0.3.0

func Convert_v1alpha2_PersesDashboardSpec_To_v1alpha1_Dashboard(in *v1alpha2.PersesDashboardSpec, out *Dashboard, s conversion.Scope) error

Convert_v1alpha2_PersesDashboardSpec_To_v1alpha1_Dashboard converts a PersesDashboardSpec from v1alpha2 to v1alpha1.

func Convert_v1alpha2_PersesDashboardStatus_To_v1alpha1_PersesDashboardStatus added in v0.3.0

func Convert_v1alpha2_PersesDashboardStatus_To_v1alpha1_PersesDashboardStatus(in *v1alpha2.PersesDashboardStatus, out *PersesDashboardStatus, s conversion.Scope) error

Convert_v1alpha2_PersesDashboardStatus_To_v1alpha1_PersesDashboardStatus is an autogenerated conversion function.

func Convert_v1alpha2_PersesDashboard_To_v1alpha1_PersesDashboard added in v0.3.0

func Convert_v1alpha2_PersesDashboard_To_v1alpha1_PersesDashboard(in *v1alpha2.PersesDashboard, out *PersesDashboard, s conversion.Scope) error

Convert_v1alpha2_PersesDashboard_To_v1alpha1_PersesDashboard is an autogenerated conversion function.

func Convert_v1alpha2_PersesDatasourceList_To_v1alpha1_PersesDatasourceList added in v0.3.0

func Convert_v1alpha2_PersesDatasourceList_To_v1alpha1_PersesDatasourceList(in *v1alpha2.PersesDatasourceList, out *PersesDatasourceList, s conversion.Scope) error

Convert_v1alpha2_PersesDatasourceList_To_v1alpha1_PersesDatasourceList is an autogenerated conversion function.

func Convert_v1alpha2_PersesDatasourceStatus_To_v1alpha1_PersesDatasourceStatus added in v0.3.0

func Convert_v1alpha2_PersesDatasourceStatus_To_v1alpha1_PersesDatasourceStatus(in *v1alpha2.PersesDatasourceStatus, out *PersesDatasourceStatus, s conversion.Scope) error

Convert_v1alpha2_PersesDatasourceStatus_To_v1alpha1_PersesDatasourceStatus is an autogenerated conversion function.

func Convert_v1alpha2_PersesDatasource_To_v1alpha1_PersesDatasource added in v0.3.0

func Convert_v1alpha2_PersesDatasource_To_v1alpha1_PersesDatasource(in *v1alpha2.PersesDatasource, out *PersesDatasource, s conversion.Scope) error

Convert_v1alpha2_PersesDatasource_To_v1alpha1_PersesDatasource is an autogenerated conversion function.

func Convert_v1alpha2_PersesList_To_v1alpha1_PersesList added in v0.3.0

func Convert_v1alpha2_PersesList_To_v1alpha1_PersesList(in *v1alpha2.PersesList, out *PersesList, s conversion.Scope) error

Convert_v1alpha2_PersesList_To_v1alpha1_PersesList is an autogenerated conversion function.

func Convert_v1alpha2_PersesService_To_v1alpha1_PersesService added in v0.3.0

func Convert_v1alpha2_PersesService_To_v1alpha1_PersesService(in *v1alpha2.PersesService, out *PersesService, s conversion.Scope) error

Convert_v1alpha2_PersesService_To_v1alpha1_PersesService is an autogenerated conversion function.

func Convert_v1alpha2_PersesSpec_To_v1alpha1_PersesSpec added in v0.3.0

func Convert_v1alpha2_PersesSpec_To_v1alpha1_PersesSpec(in *v1alpha2.PersesSpec, out *PersesSpec, s conversion.Scope) error

Convert_v1alpha2_PersesSpec_To_v1alpha1_PersesSpec converts a PersesSpec from v1alpha2 to v1alpha1.

func Convert_v1alpha2_PersesStatus_To_v1alpha1_PersesStatus added in v0.3.0

func Convert_v1alpha2_PersesStatus_To_v1alpha1_PersesStatus(in *v1alpha2.PersesStatus, out *PersesStatus, s conversion.Scope) error

Convert_v1alpha2_PersesStatus_To_v1alpha1_PersesStatus converts a PersesStatus from v1alpha2 to v1alpha1.

func Convert_v1alpha2_Perses_To_v1alpha1_Perses added in v0.3.0

func Convert_v1alpha2_Perses_To_v1alpha1_Perses(in *v1alpha2.Perses, out *Perses, s conversion.Scope) error

Convert_v1alpha2_Perses_To_v1alpha1_Perses is an autogenerated conversion function.

func Convert_v1alpha2_SecretSource_To_v1alpha1_SecretSource added in v0.3.0

func Convert_v1alpha2_SecretSource_To_v1alpha1_SecretSource(in *v1alpha2.SecretSource, out *SecretSource, s conversion.Scope) error

Convert_v1alpha2_SecretSource_To_v1alpha1_SecretSource is an autogenerated conversion function.

func Convert_v1alpha2_StorageConfiguration_To_v1alpha1_StorageConfiguration added in v0.3.0

func Convert_v1alpha2_StorageConfiguration_To_v1alpha1_StorageConfiguration(in *v1alpha2.StorageConfiguration, out *StorageConfiguration, s conversion.Scope) error

Convert_v1alpha2_StorageConfiguration_To_v1alpha1_StorageConfiguration converts v1alpha2 storage to v1alpha1. Extracts StorageClass and Size from PersistentVolumeClaimTemplate.

func Convert_v1alpha2_TLS_To_v1alpha1_TLS added in v0.3.0

func Convert_v1alpha2_TLS_To_v1alpha1_TLS(in *v1alpha2.TLS, out *TLS, s conversion.Scope) error

Convert_v1alpha2_TLS_To_v1alpha1_TLS is an autogenerated conversion function.

func RegisterConversions added in v0.3.0

func RegisterConversions(s *runtime.Scheme) error

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

Types

type BasicAuth added in v0.1.11

type BasicAuth struct {
	SecretSource `json:",inline"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// Username for basic auth
	Username string `json:"username"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// Path to password
	PasswordPath string `json:"password_path"`
}

func (*BasicAuth) DeepCopy added in v0.1.11

func (in *BasicAuth) DeepCopy() *BasicAuth

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

func (*BasicAuth) DeepCopyInto added in v0.1.11

func (in *BasicAuth) DeepCopyInto(out *BasicAuth)

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

type Certificate added in v0.1.2

type Certificate struct {
	SecretSource `json:",inline"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// Path to Certificate
	CertPath string `json:"certPath"`
	// Path to Private key certificate
	// +optional
	PrivateKeyPath string `json:"privateKeyPath,omitempty"`
}

func (*Certificate) DeepCopy added in v0.1.2

func (in *Certificate) DeepCopy() *Certificate

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

func (*Certificate) DeepCopyInto added in v0.1.2

func (in *Certificate) DeepCopyInto(out *Certificate)

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

type Client added in v0.1.2

type Client struct {
	// BasicAuth basic auth config for perses client
	// +optional
	BasicAuth *BasicAuth `json:"basicAuth,omitempty"`
	// OAuth configuration for perses client
	// +optional
	OAuth *OAuth `json:"oauth,omitempty"`
	// TLS the equivalent to the tls_config for perses client
	// +optional
	TLS *TLS `json:"tls,omitempty"`

	// KubernetesAuth configuration for perses client
	// +optional
	KubernetesAuth *KubernetesAuth `json:"kubernetesAuth,omitempty"`
}

func (*Client) DeepCopy added in v0.1.2

func (in *Client) DeepCopy() *Client

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

func (*Client) DeepCopyInto added in v0.1.2

func (in *Client) DeepCopyInto(out *Client)

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

type Dashboard

type Dashboard struct {
	persesv1.DashboardSpec `json:",inline"`
}

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)

type Datasource

type Datasource struct {
	persesv1.DatasourceSpec `json:",inline"`
}

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)

type DatasourceSpec added in v0.1.10

type DatasourceSpec struct {
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +kubebuilder:validation:Required
	Config Datasource `json:"config"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Client *Client `json:"client,omitempty"`
}

func (*DatasourceSpec) DeepCopy added in v0.1.10

func (in *DatasourceSpec) DeepCopy() *DatasourceSpec

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

func (*DatasourceSpec) DeepCopyInto added in v0.1.10

func (in *DatasourceSpec) DeepCopyInto(out *DatasourceSpec)

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

type KubernetesAuth added in v0.1.11

type KubernetesAuth struct {
	// Enable kubernetes auth for perses client
	Enable bool `json:"enable"`
}

func (*KubernetesAuth) DeepCopy added in v0.1.11

func (in *KubernetesAuth) DeepCopy() *KubernetesAuth

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

func (*KubernetesAuth) DeepCopyInto added in v0.1.11

func (in *KubernetesAuth) DeepCopyInto(out *KubernetesAuth)

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

type Metadata added in v0.1.1

type Metadata struct {
	Labels      map[string]string `json:"labels,omitempty"`
	Annotations map[string]string `json:"annotations,omitempty"`
}

Metadata to add to deployed pods

func (*Metadata) DeepCopy added in v0.1.1

func (in *Metadata) DeepCopy() *Metadata

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

func (*Metadata) DeepCopyInto added in v0.1.1

func (in *Metadata) DeepCopyInto(out *Metadata)

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

type OAuth added in v0.1.11

type OAuth struct {
	SecretSource `json:",inline"`
	// Path to client id
	// +optional
	ClientIDPath string `json:"clientIDPath,omitempty"`
	// Path to client secret
	// +optional
	ClientSecretPath string `json:"clientSecretPath,omitempty"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:MinLength=1
	// TokenURL is the resource server's token endpoint
	// URL. This is a constant specific to each server.
	TokenURL string `json:"tokenURL"`
	// +optional
	// Scope specifies optional requested permissions.
	Scopes []string `json:"scopes,omitempty"`
	// +optional
	// EndpointParams specifies additional parameters for requests to the token endpoint.
	EndpointParams map[string][]string `json:"endpointParams,omitempty"`
	// +optional
	// AuthStyle optionally specifies how the endpoint wants the
	// client ID & client secret sent. The zero value means to
	// auto-detect.
	AuthStyle int `json:"authStyle,omitempty"`
}

func (*OAuth) DeepCopy added in v0.1.11

func (in *OAuth) DeepCopy() *OAuth

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

func (*OAuth) DeepCopyInto added in v0.1.11

func (in *OAuth) DeepCopyInto(out *OAuth)

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

type Perses

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

	Spec   PersesSpec   `json:"spec,omitempty"`
	Status PersesStatus `json:"status,omitempty"`
}

Perses is the Schema for the perses API

func (*Perses) ConvertFrom added in v0.3.0

func (dst *Perses) ConvertFrom(srcRaw conv.Hub) error

ConvertFrom converts from the Hub version (v1alpha2) to Perses (v1alpha1)

func (*Perses) ConvertTo added in v0.3.0

func (src *Perses) ConvertTo(dstRaw conv.Hub) error

ConvertTo converts Perses (v1alpha1) to the Hub version (v1alpha2)

NOTE: BasicAuth.PasswordPath uses different JSON field names between versions:

  • v1alpha1: "password_path" (snake_case for backward compatibility)
  • v1alpha2: "passwordPath" (camelCase per Kubernetes conventions)

The conversion is handled automatically since the Go field name is identical.

func (*Perses) DeepCopy

func (in *Perses) DeepCopy() *Perses

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

func (*Perses) DeepCopyInto

func (in *Perses) DeepCopyInto(out *Perses)

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

func (*Perses) DeepCopyObject

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

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

func (*Perses) SetupWebhookWithManager added in v0.3.0

func (r *Perses) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will setup the manager to manage the webhooks

type PersesConfig

type PersesConfig struct {
	config.Config `json:",inline"`
}

func (*PersesConfig) DeepCopy

func (in *PersesConfig) DeepCopy() *PersesConfig

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

func (*PersesConfig) DeepCopyInto

func (in *PersesConfig) DeepCopyInto(out *PersesConfig)

type PersesDashboard

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

	Spec   Dashboard             `json:"spec,omitempty"`
	Status PersesDashboardStatus `json:"status,omitempty"`
}

PersesDashboard is the Schema for the persesdashboards API

func (*PersesDashboard) ConvertFrom added in v0.3.0

func (dst *PersesDashboard) ConvertFrom(srcRaw conv.Hub) error

ConvertFrom converts from the Hub version (v1alpha2) to PersesDashboard (v1alpha1)

func (PersesDashboard) ConvertTo added in v0.3.0

func (src PersesDashboard) ConvertTo(dstRaw conv.Hub) error

ConvertTo converts PersesDashboard (v1alpha1) to the Hub version (v1alpha2)

func (*PersesDashboard) DeepCopy

func (in *PersesDashboard) DeepCopy() *PersesDashboard

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

func (*PersesDashboard) DeepCopyInto

func (in *PersesDashboard) DeepCopyInto(out *PersesDashboard)

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

func (*PersesDashboard) DeepCopyObject

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

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

func (*PersesDashboard) SetupWebhookWithManager added in v0.3.0

func (p *PersesDashboard) SetupWebhookWithManager(mgr ctrl.Manager) error

type PersesDashboardList

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

PersesDashboardList contains a list of PersesDashboard

func (*PersesDashboardList) DeepCopy

func (in *PersesDashboardList) DeepCopy() *PersesDashboardList

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

func (*PersesDashboardList) DeepCopyInto

func (in *PersesDashboardList) DeepCopyInto(out *PersesDashboardList)

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

func (*PersesDashboardList) DeepCopyObject

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

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

type PersesDashboardStatus

type PersesDashboardStatus struct {
	// +operator-sdk:csv:customresourcedefinitions:type=status
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

PersesDashboardStatus defines the observed state of PersesDashboard

func (*PersesDashboardStatus) DeepCopy

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

func (*PersesDashboardStatus) DeepCopyInto

func (in *PersesDashboardStatus) DeepCopyInto(out *PersesDashboardStatus)

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

type PersesDatasource

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

	Spec   DatasourceSpec         `json:"spec,omitempty"`
	Status PersesDatasourceStatus `json:"status,omitempty"`
}

PersesDatasource is the Schema for the PersesDatasources API

func (*PersesDatasource) ConvertFrom added in v0.3.0

func (dst *PersesDatasource) ConvertFrom(srcRaw conv.Hub) error

ConvertFrom converts from the Hub version (v1alpha2) to PersesDatasource (v1alpha1)

func (*PersesDatasource) ConvertTo added in v0.3.0

func (src *PersesDatasource) ConvertTo(dstRaw conv.Hub) error

ConvertTo converts PersesDatasource (v1alpha1) to the Hub version (v1alpha2)

NOTE: BasicAuth.PasswordPath uses different JSON field names between versions:

  • v1alpha1: "password_path" (snake_case for backward compatibility)
  • v1alpha2: "passwordPath" (camelCase per Kubernetes conventions)

The conversion is handled automatically since the Go field name is identical.

func (*PersesDatasource) DeepCopy

func (in *PersesDatasource) DeepCopy() *PersesDatasource

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

func (*PersesDatasource) DeepCopyInto

func (in *PersesDatasource) DeepCopyInto(out *PersesDatasource)

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

func (*PersesDatasource) DeepCopyObject

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

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

func (*PersesDatasource) SetupWebhookWithManager added in v0.3.0

func (p *PersesDatasource) SetupWebhookWithManager(mgr ctrl.Manager) error

type PersesDatasourceList

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

PersesDatasourceList contains a list of PersesDatasource

func (*PersesDatasourceList) DeepCopy

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

func (*PersesDatasourceList) DeepCopyInto

func (in *PersesDatasourceList) DeepCopyInto(out *PersesDatasourceList)

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

func (*PersesDatasourceList) DeepCopyObject

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

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

type PersesDatasourceStatus

type PersesDatasourceStatus struct {
	// +operator-sdk:csv:customresourcedefinitions:type=status
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

PersesDatasourceStatus defines the observed state of PersesDatasource

func (*PersesDatasourceStatus) DeepCopy

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

func (*PersesDatasourceStatus) DeepCopyInto

func (in *PersesDatasourceStatus) DeepCopyInto(out *PersesDatasourceStatus)

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

type PersesList

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

PersesList contains a list of Perses

func (*PersesList) DeepCopy

func (in *PersesList) DeepCopy() *PersesList

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

func (*PersesList) DeepCopyInto

func (in *PersesList) DeepCopyInto(out *PersesList)

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

func (*PersesList) DeepCopyObject

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

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

type PersesService added in v0.1.4

type PersesService struct {
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Name string `json:"name,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*PersesService) DeepCopy added in v0.1.4

func (in *PersesService) DeepCopy() *PersesService

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

func (*PersesService) DeepCopyInto added in v0.1.4

func (in *PersesService) DeepCopyInto(out *PersesService)

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

type PersesSpec

type PersesSpec struct {
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Metadata *Metadata `json:"metadata,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	// Perses client configuration
	Client *Client `json:"client,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Config PersesConfig `json:"config,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// Args extra arguments to pass to perses
	Args []string `json:"args,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:validation:Maximum=65535
	// +kubebuilder:default=8080
	ContainerPort int32 `json:"containerPort,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Replicas *int32 `json:"replicas,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	Affinity *corev1.Affinity `json:"affinity,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	// Image specifies the container image that should be used for the Perses deployment.
	Image string `json:"image,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	// service specifies the service configuration for the perses instance
	Service *PersesService `json:"service,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	ReadinessProbe *corev1.Probe `json:"readinessProbe,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	// tls specifies the tls configuration for the perses instance
	TLS *TLS `json:"tls,omitempty"`
	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +kubebuilder:default:={size: "1Gi"}
	// +optional
	// Storage configuration used by the StatefulSet
	Storage *StorageConfiguration `json:"storage,omitempty"`

	// +operator-sdk:csv:customresourcedefinitions:type=spec
	// +optional
	// ServiceAccountName is the name of the service account to use for the perses deployment or statefulset.
	ServiceAccountName string `json:"serviceAccountName,omitempty"`
}

PersesSpec defines the desired state of Perses

func (*PersesSpec) DeepCopy

func (in *PersesSpec) DeepCopy() *PersesSpec

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

func (*PersesSpec) DeepCopyInto

func (in *PersesSpec) DeepCopyInto(out *PersesSpec)

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

type PersesStatus

type PersesStatus struct {
	// +operator-sdk:csv:customresourcedefinitions:type=status
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

PersesStatus defines the observed state of Perses

func (*PersesStatus) DeepCopy

func (in *PersesStatus) DeepCopy() *PersesStatus

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

func (*PersesStatus) DeepCopyInto

func (in *PersesStatus) DeepCopyInto(out *PersesStatus)

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

type SecretSource added in v0.1.11

type SecretSource struct {
	// +kubebuilder:validation:Enum=secret;configmap;file
	// +kubebuilder:validation:Required
	// Type source type of secret
	Type SecretSourceType `json:"type"`
	// Name of basic auth k8s resource (when type is secret or configmap)
	// +optional
	Name string `json:"name,omitempty"`
	// Namespace of certificate k8s resource (when type is secret or configmap)
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

SecretSource configuration for a perses secret source

func (*SecretSource) DeepCopy added in v0.1.11

func (in *SecretSource) DeepCopy() *SecretSource

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

func (*SecretSource) DeepCopyInto added in v0.1.11

func (in *SecretSource) DeepCopyInto(out *SecretSource)

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

type SecretSourceType added in v0.1.11

type SecretSourceType string

SecretSourceType types of secret sources in k8s

const (
	SecretSourceTypeSecret    SecretSourceType = "secret"
	SecretSourceTypeConfigMap SecretSourceType = "configmap"
	SecretSourceTypeFile      SecretSourceType = "file"
)

type StorageConfiguration added in v0.1.11

type StorageConfiguration struct {
	// StorageClass to use for PVCs.
	// If not specified, will use the default storage class
	// +optional
	StorageClass *string `json:"storageClass,omitempty"`
	// Size of the storage.
	// cannot be decreased.
	// +optional
	Size resource.Quantity `json:"size,omitempty"`
}

StorageConfiguration is the configuration used to create and reconcile PVCs

func (*StorageConfiguration) DeepCopy added in v0.1.11

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

func (*StorageConfiguration) DeepCopyInto added in v0.1.11

func (in *StorageConfiguration) DeepCopyInto(out *StorageConfiguration)

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

type TLS added in v0.1.2

type TLS struct {
	// Enable TLS connection to perses
	Enable bool `json:"enable"`
	// CaCert to verify the perses certificate
	// +optional
	CaCert *Certificate `json:"caCert,omitempty"`
	// UserCert client cert/key for mTLS
	// +optional
	UserCert *Certificate `json:"userCert,omitempty"`
	// InsecureSkipVerify skip verify of perses certificate
	// +optional
	InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty"`
}

func (*TLS) DeepCopy added in v0.1.2

func (in *TLS) DeepCopy() *TLS

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

func (*TLS) DeepCopyInto added in v0.1.2

func (in *TLS) DeepCopyInto(out *TLS)

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