v1alpha1

package
v0.1.10-0...-801af29 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

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

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

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

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

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

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

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

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

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

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

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

Convert_v1alpha1_OAuth_To_v1alpha2_OAuth is an autogenerated conversion function.

func Convert_v1alpha1_PersesConfig_To_v1alpha2_PersesConfig

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Convert_v1alpha1_StorageConfiguration_To_v1alpha2_StorageConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_TLS_To_v1alpha2_TLS

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

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

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

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

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

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

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

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

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

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

Convert_v1alpha2_OAuth_To_v1alpha1_OAuth is an autogenerated conversion function.

func Convert_v1alpha2_PersesConfig_To_v1alpha1_PersesConfig

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

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

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

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

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

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

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

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

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

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

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

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

Convert_v1alpha2_PersesStatus_To_v1alpha1_PersesStatus is an autogenerated conversion function.

func Convert_v1alpha2_Perses_To_v1alpha1_Perses

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

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

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

Convert_v1alpha2_StorageConfiguration_To_v1alpha1_StorageConfiguration is an autogenerated conversion function.

func Convert_v1alpha2_TLS_To_v1alpha1_TLS

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

func RegisterConversions(s *runtime.Scheme) error

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

Types

type BasicAuth

type BasicAuth struct {
	SecretSource `json:",inline"`
	// Username for basic auth
	Username string `json:"username"`
	// Path to password
	PasswordPath string `json:"password_path"`
}

func (*BasicAuth) DeepCopy

func (in *BasicAuth) DeepCopy() *BasicAuth

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

func (*BasicAuth) DeepCopyInto

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

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

func (*Certificate) DeepCopy

func (in *Certificate) DeepCopy() *Certificate

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

func (*Certificate) DeepCopyInto

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

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

func (in *Client) DeepCopy() *Client

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

func (*Client) DeepCopyInto

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

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

func (*DatasourceSpec) DeepCopy

func (in *DatasourceSpec) DeepCopy() *DatasourceSpec

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

func (*DatasourceSpec) DeepCopyInto

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

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

func (*KubernetesAuth) DeepCopy

func (in *KubernetesAuth) DeepCopy() *KubernetesAuth

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

func (*KubernetesAuth) DeepCopyInto

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

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

func (in *Metadata) DeepCopy() *Metadata

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

func (*Metadata) DeepCopyInto

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

type OAuth struct {
	SecretSource `json:",inline"`
	// Path to client id
	// +optional
	ClientIDPath string `json:"clientIDPath"`
	// Path to client secret
	// +optional
	ClientSecretPath string `json:"clientSecretPath"`
	// 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

func (in *OAuth) DeepCopy() *OAuth

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

func (*OAuth) DeepCopyInto

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

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

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

func (*Perses) ConvertTo

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

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

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

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

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

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

func (PersesDashboard) ConvertTo

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

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

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

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

func (*PersesDatasource) ConvertTo

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

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

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

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

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

func (in *PersesService) DeepCopy() *PersesService

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

func (*PersesService) DeepCopyInto

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

type SecretSource struct {
	// +kubebuilder:validation:Enum:={"secret", "configmap", "file"}
	// 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"`
	// Namsespace 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

func (in *SecretSource) DeepCopy() *SecretSource

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

func (*SecretSource) DeepCopyInto

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

type SecretSourceType string

SecretSourceType types of secret sources in k8s

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

type StorageConfiguration

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

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

func (*StorageConfiguration) DeepCopyInto

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

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

func (in *TLS) DeepCopy() *TLS

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

func (*TLS) DeepCopyInto

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