v1alpha1

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the plural.sh v1alpha1 API group +kubebuilder:object:generate=true +groupName=platform.plural.sh

Index

Constants

View Source
const (
	Db  ProxyType = "db"
	Sh  ProxyType = "sh"
	Web ProxyType = "web"

	Postgres EngineType = "postgres"
	Mysql    EngineType = "mysql"
)
View Source
const (
	PrometheusDatasourceType DatasourceType = "prometheus"
	KubernetesDatasourceType DatasourceType = "kubernetes"
	NodesDatasourceType      DatasourceType = "nodes"

	ConfigurationActionType ActionType = "config"

	DeploymentResourceType  ResourceType = "deployment"
	StatefulsetResourceType ResourceType = "statefulset"

	CPUFormatType    FormatType = "cpu"
	MemoryFormatType FormatType = "memory"
	NoFormatType     FormatType = "none"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "platform.plural.sh", 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
)
View Source
var SchemeGroupVersion = GroupVersion

SchemeGroupVersion is group version used to register these objects.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type ActionType

type ActionType string

the type for this runbook action +kubebuilder:validation:Enum=config

type ConfigurationAction

type ConfigurationAction struct {
	// The updates you want to perform
	Updates []*PathUpdate `json:"updates"`

	// stateful sets to clean before rebuilding (for pvc resizes)
	// +optional
	StatefulSets []*StatefulsetResize `json:"statefulSets"`
}

A representation of a plural configuration update

func (*ConfigurationAction) DeepCopy

func (in *ConfigurationAction) DeepCopy() *ConfigurationAction

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

func (*ConfigurationAction) DeepCopyInto

func (in *ConfigurationAction) DeepCopyInto(out *ConfigurationAction)

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

type ConfigurationInputType

type ConfigurationInputType string

the types of input values we accept +kubebuilder:validation:Enum=string;enum;int;list;bool

type ConfigurationOverlay

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

	Spec   ConfigurationOverlaySpec   `json:"spec,omitempty"`
	Status ConfigurationOverlayStatus `json:"status,omitempty"`
}

ConfigurationOverlay is the Schema for the configurationoverlays API

func (*ConfigurationOverlay) DeepCopy

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

func (*ConfigurationOverlay) DeepCopyInto

func (in *ConfigurationOverlay) DeepCopyInto(out *ConfigurationOverlay)

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

func (*ConfigurationOverlay) DeepCopyObject

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

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

type ConfigurationOverlayList

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

ConfigurationOverlayList contains a list of ConfigurationOverlay

func (*ConfigurationOverlayList) DeepCopy

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

func (*ConfigurationOverlayList) DeepCopyInto

func (in *ConfigurationOverlayList) DeepCopyInto(out *ConfigurationOverlayList)

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

func (*ConfigurationOverlayList) DeepCopyObject

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

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

type ConfigurationOverlaySpec

type ConfigurationOverlaySpec struct {
	// Name of the configuration input field
	Name string `json:"name"`

	// Top level folder this overlay should live in, default is "general"
	// +optional
	Folder string `json:"folder"`

	// Subfolder this overlay lives in, default is "all"
	// +optional
	Subfolder string `json:"subfolder"`

	// documentation for the specific field
	Documentation string `json:"documentation"`

	// configuration path to update against
	Updates []OverlayUpdate `json:"updates"`

	// the datatype for the value given to the input field
	// +optional
	InputType ConfigurationInputType `json:"inputType"`

	// the values for enum input types
	// +optional
	InputValues []string `json:"inputValues"`

	// type of configuration value
	// +optional
	Type ConfigurationType `json:"type"`
}

ConfigurationOverlaySpec defines the desired state of ConfigurationOverlay

func (*ConfigurationOverlaySpec) DeepCopy

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

func (*ConfigurationOverlaySpec) DeepCopyInto

func (in *ConfigurationOverlaySpec) DeepCopyInto(out *ConfigurationOverlaySpec)

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

type ConfigurationOverlayStatus

type ConfigurationOverlayStatus struct {
}

ConfigurationOverlayStatus defines the observed state of ConfigurationOverlay

func (*ConfigurationOverlayStatus) DeepCopy

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

func (*ConfigurationOverlayStatus) DeepCopyInto

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

type ConfigurationType

type ConfigurationType string

the types of configuration this overlay can be applied to +kubebuilder:validation:Enum=helm;terraform

type Credentials

type Credentials struct {
	// username to auth with
	// +optional
	User string `json:"user"`
	// secret storing auth info
	Secret string `json:"secret"`
	// key in the secret to use
	Key string `json:"key"`
	// key in the secret that stores the username
	// +optional
	UserKey string `json:"userKey"`
}

Credentials for authenticating against a proxied resource

func (*Credentials) DeepCopy

func (in *Credentials) DeepCopy() *Credentials

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

func (*Credentials) DeepCopyInto

func (in *Credentials) DeepCopyInto(out *Credentials)

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

type Dashboard

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

	Spec   DashboardSpec   `json:"spec,omitempty"`
	Status DashboardStatus `json:"status,omitempty"`
}

Dashboard is the Schema for the dashboards API

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.

func (*Dashboard) DeepCopyObject

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

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

type DashboardGraph

type DashboardGraph struct {
	// specify how y values should be rendered. Can be any of [bytes, percent, none]
	// +optional
	Format GraphFormat `json:"format,omitempty"`

	// Name of this graph
	Name string `json:"name"`

	// the queries rendered in this graph
	Queries []*GraphQuery `json:"queries"`
}

Specification for a single timeseries graph in a dashboard

func (*DashboardGraph) DeepCopy

func (in *DashboardGraph) DeepCopy() *DashboardGraph

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

func (*DashboardGraph) DeepCopyInto

func (in *DashboardGraph) DeepCopyInto(out *DashboardGraph)

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

type DashboardLabelSpec

type DashboardLabelSpec struct {
	// label name
	Name string `json:"name"`

	// query to fetch the labels from
	// +optional
	Query *LabelQuery `json:"query,omitempty"`

	// statically specified values
	// +optional
	Values []string `json:"values,omitempty"`
}

DashboardLabelSpec is a structure specifying labels to filter against in a dashboard these can be statically declared or lazily fetched against the backend metric source

func (*DashboardLabelSpec) DeepCopy

func (in *DashboardLabelSpec) DeepCopy() *DashboardLabelSpec

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

func (*DashboardLabelSpec) DeepCopyInto

func (in *DashboardLabelSpec) DeepCopyInto(out *DashboardLabelSpec)

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

type DashboardList

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

DashboardList contains a list of Dashboard

func (*DashboardList) DeepCopy

func (in *DashboardList) DeepCopy() *DashboardList

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

func (*DashboardList) DeepCopyInto

func (in *DashboardList) DeepCopyInto(out *DashboardList)

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

func (*DashboardList) DeepCopyObject

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

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

type DashboardSpec

type DashboardSpec struct {
	// the name for this dashboard
	Name string `json:"name,omitempty"`
	// description for this dashboard
	Description string `json:"description,omitempty"`

	// possible time windows for the dashboard to display
	Timeslices []string `json:"timeslices"`

	// a list of labels to fetch for filtering dashboard results
	Labels []*DashboardLabelSpec `json:"labels"`

	// the starting time window for dashboard rendering
	DefaultTime string `json:"defaultTime"`

	// the graphs to render in the dashboard
	Graphs []*DashboardGraph `json:"graphs"`
}

DashboardSpec defines the desired state of Dashboard

func (*DashboardSpec) DeepCopy

func (in *DashboardSpec) DeepCopy() *DashboardSpec

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

func (*DashboardSpec) DeepCopyInto

func (in *DashboardSpec) DeepCopyInto(out *DashboardSpec)

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

type DashboardStatus

type DashboardStatus struct {
}

DashboardStatus defines the observed state of Dashboard

func (*DashboardStatus) DeepCopy

func (in *DashboardStatus) DeepCopy() *DashboardStatus

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

func (*DashboardStatus) DeepCopyInto

func (in *DashboardStatus) DeepCopyInto(out *DashboardStatus)

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

type DatasourceType

type DatasourceType string

the type for this datasource +kubebuilder:validation:Enum=prometheus;kubernetes;nodes

type DbConfig

type DbConfig struct {
	// name of the database to connect to
	Name string `json:"name"`
	// db engine
	Engine EngineType `json:"engine"`
	// port to use
	Port int32 `json:"port"`
}

additional configuration for database proxies

func (*DbConfig) DeepCopy

func (in *DbConfig) DeepCopy() *DbConfig

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

func (*DbConfig) DeepCopyInto

func (in *DbConfig) DeepCopyInto(out *DbConfig)

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

type DefaultStorageClass

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

	Spec   DefaultStorageClassSpec   `json:"spec,omitempty"`
	Status DefaultStorageClassStatus `json:"status,omitempty"`
}

DefaultStorageClass is the Schema for the defaultstorageclasses API

func (*DefaultStorageClass) DeepCopy

func (in *DefaultStorageClass) DeepCopy() *DefaultStorageClass

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

func (*DefaultStorageClass) DeepCopyInto

func (in *DefaultStorageClass) DeepCopyInto(out *DefaultStorageClass)

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

func (*DefaultStorageClass) DeepCopyObject

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

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

type DefaultStorageClassList

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

DefaultStorageClassList contains a list of DefaultStorageClass

func (*DefaultStorageClassList) DeepCopy

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

func (*DefaultStorageClassList) DeepCopyInto

func (in *DefaultStorageClassList) DeepCopyInto(out *DefaultStorageClassList)

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

func (*DefaultStorageClassList) DeepCopyObject

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

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

type DefaultStorageClassSpec

type DefaultStorageClassSpec struct {
	Name string `json:"name,omitempty"`
}

DefaultStorageClassSpec defines the desired state of DefaultStorageClass

func (*DefaultStorageClassSpec) DeepCopy

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

func (*DefaultStorageClassSpec) DeepCopyInto

func (in *DefaultStorageClassSpec) DeepCopyInto(out *DefaultStorageClassSpec)

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

type DefaultStorageClassStatus

type DefaultStorageClassStatus struct {
}

DefaultStorageClassStatus defines the observed state of DefaultStorageClass

func (*DefaultStorageClassStatus) DeepCopy

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

func (*DefaultStorageClassStatus) DeepCopyInto

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

type EngineType

type EngineType string

the rdbms used in this proxy +kubebuilder:validation:Enum=postgres;mysql

type FormatType

type FormatType string

the format for a prometheus datasource value +kubebuilder:validation:Enum=cpu;memory;none

type GraphFormat

type GraphFormat string

the format for graph x or y values +kubebuilder:validation:Enum=bytes;percent;none

const (
	// value is presented in bytes (auto-normalizing to human readable format)
	Bytes GraphFormat = "bytes"
	// value is in percentage points
	Percent GraphFormat = "percent"
	// raw formatting
	None GraphFormat = "none"
)

type GraphQuery

type GraphQuery struct {
	// the query to use
	Query string `json:"query"`

	// The format for the legend
	// +optional
	LegendFormat string `json:"legendFormat"`

	// The legend name for this query
	// +optional
	Legend string `json:"legend"`
}

Specification for a graph query in a dashboard

func (*GraphQuery) DeepCopy

func (in *GraphQuery) DeepCopy() *GraphQuery

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

func (*GraphQuery) DeepCopyInto

func (in *GraphQuery) DeepCopyInto(out *GraphQuery)

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

type KubernetesDatasource

type KubernetesDatasource struct {
	// the kubernetes resource kind, eg deployment
	Resource ResourceType `json:"resource"`

	// the name of this resource
	Name string `json:"name"`
}

KubernetesDatasource represents a query to the kubernetes api. It only supports individual resources

func (*KubernetesDatasource) DeepCopy

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

func (*KubernetesDatasource) DeepCopyInto

func (in *KubernetesDatasource) DeepCopyInto(out *KubernetesDatasource)

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

type LabelQuery

type LabelQuery struct {
	// the backend query to use
	Query string `json:"query"`
	// label name
	Label string `json:"label"`
}

A means of lazily fetching labels for a dashboard

func (*LabelQuery) DeepCopy

func (in *LabelQuery) DeepCopy() *LabelQuery

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

func (*LabelQuery) DeepCopyInto

func (in *LabelQuery) DeepCopyInto(out *LabelQuery)

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

type License

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

	Spec   LicenseSpec   `json:"spec,omitempty"`
	Status LicenseStatus `json:"status,omitempty"`
}

License is the Schema for the licenses API

func (*License) DeepCopy

func (in *License) DeepCopy() *License

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

func (*License) DeepCopyInto

func (in *License) DeepCopyInto(out *License)

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

func (*License) DeepCopyObject

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

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

type LicenseFeature

type LicenseFeature struct {
	// the name of the feature
	Name string `json:"name"`
	// description of the feature
	Description string `json:"description"`
}

LicenseFeature defines a feature allowed by this license

func (*LicenseFeature) DeepCopy

func (in *LicenseFeature) DeepCopy() *LicenseFeature

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

func (*LicenseFeature) DeepCopyInto

func (in *LicenseFeature) DeepCopyInto(out *LicenseFeature)

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

type LicenseList

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

LicenseList contains a list of License

func (*LicenseList) DeepCopy

func (in *LicenseList) DeepCopy() *LicenseList

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

func (*LicenseList) DeepCopyInto

func (in *LicenseList) DeepCopyInto(out *LicenseList)

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

func (*LicenseList) DeepCopyObject

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

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

type LicensePolicy

type LicensePolicy struct {
	// whether this is on a free plan
	Free bool `json:"free"`
	// the features allowed for this plan
	// +optional
	Features []*LicenseFeature `json:"features"`
	// limits attached to this plan
	// +optional
	Limits map[string]int64 `json:"limits"`
	// the plan you're on
	// +optional
	Plan string `json:"plan"`
}

LicensePolicy defines the parameters for a license

func (*LicensePolicy) DeepCopy

func (in *LicensePolicy) DeepCopy() *LicensePolicy

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

func (*LicensePolicy) DeepCopyInto

func (in *LicensePolicy) DeepCopyInto(out *LicensePolicy)

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

type LicenseSpec

type LicenseSpec struct {
	// the reference to a secret containing your license key
	SecretRef *corev1.SecretKeySelector `json:"secretRef"`
}

LicenseSpec defines the desired state of License

func (*LicenseSpec) DeepCopy

func (in *LicenseSpec) DeepCopy() *LicenseSpec

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

func (*LicenseSpec) DeepCopyInto

func (in *LicenseSpec) DeepCopyInto(out *LicenseSpec)

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

type LicenseStatus

type LicenseStatus struct {
	// the policy this license adheres to
	Policy *LicensePolicy `json:"policy"`

	// additional secrets attached to this license
	// +optional
	Secrets map[string]string `json:"secrets"`
}

LicenseStatus defines the observed state of License

func (*LicenseStatus) DeepCopy

func (in *LicenseStatus) DeepCopy() *LicenseStatus

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

func (*LicenseStatus) DeepCopyInto

func (in *LicenseStatus) DeepCopyInto(out *LicenseStatus)

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

type LogFilter

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

	Spec   LogFilterSpec   `json:"spec,omitempty"`
	Status LogFilterStatus `json:"status,omitempty"`
}

LogFilter is the Schema for the logfilters API

func (*LogFilter) DeepCopy

func (in *LogFilter) DeepCopy() *LogFilter

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

func (*LogFilter) DeepCopyInto

func (in *LogFilter) DeepCopyInto(out *LogFilter)

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

func (*LogFilter) DeepCopyObject

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

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

type LogFilterLabel

type LogFilterLabel struct {
	// name of the label
	Name string `json:"name"`
	// value of the label
	Value string `json:"value"`
}

A label to filter logs against

func (*LogFilterLabel) DeepCopy

func (in *LogFilterLabel) DeepCopy() *LogFilterLabel

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

func (*LogFilterLabel) DeepCopyInto

func (in *LogFilterLabel) DeepCopyInto(out *LogFilterLabel)

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

type LogFilterList

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

LogFilterList contains a list of LogFilter

func (*LogFilterList) DeepCopy

func (in *LogFilterList) DeepCopy() *LogFilterList

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

func (*LogFilterList) DeepCopyInto

func (in *LogFilterList) DeepCopyInto(out *LogFilterList)

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

func (*LogFilterList) DeepCopyObject

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

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

type LogFilterSpec

type LogFilterSpec struct {
	// name for this logfilter
	Name string `json:"name"`
	// description for this logfilter
	Description string `json:"description"`
	// loki query to use for the filter
	// +optional
	Query string `json:"query,omitempty"`
	// labels to query against
	// +optional
	Labels []*LogFilterLabel `json:"labels,omitempty"`
}

LogFilterSpec defines the desired state of LogFilter

func (*LogFilterSpec) DeepCopy

func (in *LogFilterSpec) DeepCopy() *LogFilterSpec

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

func (*LogFilterSpec) DeepCopyInto

func (in *LogFilterSpec) DeepCopyInto(out *LogFilterSpec)

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

type LogFilterStatus

type LogFilterStatus struct {
}

LogFilterStatus defines the observed state of LogFilter

func (*LogFilterStatus) DeepCopy

func (in *LogFilterStatus) DeepCopy() *LogFilterStatus

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

func (*LogFilterStatus) DeepCopyInto

func (in *LogFilterStatus) DeepCopyInto(out *LogFilterStatus)

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

type LogTail

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

	Spec   LogTailSpec   `json:"spec,omitempty"`
	Status LogTailStatus `json:"status,omitempty"`
}

LogTail is the Schema for the logtails API

func (*LogTail) DeepCopy

func (in *LogTail) DeepCopy() *LogTail

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

func (*LogTail) DeepCopyInto

func (in *LogTail) DeepCopyInto(out *LogTail)

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

func (*LogTail) DeepCopyObject

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

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

type LogTailList

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

LogTailList contains a list of LogTail

func (*LogTailList) DeepCopy

func (in *LogTailList) DeepCopy() *LogTailList

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

func (*LogTailList) DeepCopyInto

func (in *LogTailList) DeepCopyInto(out *LogTailList)

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

func (*LogTailList) DeepCopyObject

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

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

type LogTailSpec

type LogTailSpec struct {
	// the kubectl-type target to use for this log tail, eg deployment/name-of-my-deployment
	Target string `json:"target"`
	// whether to interactively follow the logs
	Follow bool `json:"follow"`
	// number of lines to tail
	Limit int32 `json:"limit"`
	// The specific container to tail
	// +optional
	Container string `json:"container,omitempty"`
}

LogTailSpec defines the desired state of LogTail

func (*LogTailSpec) DeepCopy

func (in *LogTailSpec) DeepCopy() *LogTailSpec

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

func (*LogTailSpec) DeepCopyInto

func (in *LogTailSpec) DeepCopyInto(out *LogTailSpec)

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

type LogTailStatus

type LogTailStatus struct {
}

LogTailStatus defines the observed state of LogTail

func (*LogTailStatus) DeepCopy

func (in *LogTailStatus) DeepCopy() *LogTailStatus

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

func (*LogTailStatus) DeepCopyInto

func (in *LogTailStatus) DeepCopyInto(out *LogTailStatus)

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

type OverlayUpdate

type OverlayUpdate struct {
	// the path to update with
	Path []string `json:"path"`
}

OverlayUpdate defines an update to perform for this update

func (*OverlayUpdate) DeepCopy

func (in *OverlayUpdate) DeepCopy() *OverlayUpdate

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

func (*OverlayUpdate) DeepCopyInto

func (in *OverlayUpdate) DeepCopyInto(out *OverlayUpdate)

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

type PasswordSecretRef

type PasswordSecretRef struct {
	// The Secret to select from.
	corev1.LocalObjectReference `json:",inline"`

	// Key for Secret data
	Key string `json:"key"`
}

PasswordSecretRef the password secret reference

func (*PasswordSecretRef) DeepCopy

func (in *PasswordSecretRef) DeepCopy() *PasswordSecretRef

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

func (*PasswordSecretRef) DeepCopyInto

func (in *PasswordSecretRef) DeepCopyInto(out *PasswordSecretRef)

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

type PathUpdate

type PathUpdate struct {
	// path in the configuration to update
	Path []string `json:"path"`

	// the value to use from the args for this execution
	ValueFrom string `json:"valueFrom"`
}

An update to a configuration path

func (*PathUpdate) DeepCopy

func (in *PathUpdate) DeepCopy() *PathUpdate

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

func (*PathUpdate) DeepCopyInto

func (in *PathUpdate) DeepCopyInto(out *PathUpdate)

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

type PrometheusDatasource

type PrometheusDatasource struct {
	// the prometheus query
	Query string `json:"query"`

	// the format for the value returned
	Format FormatType `json:"format"`

	// the legend to use in the graph of this metric
	Legend string `json:"legend"`
}

PrometheusDatasource represents a query to prometheus to be used as a runbook datasource

func (*PrometheusDatasource) DeepCopy

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

func (*PrometheusDatasource) DeepCopyInto

func (in *PrometheusDatasource) DeepCopyInto(out *PrometheusDatasource)

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

type Proxy

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

	Spec   ProxySpec   `json:"spec,omitempty"`
	Status ProxyStatus `json:"status,omitempty"`
}

Proxy is the Schema for the proxies API

func (*Proxy) DeepCopy

func (in *Proxy) DeepCopy() *Proxy

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

func (*Proxy) DeepCopyInto

func (in *Proxy) DeepCopyInto(out *Proxy)

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

func (*Proxy) DeepCopyObject

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

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

type ProxyList

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

ProxyList contains a list of Proxy

func (*ProxyList) DeepCopy

func (in *ProxyList) DeepCopy() *ProxyList

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

func (*ProxyList) DeepCopyInto

func (in *ProxyList) DeepCopyInto(out *ProxyList)

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

func (*ProxyList) DeepCopyObject

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

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

type ProxySpec

type ProxySpec struct {
	// Description for this proxy spec
	// +optional
	Description string `json:"description,omitempty"`
	// the type of proxy to use, can be a db, shell or web proxy
	Type ProxyType `json:"type"`
	// selector to set up the proxy against
	Target string `json:"target"`
	// credentials to use when authenticating against a proxied resource
	// +optional
	Credentials *Credentials `json:"credentials"`

	// db-specific configuration for this proxy
	// +optional
	DbConfig *DbConfig `json:"dbConfig,omitempty"`

	// sh-specific configuration for this proxy
	// +optional
	ShConfig *ShConfig `json:"shConfig,omitempty"`

	// web-specific configuration for this proxy
	// +optional
	WebConfig *WebConfig `json:"webConfig,omitempty"`
}

ProxySpec defines the desired state of Proxy

func (*ProxySpec) DeepCopy

func (in *ProxySpec) DeepCopy() *ProxySpec

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

func (*ProxySpec) DeepCopyInto

func (in *ProxySpec) DeepCopyInto(out *ProxySpec)

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

type ProxyStatus

type ProxyStatus struct {
}

ProxyStatus defines the observed state of Proxy

func (*ProxyStatus) DeepCopy

func (in *ProxyStatus) DeepCopy() *ProxyStatus

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

func (*ProxyStatus) DeepCopyInto

func (in *ProxyStatus) DeepCopyInto(out *ProxyStatus)

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

type ProxyType

type ProxyType string

the type for this proxy +kubebuilder:validation:Enum=db;sh;web

type RegistryCredential

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

	Spec   RegistryCredentialSpec   `json:"spec"`
	Status RegistryCredentialStatus `json:"status,omitempty"`
}

func (*RegistryCredential) DeepCopy

func (in *RegistryCredential) DeepCopy() *RegistryCredential

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

func (*RegistryCredential) DeepCopyInto

func (in *RegistryCredential) DeepCopyInto(out *RegistryCredential)

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

func (*RegistryCredential) DeepCopyObject

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

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

func (*RegistryCredential) GetPasswordSecretName

func (r *RegistryCredential) GetPasswordSecretName() string

type RegistryCredentialList

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

RegistryCredentialList contains a list of RegistryCredential

func (*RegistryCredentialList) DeepCopy

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

func (*RegistryCredentialList) DeepCopyInto

func (in *RegistryCredentialList) DeepCopyInto(out *RegistryCredentialList)

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

func (*RegistryCredentialList) DeepCopyObject

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

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

type RegistryCredentialSpec

type RegistryCredentialSpec struct {
	// Registry username
	Username string `json:"username"`

	// Registry user email address
	Email string `json:"email"`

	// Registry FQDN
	Server string `json:"server"`

	// The password Secret to select from
	PasswordSecretRef PasswordSecretRef `json:"password"`
}

RegistryCredentialSpec is a specification of registry credentials

func (*RegistryCredentialSpec) DeepCopy

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

func (*RegistryCredentialSpec) DeepCopyInto

func (in *RegistryCredentialSpec) DeepCopyInto(out *RegistryCredentialSpec)

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

type RegistryCredentialStatus

type RegistryCredentialStatus struct {
}

RegistryCredentialStatus defines the observed state of RegistryCredential

func (*RegistryCredentialStatus) DeepCopy

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

func (*RegistryCredentialStatus) DeepCopyInto

func (in *RegistryCredentialStatus) DeepCopyInto(out *RegistryCredentialStatus)

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

type ResourceGroup

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

	Spec   ResourceGroupSpec   `json:"spec,omitempty"`
	Status ResourceGroupStatus `json:"status,omitempty"`
}

ResourceGroup is the Schema for the resourcegroups API

func (*ResourceGroup) DeepCopy

func (in *ResourceGroup) DeepCopy() *ResourceGroup

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

func (*ResourceGroup) DeepCopyInto

func (in *ResourceGroup) DeepCopyInto(out *ResourceGroup)

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

func (*ResourceGroup) DeepCopyObject

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

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

type ResourceGroupList

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

ResourceGroupList contains a list of ResourceGroup

func (*ResourceGroupList) DeepCopy

func (in *ResourceGroupList) DeepCopy() *ResourceGroupList

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

func (*ResourceGroupList) DeepCopyInto

func (in *ResourceGroupList) DeepCopyInto(out *ResourceGroupList)

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

func (*ResourceGroupList) DeepCopyObject

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

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

type ResourceGroupSpec

type ResourceGroupSpec struct {
	// the node selector to use for this group
	Selector corev1.NodeSelectorTerm `json:"selector"`
}

ResourceGroupSpec defines the desired state of ResourceGroup

func (*ResourceGroupSpec) DeepCopy

func (in *ResourceGroupSpec) DeepCopy() *ResourceGroupSpec

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

func (*ResourceGroupSpec) DeepCopyInto

func (in *ResourceGroupSpec) DeepCopyInto(out *ResourceGroupSpec)

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

type ResourceGroupStatus

type ResourceGroupStatus struct {
}

ResourceGroupStatus defines the observed state of ResourceGroup

func (*ResourceGroupStatus) DeepCopy

func (in *ResourceGroupStatus) DeepCopy() *ResourceGroupStatus

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

func (*ResourceGroupStatus) DeepCopyInto

func (in *ResourceGroupStatus) DeepCopyInto(out *ResourceGroupStatus)

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

type ResourceType

type ResourceType string

the type for this kubernetes resource +kubebuilder:validation:Enum=deployment;statefulset

type Runbook

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

	Spec   RunbookSpec   `json:"spec,omitempty"`
	Status RunbookStatus `json:"status,omitempty"`
}

Runbook is the Schema for the runbooks API

func (*Runbook) DeepCopy

func (in *Runbook) DeepCopy() *Runbook

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

func (*Runbook) DeepCopyInto

func (in *Runbook) DeepCopyInto(out *Runbook)

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

func (*Runbook) DeepCopyObject

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

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

type RunbookAction

type RunbookAction struct {
	// The name to reference this action
	Name string `json:"name"`

	// The type of this action, eg config or kubernetes
	Action ActionType `json:"action"`

	// The url to redirect to after executing this action
	// +optional
	RedirectTo string `json:"redirectTo"`

	// The details of a configuration action
	// +optional
	Configuration *ConfigurationAction `json:"configuration,omitempty"`
}

RunbookAction represents an action to be performed in a runbook

func (*RunbookAction) DeepCopy

func (in *RunbookAction) DeepCopy() *RunbookAction

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

func (*RunbookAction) DeepCopyInto

func (in *RunbookAction) DeepCopyInto(out *RunbookAction)

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

type RunbookAlert

type RunbookAlert struct {
	// the name of the alert
	Name string `json:"name"`
}

RunbookAlert represents an alert to join to this runbook

func (*RunbookAlert) DeepCopy

func (in *RunbookAlert) DeepCopy() *RunbookAlert

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

func (*RunbookAlert) DeepCopyInto

func (in *RunbookAlert) DeepCopyInto(out *RunbookAlert)

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

type RunbookAlertStatus

type RunbookAlertStatus struct {
	// the name of the alert
	Name string `json:"name"`

	// the time it fired
	StartsAt string `json:"startsAt"`

	// the alert annotations
	Annotations map[string]string `json:"annotations"`

	// the alert labels
	Labels map[string]string `json:"labels"`

	// the fingerprint of this alert
	Fingerprint string `json:"fingerprint"`
}

RunbookAlertStatus represents the status of an alert joined to a runbook

func (*RunbookAlertStatus) DeepCopy

func (in *RunbookAlertStatus) DeepCopy() *RunbookAlertStatus

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

func (*RunbookAlertStatus) DeepCopyInto

func (in *RunbookAlertStatus) DeepCopyInto(out *RunbookAlertStatus)

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

type RunbookDatasource

type RunbookDatasource struct {
	// The name to reference this datasource
	Name string `json:"name"`

	// The type of this datasource
	Type DatasourceType `json:"type"`

	// a prometheus query spec
	// +optional
	Prometheus *PrometheusDatasource `json:"prometheus,omitempty"`

	// a kubernetes datasource spec
	// +optional
	Kubernetes *KubernetesDatasource `json:"kubernetes,omitempty"`
}

RunbookDatasource defines the query to extract data for a runbook

func (*RunbookDatasource) DeepCopy

func (in *RunbookDatasource) DeepCopy() *RunbookDatasource

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

func (*RunbookDatasource) DeepCopyInto

func (in *RunbookDatasource) DeepCopyInto(out *RunbookDatasource)

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

type RunbookList

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

RunbookList contains a list of Runbook

func (*RunbookList) DeepCopy

func (in *RunbookList) DeepCopy() *RunbookList

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

func (*RunbookList) DeepCopyInto

func (in *RunbookList) DeepCopyInto(out *RunbookList)

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

func (*RunbookList) DeepCopyObject

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

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

type RunbookSpec

type RunbookSpec struct {
	// The name for the runbook displayed in the plural console
	Name string `json:"name"`
	// Short description of what this runbook does
	Description string `json:"description"`

	// datasources to hydrate graphs and tables in the runbooks display
	// +optional
	Datasources []*RunbookDatasource `json:"datasources,omitempty"`

	// actions that can be performed in a runbook. These will be references in input forms
	Actions []*RunbookAction `json:"actions"`

	// the display in supported xml for the runbook in the console UI
	Display string `json:"display"`

	// alerts to tie to this runbook
	// +optional
	Alerts []*RunbookAlert `json:"alerts"`
}

RunbookSpec defines the desired state of Runbook

func (*RunbookSpec) DeepCopy

func (in *RunbookSpec) DeepCopy() *RunbookSpec

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

func (*RunbookSpec) DeepCopyInto

func (in *RunbookSpec) DeepCopyInto(out *RunbookSpec)

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

type RunbookStatus

type RunbookStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Alerts []*RunbookAlertStatus `json:"alerts"`
}

RunbookStatus defines the observed state of Runbook

func (*RunbookStatus) DeepCopy

func (in *RunbookStatus) DeepCopy() *RunbookStatus

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

func (*RunbookStatus) DeepCopyInto

func (in *RunbookStatus) DeepCopyInto(out *RunbookStatus)

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

type SecretSync

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

	Spec   SecretSyncSpec   `json:"spec,omitempty"`
	Status SecretSyncStatus `json:"status,omitempty"`
}

SecretSync is the Schema for the secretsyncs API

func (*SecretSync) DeepCopy

func (in *SecretSync) DeepCopy() *SecretSync

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

func (*SecretSync) DeepCopyInto

func (in *SecretSync) DeepCopyInto(out *SecretSync)

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

func (*SecretSync) DeepCopyObject

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

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

type SecretSyncList

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

SecretSyncList contains a list of SecretSync

func (*SecretSyncList) DeepCopy

func (in *SecretSyncList) DeepCopy() *SecretSyncList

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

func (*SecretSyncList) DeepCopyInto

func (in *SecretSyncList) DeepCopyInto(out *SecretSyncList)

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

func (*SecretSyncList) DeepCopyObject

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

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

type SecretSyncSpec

type SecretSyncSpec struct {

	// The secrets name that you intend to sync into the current namespace
	Name string `json:"name,omitempty"`
	// the namespace for the synced secrets
	Namespace string `json:"namespace,omitempty"`
}

SecretSyncSpec defines the desired state of SecretSync

func (*SecretSyncSpec) DeepCopy

func (in *SecretSyncSpec) DeepCopy() *SecretSyncSpec

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

func (*SecretSyncSpec) DeepCopyInto

func (in *SecretSyncSpec) DeepCopyInto(out *SecretSyncSpec)

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

type SecretSyncStatus

type SecretSyncStatus struct {
}

SecretSyncStatus defines the observed state of SecretSync

func (*SecretSyncStatus) DeepCopy

func (in *SecretSyncStatus) DeepCopy() *SecretSyncStatus

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

func (*SecretSyncStatus) DeepCopyInto

func (in *SecretSyncStatus) DeepCopyInto(out *SecretSyncStatus)

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

type ShConfig

type ShConfig struct {
	// command to execute in the proxied pod
	Command string `json:"command"`
	// arguments to pass to the command
	// +optional
	Args []string `json:"args,omitempty"`

	// The container name to shell into (if the pod has multiple containers configured)
	// +optional
	Container string `json:"container"`
}

additional configuration for shell proxies

func (*ShConfig) DeepCopy

func (in *ShConfig) DeepCopy() *ShConfig

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

func (*ShConfig) DeepCopyInto

func (in *ShConfig) DeepCopyInto(out *ShConfig)

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

type SlashCommand

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

	Spec   SlashCommandSpec   `json:"spec,omitempty"`
	Status SlashCommandStatus `json:"status,omitempty"`
}

SlashCommand is the Schema for the slashcommands API

func (*SlashCommand) DeepCopy

func (in *SlashCommand) DeepCopy() *SlashCommand

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

func (*SlashCommand) DeepCopyInto

func (in *SlashCommand) DeepCopyInto(out *SlashCommand)

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

func (*SlashCommand) DeepCopyObject

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

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

type SlashCommandList

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

SlashCommandList contains a list of SlashCommand

func (*SlashCommandList) DeepCopy

func (in *SlashCommandList) DeepCopy() *SlashCommandList

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

func (*SlashCommandList) DeepCopyInto

func (in *SlashCommandList) DeepCopyInto(out *SlashCommandList)

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

func (*SlashCommandList) DeepCopyObject

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

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

type SlashCommandSpec

type SlashCommandSpec struct {
	// the slash command to type
	Type SlashCommandType `json:"type,omitempty"`
	// a markdown help doc for this command
	Help string `json:"help"`
}

SlashCommandSpec a slack-type slash command for use in incident chats

func (*SlashCommandSpec) DeepCopy

func (in *SlashCommandSpec) DeepCopy() *SlashCommandSpec

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

func (*SlashCommandSpec) DeepCopyInto

func (in *SlashCommandSpec) DeepCopyInto(out *SlashCommandSpec)

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

type SlashCommandStatus

type SlashCommandStatus struct {
}

SlashCommandStatus defines the observed state of SlashCommand

func (*SlashCommandStatus) DeepCopy

func (in *SlashCommandStatus) DeepCopy() *SlashCommandStatus

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

func (*SlashCommandStatus) DeepCopyInto

func (in *SlashCommandStatus) DeepCopyInto(out *SlashCommandStatus)

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

type SlashCommandType

type SlashCommandType string

the type of slash command +kubebuilder:validation:Enum=deploy

const (
	DeployCommand SlashCommandType = "deploy"
)

type StatefulSetResize

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

	Spec   StatefulSetResizeSpec   `json:"spec,omitempty"`
	Status StatefulSetResizeStatus `json:"status,omitempty"`
}

StatefulSetResize is the Schema for the statefulsetresizes API

func (*StatefulSetResize) DeepCopy

func (in *StatefulSetResize) DeepCopy() *StatefulSetResize

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

func (*StatefulSetResize) DeepCopyInto

func (in *StatefulSetResize) DeepCopyInto(out *StatefulSetResize)

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

func (*StatefulSetResize) DeepCopyObject

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

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

type StatefulSetResizeList

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

StatefulSetResizeList contains a list of StatefulSetResize

func (*StatefulSetResizeList) DeepCopy

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

func (*StatefulSetResizeList) DeepCopyInto

func (in *StatefulSetResizeList) DeepCopyInto(out *StatefulSetResizeList)

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

func (*StatefulSetResizeList) DeepCopyObject

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

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

type StatefulSetResizeSpec

type StatefulSetResizeSpec struct {

	// Name of the stateful set
	Name string `json:"name,omitempty"`

	// Name of the persistent volume you wish to resize
	PersistentVolume string `json:"persistentVolume,omitempty"`

	// Size you want to set it to
	Size string `json:"size,omitempty"`

	// force completion even if a recreation of the statefulset fails (useful for some operator interactions)
	// +optional
	Force bool `json:"force"`
}

StatefulSetResizeSpec defines the desired state of StatefulSetResize

func (*StatefulSetResizeSpec) DeepCopy

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

func (*StatefulSetResizeSpec) DeepCopyInto

func (in *StatefulSetResizeSpec) DeepCopyInto(out *StatefulSetResizeSpec)

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

type StatefulSetResizeStatus

type StatefulSetResizeStatus struct {
}

StatefulSetResizeStatus defines the observed state of StatefulSetResize

func (*StatefulSetResizeStatus) DeepCopy

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

func (*StatefulSetResizeStatus) DeepCopyInto

func (in *StatefulSetResizeStatus) DeepCopyInto(out *StatefulSetResizeStatus)

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

type StatefulsetResize

type StatefulsetResize struct {
	// name of statefulset
	Name string `json:"name"`

	// persistent volume to resize
	PersistentVolume string `json:"persistentVolume"`

	// the value to use from the args for the execution
	ValueFrom string `json:"valueFrom"`

	// force completion even if a recreation of the statefulset fails (useful for some operator interactions)
	// +optional
	Force bool `json:"force"`
}

details for any statefulset resizes to apply

func (*StatefulsetResize) DeepCopy

func (in *StatefulsetResize) DeepCopy() *StatefulsetResize

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

func (*StatefulsetResize) DeepCopyInto

func (in *StatefulsetResize) DeepCopyInto(out *StatefulsetResize)

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

type WebConfig

type WebConfig struct {
	// port of the service to forward
	Port int32 `json:"port"`
	// path to direct users to on sign-in
	// +optional
	Path string `json:"path"`
}

func (*WebConfig) DeepCopy

func (in *WebConfig) DeepCopy() *WebConfig

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

func (*WebConfig) DeepCopyInto

func (in *WebConfig) DeepCopyInto(out *WebConfig)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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