v1alpha1

package
v0.0.0-...-115aa75 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: AGPL-3.0, Apache-2.0, MIT Imports: 20 Imported by: 1

Documentation

Overview

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

Index

Constants

View Source
const (
	// GroupName uniquely identifies this API group
	GroupName = "deployments.plural.sh"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: GroupName, 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 PolicyBindings

func PolicyBindings(bindings []Binding) []*console.PolicyBindingAttributes

Types

type AIProviderSettings

type AIProviderSettings struct {
	// Model is the LLM model name to use.
	//
	// +kubebuilder:validation:Optional
	Model *string `json:"model,omitempty"`

	// A custom base url to use, for reimplementations of the same API scheme (for instance Together.ai uses the OpenAI API spec)
	//
	// +kubebuilder:validation:Optional
	BaseUrl *string `json:"baseUrl,omitempty"`

	// TokenSecretRef is a reference to the local secret holding the token to access
	// the configured AI provider.
	//
	// +kubebuilder:validation:Required
	TokenSecretRef corev1.SecretKeySelector `json:"tokenSecretRef"`
}

func (*AIProviderSettings) DeepCopy

func (in *AIProviderSettings) DeepCopy() *AIProviderSettings

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

func (*AIProviderSettings) DeepCopyInto

func (in *AIProviderSettings) DeepCopyInto(out *AIProviderSettings)

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

func (*AIProviderSettings) Token

func (in *AIProviderSettings) Token(ctx context.Context, c client.Client, namespace string) (string, error)

type AISettings

type AISettings struct {
	// Enabled defines whether to enable the AI integration or not.
	//
	// +kubebuilder:default=false
	// +kubebuilder:validation:Optional
	Enabled *bool `json:"enabled,omitempty"`

	// Provider defines which of the supported LLM providers should be used.
	//
	// +kubebuilder:validation:Enum=OPENAI;ANTHROPIC;OLLAMA;AZURE;BEDROCK;VERTEX
	// +kubebuilder:default=OPENAI
	// +kubebuilder:validation:Optional
	Provider *console.AiProvider `json:"provider,omitempty"`

	// OpenAI holds the OpenAI provider configuration.
	//
	// +kubebuilder:validation:Optional
	OpenAI *AIProviderSettings `json:"openAI,omitempty"`

	// Anthropic holds the Anthropic provider configuration.
	//
	// +kubebuilder:validation:Optional
	Anthropic *AIProviderSettings `json:"anthropic,omitempty"`

	// Ollama holds configuration for a self-hosted Ollama deployment, more details available at https://github.com/ollama/ollama
	//
	// +kubebuilder:validation:Optional
	Ollama *OllamaSettings `json:"ollama,omitempty"`

	// Azure holds configuration for using AzureOpenAI to generate LLM insights
	//
	// +kubebuilder:validation:Optional
	Azure *AzureOpenAISettings `json:"azure,omitempty"`

	// Bedrock holds configuration for using AWS Bedrock to generate LLM insights
	//
	// +kubebuilder:validation:Optional
	Bedrock *BedrockSettings `json:"bedrock,omitempty"`

	// Vertex holds configuration for using GCP VertexAI to generate LLM insights
	//
	// +kubebuilder:validation:Optional
	Vertex *VertexSettings `json:"vertex,omitempty"`
}

AISettings holds the configuration for LLM provider clients.

func (*AISettings) Attributes

func (in *AISettings) Attributes(ctx context.Context, c client.Client, namespace string) (*console.AiSettingsAttributes, error)

func (*AISettings) DeepCopy

func (in *AISettings) DeepCopy() *AISettings

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

func (*AISettings) DeepCopyInto

func (in *AISettings) DeepCopyInto(out *AISettings)

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

type AuthAttributesGetter

type AuthAttributesGetter func(context.Context, HelmRepository) (*console.HelmAuthAttributes, error)

AuthAttributesGetter is just a helper function that can be implemented to properly build Console API attributes. +kubebuilder:object:generate:=false

type AzureOpenAISettings

type AzureOpenAISettings struct {
	// Your Azure OpenAI endpoint, should be formatted like: https://{endpoint}/openai/deployments/{deployment-id}"
	//
	// +kubebuilder:validation:Required
	Endpoint string `json:"endpoint"`

	// The azure openai Data plane - inference api version to use, defaults to 2024-10-01-preview or the latest available
	//
	// +kubebuilder:validation:Optional
	ApiVersion *string `json:"apiVersion,omitempty"`

	// TokenSecretRef is a reference to the local secret holding the token to access
	// the configured AI provider.
	//
	// +kubebuilder:validation:Required
	TokenSecretRef corev1.SecretKeySelector `json:"tokenSecretRef"`
}

func (*AzureOpenAISettings) DeepCopy

func (in *AzureOpenAISettings) DeepCopy() *AzureOpenAISettings

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

func (*AzureOpenAISettings) DeepCopyInto

func (in *AzureOpenAISettings) DeepCopyInto(out *AzureOpenAISettings)

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

func (*AzureOpenAISettings) Token

func (in *AzureOpenAISettings) Token(ctx context.Context, c client.Client, namespace string) (string, error)

type BedrockSettings

type BedrockSettings struct {
	// The AWS Bedrock Model ID to use
	//
	// +kubebuilder:validation:Required
	ModelID string `json:"modelId"`

	// An AWS Access Key ID to use, can also use IRSA to acquire credentials
	//
	// +kubebuilder:validation:Optional
	AccessKeyId *string `json:"accessKeyId,omitempty"`

	// An AWS Secret Access Key to use, can also use IRSA to acquire credentials
	//
	// +kubebuilder:validation:Optional
	SecretAccessKeyRef *corev1.SecretKeySelector `json:"secretAccessKeyRef"`
}

func (*BedrockSettings) DeepCopy

func (in *BedrockSettings) DeepCopy() *BedrockSettings

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

func (*BedrockSettings) DeepCopyInto

func (in *BedrockSettings) DeepCopyInto(out *BedrockSettings)

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

func (*BedrockSettings) SecretAccessKey

func (in *BedrockSettings) SecretAccessKey(ctx context.Context, c client.Client, namespace string) (*string, error)

type Binding

type Binding struct {
	// +kubebuilder:validation:Optional
	ID *string `json:"id,omitempty"`

	// +kubebuilder:validation:Optional
	UserID *string `json:"UserID,omitempty"`

	// +kubebuilder:validation:Optional
	UserEmail *string `json:"userEmail,omitempty"`

	// +kubebuilder:validation:Optional
	GroupID *string `json:"groupID,omitempty"`

	// +kubebuilder:validation:Optional
	GroupName *string `json:"groupName,omitempty"`
}

Binding ...

func (*Binding) Attributes

func (b *Binding) Attributes() *console.PolicyBindingAttributes

func (*Binding) DeepCopy

func (in *Binding) DeepCopy() *Binding

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

func (*Binding) DeepCopyInto

func (in *Binding) DeepCopyInto(out *Binding)

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

type Bindings

type Bindings struct {
	// Read bindings.
	// +kubebuilder:validation:Optional
	Read []Binding `json:"read,omitempty"`

	// Write bindings.
	// +kubebuilder:validation:Optional
	Write []Binding `json:"write,omitempty"`
}

Bindings represents a policy bindings that can be used to define read/write permissions to this resource for users/groups in the system.

func (*Bindings) DeepCopy

func (in *Bindings) DeepCopy() *Bindings

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

func (*Bindings) DeepCopyInto

func (in *Bindings) DeepCopyInto(out *Bindings)

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

type Cascade

type Cascade struct {
	// Whether you want to delete owned resources in Plural but leave kubernetes objects in-place
	// +kubebuilder:validation:Optional
	Detach *bool `json:"detach,omitempty"`

	// Whether you want to delete owned resources in Plural and in the targeted k8s cluster
	// +kubebuilder:validation:Optional
	Delete *bool `json:"delete,omitempty"`
}

Cascade is a specification for deletion behavior of owned resources

func (*Cascade) Attributes

func (c *Cascade) Attributes() *console.CascadeAttributes

func (*Cascade) DeepCopy

func (in *Cascade) DeepCopy() *Cascade

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

func (*Cascade) DeepCopyInto

func (in *Cascade) DeepCopyInto(out *Cascade)

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

type Catalog

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

	Spec   CatalogSpec `json:"spec,omitempty"`
	Status Status      `json:"status,omitempty"`
}

Catalog is the Schema for the catalogs API

func (*Catalog) Attributes

func (c *Catalog) Attributes(projectID *string) *console.CatalogAttributes

func (*Catalog) CatalogName

func (c *Catalog) CatalogName() string

func (*Catalog) DeepCopy

func (in *Catalog) DeepCopy() *Catalog

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

func (*Catalog) DeepCopyInto

func (in *Catalog) DeepCopyInto(out *Catalog)

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

func (*Catalog) DeepCopyObject

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

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

func (*Catalog) Diff

func (c *Catalog) Diff(hasher Hasher) (changed bool, sha string, err error)

func (*Catalog) SetCondition

func (c *Catalog) SetCondition(condition metav1.Condition)

type CatalogBindings

type CatalogBindings struct {
	// Create bindings.
	// +kubebuilder:validation:Optional
	Create []Binding `json:"create,omitempty"`

	// Read bindings.
	// +kubebuilder:validation:Optional
	Read []Binding `json:"read,omitempty"`

	// Write bindings.
	// +kubebuilder:validation:Optional
	Write []Binding `json:"write,omitempty"`
}

CatalogBindings ...

func (*CatalogBindings) DeepCopy

func (in *CatalogBindings) DeepCopy() *CatalogBindings

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

func (*CatalogBindings) DeepCopyInto

func (in *CatalogBindings) DeepCopyInto(out *CatalogBindings)

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

type CatalogList

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

CatalogList contains a list of Catalog

func (*CatalogList) DeepCopy

func (in *CatalogList) DeepCopy() *CatalogList

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

func (*CatalogList) DeepCopyInto

func (in *CatalogList) DeepCopyInto(out *CatalogList)

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

func (*CatalogList) DeepCopyObject

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

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

type CatalogSpec

type CatalogSpec struct {
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`
	// +kubebuilder:validation:Required
	Author string `json:"author"`

	// An icon url to annotate this pr automation
	// +kubebuilder:validation:Optional
	Icon *string `json:"icon,omitempty"`

	// An darkmode icon url to annotate this pr automation
	// +kubebuilder:validation:Optional
	DarkIcon *string `json:"darkIcon,omitempty"`

	// Description is a description of this Catalog.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:example:=my catalog description
	Description *string `json:"description,omitempty"`
	// +kubebuilder:validation:Optional
	Category *string `json:"category,omitempty"`
	// ProjectRef owning project of the catalog, permissions will propagate down
	// +kubebuilder:validation:Optional
	ProjectRef *corev1.ObjectReference `json:"projectRef,omitempty"`
	// +kubebuilder:validation:Optional
	Tags map[string]string `json:"tags,omitempty"`
	// Bindings contain read and write policies of this Catalog.
	// +kubebuilder:validation:Optional
	Bindings *CatalogBindings `json:"bindings,omitempty"`
}

CatalogSpec defines the desired state of Catalog

func (*CatalogSpec) DeepCopy

func (in *CatalogSpec) DeepCopy() *CatalogSpec

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

func (*CatalogSpec) DeepCopyInto

func (in *CatalogSpec) DeepCopyInto(out *CatalogSpec)

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

type CloudProvider

type CloudProvider string
const (
	AWS   CloudProvider = "aws"
	Azure CloudProvider = "azure"
	GCP   CloudProvider = "gcp"
)

func (CloudProvider) Attribute

func (c CloudProvider) Attribute() *string

type CloudProviderSettings

type CloudProviderSettings struct {
	// +kubebuilder:validation:Optional
	AWS *v1.SecretReference `json:"aws,omitempty"`
	// +kubebuilder:validation:Optional
	Azure *v1.SecretReference `json:"azure,omitempty"`
	// +kubebuilder:validation:Optional
	GCP *v1.SecretReference `json:"gcp,omitempty"`
}

CloudProviderSettings ...

func (*CloudProviderSettings) DeepCopy

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

func (*CloudProviderSettings) DeepCopyInto

func (in *CloudProviderSettings) DeepCopyInto(out *CloudProviderSettings)

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

type CloudSettingsGetter

CloudSettingsGetter is just a helper function that can be implemented to properly build Console API attributes +kubebuilder:object:generate:=false

type Cluster

type Cluster struct {
	metav1.TypeMeta `json:",inline"`

	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec ClusterSpec `json:"spec,omitempty"`

	Status ClusterStatus `json:"status,omitempty"`
}

Cluster ... +kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="CurrentVersion",type="string",JSONPath=".status.currentVersion",description="Current Kubernetes version" +kubebuilder:printcolumn:name="Id",type="string",JSONPath=".status.id",description="Console ID"

func (*Cluster) Attributes

func (c *Cluster) Attributes(providerId, projectId *string) console.ClusterAttributes

func (*Cluster) ConsoleID

func (c *Cluster) ConsoleID() *string

ConsoleID implements PluralResource interface

func (*Cluster) ConsoleName

func (c *Cluster) ConsoleName() string

ConsoleName implements PluralResource interface

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

func (*Cluster) DeepCopyObject

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

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

func (*Cluster) SetCondition

func (c *Cluster) SetCondition(condition metav1.Condition)

func (*Cluster) TagUpdateAttributes

func (c *Cluster) TagUpdateAttributes() console.ClusterUpdateAttributes

func (*Cluster) UpdateAttributes

func (c *Cluster) UpdateAttributes() console.ClusterUpdateAttributes

type ClusterAWSCloudSettings

type ClusterAWSCloudSettings struct {
	// Region in AWS to deploy this cluster to.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	Region string `json:"region"`
}

func (*ClusterAWSCloudSettings) Attributes

func (*ClusterAWSCloudSettings) DeepCopy

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

func (*ClusterAWSCloudSettings) DeepCopyInto

func (in *ClusterAWSCloudSettings) DeepCopyInto(out *ClusterAWSCloudSettings)

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

type ClusterAzureCloudSettings

type ClusterAzureCloudSettings struct {
	// ResourceGroup is a name for the Azure resource group for this cluster.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:example:=myresourcegroup
	ResourceGroup string `json:"resourceGroup"`

	// Network is a name for the Azure virtual network for this cluster.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:example:=mynetwork
	Network string `json:"network"`

	// SubscriptionId is GUID of the Azure subscription to hold this cluster.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	SubscriptionId string `json:"subscriptionId"`

	// Location in Azure to deploy this cluster to.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:example:=eastus
	Location string `json:"location"`
}

func (*ClusterAzureCloudSettings) Attributes

func (*ClusterAzureCloudSettings) DeepCopy

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

func (*ClusterAzureCloudSettings) DeepCopyInto

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

type ClusterCloudSettings

type ClusterCloudSettings struct {
	// AWS cluster customizations.
	// +kubebuilder:validation:Optional
	AWS *ClusterAWSCloudSettings `json:"aws,omitempty"`

	// Azure cluster customizations.
	// +kubebuilder:validation:Optional
	Azure *ClusterAzureCloudSettings `json:"azure,omitempty"`

	// GCP cluster customizations.
	// +kubebuilder:validation:Optional
	GCP *ClusterGCPCloudSettings `json:"gcp,omitempty"`
}

func (*ClusterCloudSettings) Attributes

func (*ClusterCloudSettings) DeepCopy

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

func (*ClusterCloudSettings) DeepCopyInto

func (in *ClusterCloudSettings) DeepCopyInto(out *ClusterCloudSettings)

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

type ClusterGCPCloudSettings

type ClusterGCPCloudSettings struct {
	// Project in GCP to deploy cluster to.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	Project string `json:"project"`

	// Network in GCP to use when creating the cluster.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	Network string `json:"network"`

	// Region in GCP to deploy cluster to.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	Region string `json:"region"`
}

func (*ClusterGCPCloudSettings) Attributes

func (*ClusterGCPCloudSettings) DeepCopy

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

func (*ClusterGCPCloudSettings) DeepCopyInto

func (in *ClusterGCPCloudSettings) DeepCopyInto(out *ClusterGCPCloudSettings)

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

type ClusterList

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

ClusterList ... +kubebuilder:object:root=true

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

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

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

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

func (*ClusterList) DeepCopyObject

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

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

type ClusterNodePool

type ClusterNodePool struct {
	// Name of the node pool. Must be unique.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	Name string `json:"name"`

	// InstanceType contains the type of node to use. Usually cloud-specific.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	InstanceType string `json:"instanceType"`

	// MinSize is minimum number of instances in this node pool.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Minimum=1
	MinSize int64 `json:"minSize"`

	// MaxSize is maximum number of instances in this node pool.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Minimum=1
	MaxSize int64 `json:"maxSize"`

	// Labels to apply to the nodes in this pool. Useful for node selectors.
	// +kubebuilder:validation:Optional
	Labels map[string]string `json:"labels,omitempty"`

	// Taints you'd want to apply to a node, i.e. for preventing scheduling on spot instances.
	// +kubebuilder:validation:Optional
	Taints []Taint `json:"taints,omitempty"`

	// CloudSettings contains cloud-specific settings for this node pool.
	// +kubebuilder:validation:Optional
	// +structType=atomic
	CloudSettings *ClusterNodePoolCloudSettings `json:"cloudSettings,omitempty"`
}

func (*ClusterNodePool) Attributes

func (np *ClusterNodePool) Attributes() *console.NodePoolAttributes

func (*ClusterNodePool) DeepCopy

func (in *ClusterNodePool) DeepCopy() *ClusterNodePool

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

func (*ClusterNodePool) DeepCopyInto

func (in *ClusterNodePool) DeepCopyInto(out *ClusterNodePool)

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

type ClusterNodePoolAWSCloudSettings

type ClusterNodePoolAWSCloudSettings struct {
	// LaunchTemplateId is an ID of custom launch template for your nodes. Useful for Golden AMI setups.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	LaunchTemplateId *string `json:"launchTemplateId,omitempty"`
}

func (*ClusterNodePoolAWSCloudSettings) Attributes

func (*ClusterNodePoolAWSCloudSettings) DeepCopy

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

func (*ClusterNodePoolAWSCloudSettings) DeepCopyInto

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

type ClusterNodePoolCloudSettings

type ClusterNodePoolCloudSettings struct {
	// AWS node pool customizations.
	// +kubebuilder:validation:Optional
	AWS *ClusterNodePoolAWSCloudSettings `json:"aws,omitempty"`
}

func (*ClusterNodePoolCloudSettings) Attributes

func (*ClusterNodePoolCloudSettings) DeepCopy

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

func (*ClusterNodePoolCloudSettings) DeepCopyInto

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

type ClusterRestore

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

	Spec   ClusterRestoreSpec   `json:"spec,omitempty"`
	Status ClusterRestoreStatus `json:"status,omitempty"`
}

ClusterRestore is the Schema for the clusterrestores API

func (*ClusterRestore) DeepCopy

func (in *ClusterRestore) DeepCopy() *ClusterRestore

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

func (*ClusterRestore) DeepCopyInto

func (in *ClusterRestore) DeepCopyInto(out *ClusterRestore)

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

func (*ClusterRestore) DeepCopyObject

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

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

func (*ClusterRestore) SetCondition

func (s *ClusterRestore) SetCondition(condition metav1.Condition)

type ClusterRestoreList

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

ClusterRestoreList contains a list of ClusterRestore

func (*ClusterRestoreList) DeepCopy

func (in *ClusterRestoreList) DeepCopy() *ClusterRestoreList

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

func (*ClusterRestoreList) DeepCopyInto

func (in *ClusterRestoreList) DeepCopyInto(out *ClusterRestoreList)

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

func (*ClusterRestoreList) DeepCopyObject

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

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

type ClusterRestoreSpec

type ClusterRestoreSpec struct {
	// BackupID is an ID of the backup to restore.
	// If BackupID is specified, then BackupName, BackupNamespace and BackupClusterRef are not needed.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="BackupID is immutable"
	BackupID *string `json:"backupID"`

	// BackupName is a name of the backup to restore.
	// BackupNamespace and BackupClusterRef have to be specified as well with it.
	// If BackupName, BackupNamespace and BackupCluster are specified, then BackupID is not needed.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="BackupName is immutable"
	BackupName *string `json:"backupName"`

	// BackupNamespace is a namespace of the backup to restore.
	// BackupName and BackupClusterRef have to be specified as well with it.
	// If BackupName, BackupNamespace and BackupCluster are specified, then BackupID is not needed.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="BackupNamespace is immutable"
	BackupNamespace *string `json:"backupNamespace"`

	// BackupClusterID is an ID of a cluster where the backup to restore is located.
	// BackupName and BackupNamespace have to be specified as well with it.
	// If BackupName, BackupNamespace and BackupClusterRef are specified, then BackupID is not needed.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="BackupClusterRef is immutable"
	BackupClusterRef *corev1.ObjectReference `json:"backupClusterRef"`
}

ClusterRestoreSpec defines the desired state of ClusterRestore

func (*ClusterRestoreSpec) DeepCopy

func (in *ClusterRestoreSpec) DeepCopy() *ClusterRestoreSpec

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

func (*ClusterRestoreSpec) DeepCopyInto

func (in *ClusterRestoreSpec) DeepCopyInto(out *ClusterRestoreSpec)

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

func (*ClusterRestoreSpec) GetBackupID

func (p *ClusterRestoreSpec) GetBackupID() string

func (*ClusterRestoreSpec) HasBackupID

func (p *ClusterRestoreSpec) HasBackupID() bool

type ClusterRestoreStatus

type ClusterRestoreStatus struct {
	// ID of the cluster restore in the Console API.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	ID *string `json:"id,omitempty"`

	// +kubebuilder:validation:Enum=CREATED;PENDING;SUCCESSFUL;FAILED
	Status console.RestoreStatus `json:"status,omitempty"`

	// Represents the observations of ClusterRestore current state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

ClusterRestoreStatus defines the observed state of ClusterRestore

func (*ClusterRestoreStatus) DeepCopy

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

func (*ClusterRestoreStatus) DeepCopyInto

func (in *ClusterRestoreStatus) DeepCopyInto(out *ClusterRestoreStatus)

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

func (*ClusterRestoreStatus) GetID

func (p *ClusterRestoreStatus) GetID() string

func (*ClusterRestoreStatus) HasID

func (p *ClusterRestoreStatus) HasID() bool

type ClusterRestoreTrigger

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

	Spec   ClusterRestoreTriggerSpec `json:"spec,omitempty"`
	Status Status                    `json:"status,omitempty"`
}

ClusterRestoreTrigger is the Schema for the clusterrestoretriggers API

func (*ClusterRestoreTrigger) DeepCopy

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

func (*ClusterRestoreTrigger) DeepCopyInto

func (in *ClusterRestoreTrigger) DeepCopyInto(out *ClusterRestoreTrigger)

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

func (*ClusterRestoreTrigger) DeepCopyObject

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

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

func (*ClusterRestoreTrigger) SetCondition

func (p *ClusterRestoreTrigger) SetCondition(condition metav1.Condition)

type ClusterRestoreTriggerList

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

ClusterRestoreTriggerList contains a list of ClusterRestoreTrigger

func (*ClusterRestoreTriggerList) DeepCopy

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

func (*ClusterRestoreTriggerList) DeepCopyInto

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

func (*ClusterRestoreTriggerList) DeepCopyObject

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

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

type ClusterRestoreTriggerSpec

type ClusterRestoreTriggerSpec struct {
	// ClusterRestoreRef pointing to source ClusterRestore.
	// +kubebuilder:validation:Optional
	ClusterRestoreRef *corev1.ObjectReference `json:"clusterRestoreRef,omitempty"`
}

ClusterRestoreTriggerSpec defines the desired state of ClusterRestoreTrigger

func (*ClusterRestoreTriggerSpec) DeepCopy

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

func (*ClusterRestoreTriggerSpec) DeepCopyInto

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

type ClusterSpec

type ClusterSpec struct {
	// Handle is a short, unique human-readable name used to identify this cluster.
	// Does not necessarily map to the cloud resource name.
	// This has to be specified in order to adopt existing cluster.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:example:=myclusterhandle
	Handle *string `json:"handle,omitempty"`

	// Version of Kubernetes to use for this cluster. Can be skipped only for BYOK.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:example:="1.25.11"
	Version *string `json:"version,omitempty"`

	// ProviderRef references provider to use for this cluster. Can be skipped only for BYOK.
	// +kubebuilder:validation:Optional
	ProviderRef *corev1.ObjectReference `json:"providerRef,omitempty"`

	// ProjectRef references project this cluster belongs to.
	// If not provided, it will use the default project.
	// +kubebuilder:validation:Optional
	ProjectRef *corev1.ObjectReference `json:"projectRef,omitempty"`

	// Cloud provider to use for this cluster.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:Enum=aws;azure;gcp;byok
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Cloud is immutable"
	// +kubebuilder:example:=azure
	Cloud string `json:"cloud"`

	// Protect cluster from being deleted.
	// +kubebuilder:validation:Optional
	// +kubebuilder:example:=false
	Protect *bool `json:"protect,omitempty"`

	// Tags used to filter clusters.
	// +kubebuilder:validation:Optional
	Tags map[string]string `json:"tags,omitempty"`

	// Metadata for the cluster
	// +kubebuilder:validation:Optional
	Metadata *runtime.RawExtension `json:"metadata,omitempty"`

	// Bindings contain read and write policies of this cluster
	// +kubebuilder:validation:Optional
	Bindings *Bindings `json:"bindings,omitempty"`

	// CloudSettings contains cloud-specific settings for this cluster.
	// +kubebuilder:validation:Optional
	// +structType=atomic
	CloudSettings *ClusterCloudSettings `json:"cloudSettings,omitempty"`

	// NodePools contains specs of node pools managed by this cluster.
	// +kubebuilder:validation:Optional
	NodePools []ClusterNodePool `json:"nodePools"`
}

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

func (*ClusterSpec) HasHandle

func (cs *ClusterSpec) HasHandle() bool

func (*ClusterSpec) HasProjectRef

func (cs *ClusterSpec) HasProjectRef() bool

func (*ClusterSpec) HasProviderRef

func (cs *ClusterSpec) HasProviderRef() bool

func (*ClusterSpec) IsProviderRefRequired

func (cs *ClusterSpec) IsProviderRefRequired() bool

type ClusterStatus

type ClusterStatus struct {
	Status `json:",inline"`

	// CurrentVersion contains current Kubernetes version this cluster is using.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	CurrentVersion *string `json:"currentVersion,omitempty"`

	// KasURL contains KAS URL.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	KasURL *string `json:"kasURL,omitempty"`

	// PingedAt contains timestamp of last successful cluster ping.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	PingedAt *string `json:"pingedAt,omitempty"`
}

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type ClusterTarget

type ClusterTarget struct {
	// Tags the cluster tags to target
	// +kubebuilder:validation:Optional
	Tags map[string]string `json:"tags,omitempty"`
	// Distro kubernetes distribution to target
	// +kubebuilder:validation:Optional
	Distro *console.ClusterDistro `json:"distro,omitempty"`
}

A spec for targeting clusters

func (*ClusterTarget) DeepCopy

func (in *ClusterTarget) DeepCopy() *ClusterTarget

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

func (*ClusterTarget) DeepCopyInto

func (in *ClusterTarget) DeepCopyInto(out *ClusterTarget)

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

type CommandAttributes

type CommandAttributes struct {
	// the command this hook will execute
	Cmd string `json:"cmd"`
	// optional arguments to pass to the command
	// +kubebuilder:validation:Optional
	Args []string `json:"args,omitempty"`
	// +kubebuilder:validation:Optional
	Dir *string `json:"dir,omitempty"`
}

func (*CommandAttributes) Attributes

func (in *CommandAttributes) Attributes() *console.CommandAttributes

func (*CommandAttributes) DeepCopy

func (in *CommandAttributes) DeepCopy() *CommandAttributes

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

func (*CommandAttributes) DeepCopyInto

func (in *CommandAttributes) DeepCopyInto(out *CommandAttributes)

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

type ComponentState

type ComponentState string
const (
	ComponentStateRunning ComponentState = "RUNNING"
	ComponentStatePending ComponentState = "PENDING"
	ComponentStateFailed  ComponentState = "FAILED"
)

type Condition

type Condition struct {
	// +kubebuilder:validation:Required
	Field string `json:"field"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=NOT;GT;LT;EQ;GTE;LTE;PREFIX;SUFFIX
	console.Operation `json:"operation"`

	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty"`
}

Condition ...

func (*Condition) Attributes

func (in *Condition) Attributes() *console.ConditionAttributes

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type ConditionMessage

type ConditionMessage string
const (
	ReadonlyTrueConditionMessage          ConditionMessage = "Running in read-only mode"
	SynchronizedNotFoundConditionMessage  ConditionMessage = "Could not find resource in Console API"
	NamespacedCredentialsConditionMessage ConditionMessage = "Using default credentials"
)

func (ConditionMessage) String

func (c ConditionMessage) String() string

type ConditionReason

type ConditionReason string
const (
	ReadonlyConditionReason             ConditionReason = "Readonly"
	ReadyConditionReason                ConditionReason = "Ready"
	ReadyConditionReasonDeleting        ConditionReason = "Deleting"
	SynchronizedConditionReason         ConditionReason = "Synchronized"
	SynchronizedConditionReasonError    ConditionReason = "Error"
	SynchronizedConditionReasonNotFound ConditionReason = "NotFound"
	SynchronizedConditionReasonDeleting ConditionReason = "Deleting"
	ReadyTokenConditionReason           ConditionReason = "Ready"
	ReadyTokenConditionReasonError      ConditionReason = "Error"
	NamespacedCredentialsReason         ConditionReason = "NamespacedCredentials"
	NamespacedCredentialsReasonDefault  ConditionReason = "DefaultCredentials"
)

func (ConditionReason) String

func (c ConditionReason) String() string

type ConditionType

type ConditionType string
const (
	ReadonlyConditionType              ConditionType = "Readonly"
	ReadyConditionType                 ConditionType = "Ready"
	ReadyTokenConditionType            ConditionType = "ReadyToken"
	SynchronizedConditionType          ConditionType = "Synchronized"
	NamespacedCredentialsConditionType ConditionType = "NamespacedCredentials"
)

func (ConditionType) String

func (c ConditionType) String() string

type Container

type Container struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	Image string `json:"image"`

	// +kubebuilder:validation:Optional
	Args []*string `json:"args,omitempty"`

	// +kubebuilder:validation:Optional
	Env []*Env `json:"env,omitempty"`

	// +kubebuilder:validation:Optional
	EnvFrom []*EnvFrom `json:"envFrom,omitempty"`

	// +kubebuilder:validation:Optional
	Resources *ContainerResources `json:"resources,omitempty"`
}

func (*Container) DeepCopy

func (in *Container) DeepCopy() *Container

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

func (*Container) DeepCopyInto

func (in *Container) DeepCopyInto(out *Container)

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

type ContainerResourceRequests

type ContainerResourceRequests struct {
	// +kubebuilder:validation:Optional
	CPU *string `json:"cpu,omitempty"`
	// +kubebuilder:validation:Optional
	Memory *string `json:"memory,omitempty"`
}

func (*ContainerResourceRequests) DeepCopy

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

func (*ContainerResourceRequests) DeepCopyInto

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

type ContainerResources

type ContainerResources struct {
	// +kubebuilder:validation:Optional
	Requests *ContainerResourceRequests `json:"requests,omitempty"`
	// +kubebuilder:validation:Optional
	Limits *ContainerResourceRequests `json:"limits,omitempty"`
}

func (*ContainerResources) DeepCopy

func (in *ContainerResources) DeepCopy() *ContainerResources

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

func (*ContainerResources) DeepCopyInto

func (in *ContainerResources) DeepCopyInto(out *ContainerResources)

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

type CustomRunStep

type CustomRunStep struct {
	// Args allow you to provide any additional
	// args that should be passed to the custom
	// run step.
	// +kubebuilder:validation:Required
	Args []string `json:"args,omitempty"`

	// Cmd defines what command should be executed
	// as part of your custom run step.
	// +kubebuilder:validation:Required
	Cmd string `json:"cmd"`

	// RequireApproval controls whether this custom run step
	// will require an approval to proceed.
	// +kubebuilder:validation:Optional
	RequireApproval *bool `json:"requireApproval,omitempty"`

	// Stage controls at which stage should this custom run
	// step be executed.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=PLAN;VERIFY;APPLY;INIT;DESTROY
	Stage console.StepStage `json:"stage"`
}

func (*CustomRunStep) DeepCopy

func (in *CustomRunStep) DeepCopy() *CustomRunStep

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

func (*CustomRunStep) DeepCopyInto

func (in *CustomRunStep) DeepCopyInto(out *CustomRunStep)

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

type CustomStackRun

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

	Spec   CustomStackRunSpec `json:"spec,omitempty"`
	Status Status             `json:"status,omitempty"`
}

CustomStackRun is the Schema for the customstackruns API

func (*CustomStackRun) CustomStackRunName

func (p *CustomStackRun) CustomStackRunName() string

func (*CustomStackRun) DeepCopy

func (in *CustomStackRun) DeepCopy() *CustomStackRun

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

func (*CustomStackRun) DeepCopyInto

func (in *CustomStackRun) DeepCopyInto(out *CustomStackRun)

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

func (*CustomStackRun) DeepCopyObject

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

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

func (*CustomStackRun) SetCondition

func (p *CustomStackRun) SetCondition(condition metav1.Condition)

type CustomStackRunList

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

CustomStackRunList contains a list of CustomStackRun

func (*CustomStackRunList) DeepCopy

func (in *CustomStackRunList) DeepCopy() *CustomStackRunList

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

func (*CustomStackRunList) DeepCopyInto

func (in *CustomStackRunList) DeepCopyInto(out *CustomStackRunList)

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

func (*CustomStackRunList) DeepCopyObject

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

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

type CustomStackRunSpec

type CustomStackRunSpec struct {
	// Name of this CustomStackRun. If not provided CustomStackRun's own name from CustomStackRun.ObjectMeta will be used.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`

	// +kubebuilder:validation:Optional
	StackRef *corev1.LocalObjectReference `json:"stackRef,omitempty"`

	// Documentation to explain what this will do
	// +kubebuilder:validation:Optional
	Documentation *string `json:"documentation,omitempty"`

	// Commands the commands for this custom run
	Commands []CommandAttributes `json:"commands,omitempty"`
	// Configuration self-service configuration which will be presented in UI before triggering
	Configuration []PrAutomationConfiguration `json:"configuration,omitempty"`
}

CustomStackRunSpec defines the desired state of CustomStackRun

func (*CustomStackRunSpec) DeepCopy

func (in *CustomStackRunSpec) DeepCopy() *CustomStackRunSpec

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

func (*CustomStackRunSpec) DeepCopyInto

func (in *CustomStackRunSpec) DeepCopyInto(out *CustomStackRunSpec)

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

type DeploymentSettings

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

	Spec   DeploymentSettingsSpec `json:"spec,omitempty"`
	Status Status                 `json:"status,omitempty"`
}

DeploymentSettings is the Schema for the deploymentsettings API

+kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status

func (*DeploymentSettings) DeepCopy

func (in *DeploymentSettings) DeepCopy() *DeploymentSettings

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

func (*DeploymentSettings) DeepCopyInto

func (in *DeploymentSettings) DeepCopyInto(out *DeploymentSettings)

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

func (*DeploymentSettings) DeepCopyObject

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

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

func (*DeploymentSettings) SetCondition

func (in *DeploymentSettings) SetCondition(condition metav1.Condition)

type DeploymentSettingsBindings

type DeploymentSettingsBindings struct {
	// Read bindings.
	//
	// +kubebuilder:validation:Optional
	Read []Binding `json:"read,omitempty"`

	// Write bindings.
	//
	// +kubebuilder:validation:Optional
	Write []Binding `json:"write,omitempty"`

	// Create bindings.
	//
	// +kubebuilder:validation:Optional
	Create []Binding `json:"create,omitempty"`

	// Git bindings.
	//
	// +kubebuilder:validation:Optional
	Git []Binding `json:"git,omitempty"`
}

func (*DeploymentSettingsBindings) DeepCopy

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

func (*DeploymentSettingsBindings) DeepCopyInto

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

type DeploymentSettingsList

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

DeploymentSettingsList contains a list of DeploymentSettings

+kubebuilder:object:root=true

func (*DeploymentSettingsList) DeepCopy

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

func (*DeploymentSettingsList) DeepCopyInto

func (in *DeploymentSettingsList) DeepCopyInto(out *DeploymentSettingsList)

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

func (*DeploymentSettingsList) DeepCopyObject

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

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

type DeploymentSettingsSpec

type DeploymentSettingsSpec struct {
	// AgentHelmValues custom helm values to apply to all agents (useful for things like adding customary annotations/labels)
	//
	// +kubebuilder:validation:Optional
	AgentHelmValues *runtime.RawExtension `json:"agentHelmValues,omitempty"`

	// Stacks global configuration for stack execution
	//
	// +kubebuilder:validation:Optional
	Stacks *StackSettings `json:"stacks,omitempty"`

	// Bindings
	//
	// +kubebuilder:validation:Optional
	Bindings *DeploymentSettingsBindings `json:"bindings,omitempty"`

	// PrometheusConnection connection details for a prometheus instance to use
	//
	// +kubebuilder:validation:Optional
	PrometheusConnection *HTTPConnection `json:"prometheusConnection,omitempty"`

	// LokiConnection connection details for a loki instance to use
	//
	// +kubebuilder:validation:Optional
	LokiConnection *HTTPConnection `json:"lokiConnection,omitempty"`

	// AI settings specifies a configuration for LLM provider clients
	//
	// +kubebuilder:validation:Optional
	AI *AISettings `json:"ai,omitempty"`
}

DeploymentSettingsSpec defines the desired state of DeploymentSettings

func (*DeploymentSettingsSpec) DeepCopy

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

func (*DeploymentSettingsSpec) DeepCopyInto

func (in *DeploymentSettingsSpec) DeepCopyInto(out *DeploymentSettingsSpec)

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

type Env

type Env struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	Name string `json:"name"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	Value string `json:"value"`
}

func (*Env) DeepCopy

func (in *Env) DeepCopy() *Env

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

func (*Env) DeepCopyInto

func (in *Env) DeepCopyInto(out *Env)

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

type EnvFrom

type EnvFrom struct {
	// +kubebuilder:validation:Type:=string
	Secret string `json:"secret"`

	// +kubebuilder:validation:Type:=string
	ConfigMap string `json:"configMap"`
}

func (*EnvFrom) DeepCopy

func (in *EnvFrom) DeepCopy() *EnvFrom

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

func (*EnvFrom) DeepCopyInto

func (in *EnvFrom) DeepCopyInto(out *EnvFrom)

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

type GateSpec

type GateSpec struct {
	// +kubebuilder:validation:Optional
	Job *JobSpec `json:"job,omitempty"`
}

GateSpec is a more refined spec for parameters needed for complex gates.

func (*GateSpec) DeepCopy

func (in *GateSpec) DeepCopy() *GateSpec

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

func (*GateSpec) DeepCopyInto

func (in *GateSpec) DeepCopyInto(out *GateSpec)

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

type GitHealth

type GitHealth string
const (
	GitHealthPullable GitHealth = "PULLABLE"
	GitHealthFailed   GitHealth = "FAILED"
)

type GitRef

type GitRef struct {
	// Folder ...
	// +kubebuilder:validation:Required
	Folder string `json:"folder"`

	// Ref ...
	// +kubebuilder:validation:Required
	Ref string `json:"ref"`

	// Optional files to add to the manifests for this service
	// +kubebuilder:validation:Optional
	Files []string `json:"files,omitempty"`
}

GitRef ...

func (*GitRef) Attributes

func (in *GitRef) Attributes() *console.GitRefAttributes

func (*GitRef) DeepCopy

func (in *GitRef) DeepCopy() *GitRef

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

func (*GitRef) DeepCopyInto

func (in *GitRef) DeepCopyInto(out *GitRef)

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

type GitRepository

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

	Spec   GitRepositorySpec   `json:"spec,omitempty"`
	Status GitRepositoryStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Health",type="string",JSONPath=".status.health",description="Repo health status" +kubebuilder:printcolumn:name="Id",type="string",JSONPath=".status.id",description="Console repo Id"

func (*GitRepository) ConsoleID

func (in *GitRepository) ConsoleID() *string

ConsoleID implements PluralResource interface

func (*GitRepository) ConsoleName

func (in *GitRepository) ConsoleName() string

ConsoleName implements PluralResource interface

func (*GitRepository) DeepCopy

func (in *GitRepository) DeepCopy() *GitRepository

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

func (*GitRepository) DeepCopyInto

func (in *GitRepository) DeepCopyInto(out *GitRepository)

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

func (*GitRepository) DeepCopyObject

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

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

func (*GitRepository) SetCondition

func (in *GitRepository) SetCondition(condition metav1.Condition)

type GitRepositoryList

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

func (*GitRepositoryList) DeepCopy

func (in *GitRepositoryList) DeepCopy() *GitRepositoryList

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

func (*GitRepositoryList) DeepCopyInto

func (in *GitRepositoryList) DeepCopyInto(out *GitRepositoryList)

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

func (*GitRepositoryList) DeepCopyObject

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

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

type GitRepositorySpec

type GitRepositorySpec struct {
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Url is immutable"
	Url string `json:"url"`

	// Reference a ScmConnection to reuse its credentials for this GitRepository's authentication
	// +kubebuilder:validation:Optional
	ConnectionRef *corev1.ObjectReference `json:"connectionRef,omitempty"`

	// CredentialsRef is a secret reference which should contain privateKey, passphrase, username and password.
	// +kubebuilder:validation:Optional
	CredentialsRef *corev1.SecretReference `json:"credentialsRef,omitempty"`
}

func (*GitRepositorySpec) DeepCopy

func (in *GitRepositorySpec) DeepCopy() *GitRepositorySpec

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

func (*GitRepositorySpec) DeepCopyInto

func (in *GitRepositorySpec) DeepCopyInto(out *GitRepositorySpec)

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

type GitRepositoryStatus

type GitRepositoryStatus struct {
	Status `json:",inline"`

	// Health status.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum:=PULLABLE;FAILED
	Health GitHealth `json:"health,omitempty"`
	// Message indicating details about last transition.
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty"`
}

func (*GitRepositoryStatus) DeepCopy

func (in *GitRepositoryStatus) DeepCopy() *GitRepositoryStatus

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

func (*GitRepositoryStatus) DeepCopyInto

func (in *GitRepositoryStatus) DeepCopyInto(out *GitRepositoryStatus)

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

type GlobalService

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

	Spec   GlobalServiceSpec `json:"spec,omitempty"`
	Status Status            `json:"status,omitempty"`
}

GlobalService is the Schema for the globalservices API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Id",type="string",JSONPath=".status.id",description="Global service Id"

func (*GlobalService) Attributes

func (gs *GlobalService) Attributes(providerId, projectId *string) console.GlobalServiceAttributes

func (*GlobalService) DeepCopy

func (in *GlobalService) DeepCopy() *GlobalService

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

func (*GlobalService) DeepCopyInto

func (in *GlobalService) DeepCopyInto(out *GlobalService)

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

func (*GlobalService) DeepCopyObject

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

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

func (*GlobalService) SetCondition

func (p *GlobalService) SetCondition(condition metav1.Condition)

type GlobalServiceList

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

GlobalServiceList contains a list of GlobalService +kubebuilder:object:root=true

func (*GlobalServiceList) DeepCopy

func (in *GlobalServiceList) DeepCopy() *GlobalServiceList

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

func (*GlobalServiceList) DeepCopyInto

func (in *GlobalServiceList) DeepCopyInto(out *GlobalServiceList)

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

func (*GlobalServiceList) DeepCopyObject

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

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

type GlobalServiceSpec

type GlobalServiceSpec struct {
	// Tags a set of tags to select clusters for this global service
	// +kubebuilder:validation:Optional
	Tags map[string]string `json:"tags,omitempty"`

	// Whether you'd want this global service to take ownership of existing Plural services
	// +kubebuilder:validation:Optional
	Reparent *bool `json:"reparent,omitempty"`

	// Cascade deletion options for this global service
	// +kubebuilder:validation:Optional
	Cascade *Cascade `json:"cascade,omitempty"`

	// Distro of kubernetes this cluster is running
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum=GENERIC;EKS;AKS;GKE;RKE;K3S
	Distro *console.ClusterDistro `json:"distro,omitempty"`

	// ServiceRef to replicate across clusters
	// +kubebuilder:validation:Optional
	ServiceRef *corev1.ObjectReference `json:"serviceRef,omitempty"`
	// ProviderRef apply to clusters with this provider
	// +kubebuilder:validation:Optional
	ProviderRef *corev1.ObjectReference `json:"providerRef,omitempty"`

	// ProjectRef allows a global service to span a specific project only
	// +kubebuilder:validation:Optional
	ProjectRef *corev1.ObjectReference `json:"projectRef,omitempty"`

	// +kubebuilder:validation:Optional
	Template *ServiceTemplate `json:"template,omitempty"`
}

GlobalServiceSpec defines the desired state of GlobalService

func (*GlobalServiceSpec) DeepCopy

func (in *GlobalServiceSpec) DeepCopy() *GlobalServiceSpec

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

func (*GlobalServiceSpec) DeepCopyInto

func (in *GlobalServiceSpec) DeepCopyInto(out *GlobalServiceSpec)

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

func (*GlobalServiceSpec) TagsAttribute

func (gss *GlobalServiceSpec) TagsAttribute() []*console.TagAttributes

type HTTPConnection

type HTTPConnection struct {
	// Host ...
	//
	// +kubebuilder:validation:Required
	Host string `json:"host"`

	// User to connect with basic auth
	//
	// +kubebuilder:validation:Optional
	User *string `json:"user,omitempty"`

	// Password to connect w/ for basic auth
	//
	// +kubebuilder:validation:Optional
	Password *string `json:"password,omitempty"`

	// PasswordSecretRef selects a key of a password Secret
	//
	// +kubebuilder:validation:Optional
	PasswordSecretRef *corev1.SecretKeySelector `json:"passwordSecretRef,omitempty"`
}

func (*HTTPConnection) Attributes

func (*HTTPConnection) DeepCopy

func (in *HTTPConnection) DeepCopy() *HTTPConnection

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

func (*HTTPConnection) DeepCopyInto

func (in *HTTPConnection) DeepCopyInto(out *HTTPConnection)

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

type Hasher

type Hasher func(interface{}) (string, error)

Hasher +kubebuilder:object:generate:=false

type HelmRepository

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

	// Spec reflects a Console API Helm repository spec.
	// +kubebuilder:validation:Required
	Spec HelmRepositorySpec `json:"spec"`

	// Status represent a status of this resource.
	// +kubebuilder:validation:Optional
	Status Status `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the Helm repository in the Console API."

func (*HelmRepository) Attributes

func (in *HelmRepository) Attributes(ctx context.Context, authAttributesGetter AuthAttributesGetter) (*console.HelmRepositoryAttributes, error)

func (*HelmRepository) ConsoleID

func (in *HelmRepository) ConsoleID() *string

ConsoleID returns an ID used in Console API.

func (*HelmRepository) ConsoleName

func (in *HelmRepository) ConsoleName() string

ConsoleName returns a name used in Console API.

func (*HelmRepository) DeepCopy

func (in *HelmRepository) DeepCopy() *HelmRepository

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

func (*HelmRepository) DeepCopyInto

func (in *HelmRepository) DeepCopyInto(out *HelmRepository)

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

func (*HelmRepository) DeepCopyObject

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

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

func (*HelmRepository) Diff

func (in *HelmRepository) Diff(ctx context.Context, getter AuthAttributesGetter, hasher Hasher) (changed bool, sha string, err error)

func (*HelmRepository) SetCondition

func (in *HelmRepository) SetCondition(condition metav1.Condition)

type HelmRepositoryAuth

type HelmRepositoryAuth struct {
	// +kubebuilder:validation:Optional
	Basic *HelmRepositoryAuthBasic `json:"basic,omitempty"`

	// +kubebuilder:validation:Optional
	Bearer *HelmRepositoryAuthBearer `json:"bearer,omitempty"`

	// +kubebuilder:validation:Optional
	Aws *HelmRepositoryAuthAWS `json:"aws,omitempty"`

	// +kubebuilder:validation:Optional
	Azure *HelmRepositoryAuthAzure `json:"azure,omitempty"`

	// +kubebuilder:validation:Optional
	Gcp *HelmRepositoryAuthGCP `json:"gcp,omitempty"`
}

func (*HelmRepositoryAuth) DeepCopy

func (in *HelmRepositoryAuth) DeepCopy() *HelmRepositoryAuth

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

func (*HelmRepositoryAuth) DeepCopyInto

func (in *HelmRepositoryAuth) DeepCopyInto(out *HelmRepositoryAuth)

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

type HelmRepositoryAuthAWS

type HelmRepositoryAuthAWS struct {
	// +kubebuilder:validation:Optional
	AccessKey *string `json:"accessKey,omitempty"`

	// SecretAccessKeySecretRef is a secret reference that should contain secret access key.
	// +kubebuilder:validation:Optional
	SecretAccessKeySecretRef *corev1.SecretReference `json:"secretAccessKeySecretRef,omitempty"`

	// +kubebuilder:validation:Optional
	AssumeRoleArn *string `json:"assumeRoleArn,omitempty"`
}

func (*HelmRepositoryAuthAWS) DeepCopy

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

func (*HelmRepositoryAuthAWS) DeepCopyInto

func (in *HelmRepositoryAuthAWS) DeepCopyInto(out *HelmRepositoryAuthAWS)

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

type HelmRepositoryAuthAzure

type HelmRepositoryAuthAzure struct {
	// +kubebuilder:validation:Optional
	ClientID *string `json:"clientId,omitempty"`

	// ClientSecretSecretRef is a secret reference that should contain client secret.
	// +kubebuilder:validation:Optional
	ClientSecretSecretRef *corev1.SecretReference `json:"clientSecretSecretRef,omitempty"`

	// +kubebuilder:validation:Optional
	TenantID *string `json:"tenantId,omitempty"`

	// +kubebuilder:validation:Optional
	SubscriptionID *string `json:"subscriptionId,omitempty"`
}

func (*HelmRepositoryAuthAzure) DeepCopy

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

func (*HelmRepositoryAuthAzure) DeepCopyInto

func (in *HelmRepositoryAuthAzure) DeepCopyInto(out *HelmRepositoryAuthAzure)

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

type HelmRepositoryAuthBasic

type HelmRepositoryAuthBasic struct {
	// +kubebuilder:validation:Required
	Username string `json:"username"`

	// +kubebuilder:validation:Required
	PasswordSecretRef corev1.SecretReference `json:"passwordSecretRef"`
}

func (*HelmRepositoryAuthBasic) DeepCopy

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

func (*HelmRepositoryAuthBasic) DeepCopyInto

func (in *HelmRepositoryAuthBasic) DeepCopyInto(out *HelmRepositoryAuthBasic)

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

type HelmRepositoryAuthBearer

type HelmRepositoryAuthBearer struct {
	// +kubebuilder:validation:Required
	TokenSecretRef corev1.SecretReference `json:"tokenSecretRef"`
}

func (*HelmRepositoryAuthBearer) DeepCopy

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

func (*HelmRepositoryAuthBearer) DeepCopyInto

func (in *HelmRepositoryAuthBearer) DeepCopyInto(out *HelmRepositoryAuthBearer)

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

type HelmRepositoryAuthGCP

type HelmRepositoryAuthGCP struct {
	// ApplicationCredentialsSecretRef is a secret reference that should contain application credentials.
	// +kubebuilder:validation:Optional
	ApplicationCredentialsSecretRef *corev1.SecretReference `json:"applicationCredentialsSecretRef,omitempty"`
}

func (*HelmRepositoryAuthGCP) DeepCopy

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

func (*HelmRepositoryAuthGCP) DeepCopyInto

func (in *HelmRepositoryAuthGCP) DeepCopyInto(out *HelmRepositoryAuthGCP)

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

type HelmRepositoryList

type HelmRepositoryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []HelmRepository `json:"items"`
}

HelmRepositoryList is a list of Helm repositories. +kubebuilder:object:root=true

func (*HelmRepositoryList) DeepCopy

func (in *HelmRepositoryList) DeepCopy() *HelmRepositoryList

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

func (*HelmRepositoryList) DeepCopyInto

func (in *HelmRepositoryList) DeepCopyInto(out *HelmRepositoryList)

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

func (*HelmRepositoryList) DeepCopyObject

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

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

type HelmRepositorySpec

type HelmRepositorySpec struct {
	// URL of the Helm repository.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="URL is immutable"
	URL string `json:"url"`

	// Provider is the name of the Helm auth provider.
	// +kubebuilder:example:=AWS
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:Enum:=BASIC;BEARER;GCP;AZURE;AWS
	Provider *console.HelmAuthProvider `json:"provider,omitempty"`

	// Auth contains authentication credentials for the Helm repository.
	// +kubebuilder:validation:Optional
	Auth *HelmRepositoryAuth `json:"auth,omitempty"`
}

func (*HelmRepositorySpec) DeepCopy

func (in *HelmRepositorySpec) DeepCopy() *HelmRepositorySpec

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

func (*HelmRepositorySpec) DeepCopyInto

func (in *HelmRepositorySpec) DeepCopyInto(out *HelmRepositorySpec)

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

type InfrastructureStack

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

	Spec   InfrastructureStackSpec `json:"spec,omitempty"`
	Status Status                  `json:"status,omitempty"`
}

InfrastructureStack is the Schema for the infrastructurestacks API +kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the InfrastructureStack in the Console API."

func (*InfrastructureStack) DeepCopy

func (in *InfrastructureStack) DeepCopy() *InfrastructureStack

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

func (*InfrastructureStack) DeepCopyInto

func (in *InfrastructureStack) DeepCopyInto(out *InfrastructureStack)

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

func (*InfrastructureStack) DeepCopyObject

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

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

func (*InfrastructureStack) HasObservableMetrics

func (p *InfrastructureStack) HasObservableMetrics() bool

func (*InfrastructureStack) HasProjectRef

func (p *InfrastructureStack) HasProjectRef() bool

func (*InfrastructureStack) HasStackDefinitionRef

func (p *InfrastructureStack) HasStackDefinitionRef() bool

func (*InfrastructureStack) ProjectName

func (p *InfrastructureStack) ProjectName() string

func (*InfrastructureStack) SetCondition

func (p *InfrastructureStack) SetCondition(condition metav1.Condition)

func (*InfrastructureStack) StackDefinitionObjectKey

func (p *InfrastructureStack) StackDefinitionObjectKey() client.ObjectKey

func (*InfrastructureStack) StackName

func (p *InfrastructureStack) StackName() string

type InfrastructureStackList

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

InfrastructureStackList contains a list of InfrastructureStack +kubebuilder:object:root=true

func (*InfrastructureStackList) DeepCopy

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

func (*InfrastructureStackList) DeepCopyInto

func (in *InfrastructureStackList) DeepCopyInto(out *InfrastructureStackList)

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

func (*InfrastructureStackList) DeepCopyObject

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

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

type InfrastructureStackSpec

type InfrastructureStackSpec struct {
	// Name of this Stack. If not provided InfrastructureStack's own name from InfrastructureStack.ObjectMeta will be used.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`

	// Type specifies the tool to use to apply it
	// +kubebuilder:validation:Enum=TERRAFORM;ANSIBLE;CUSTOM
	// +kubebuilder:validation:Required
	Type console.StackType `json:"type"`

	// RepositoryRef to source IaC from
	// +kubebuilder:validation:Required
	RepositoryRef corev1.ObjectReference `json:"repositoryRef"`

	// +kubebuilder:validation:Required
	ClusterRef corev1.ObjectReference `json:"clusterRef"`

	// ProjectRef references project this stack belongs to.
	// If not provided, it will use the default project.
	// +kubebuilder:validation:Optional
	ProjectRef *corev1.ObjectReference `json:"projectRef,omitempty"`

	// Git reference w/in the repository where the IaC lives
	Git GitRef `json:"git"`

	// ManageState - whether you want Plural to manage the state of this stack
	// +kubebuilder:validation:Optional
	ManageState *bool `json:"manageState,omitempty"`

	// Workdir - the working directory within the git spec you want to run commands in (useful for projects with external modules)
	// +kubebuilder:validation:Optional
	Workdir *string `json:"workdir,omitempty"`

	// JobSpec optional k8s job configuration for the job that will apply this stack
	// +kubebuilder:validation:Optional
	JobSpec *JobSpec `json:"jobSpec,omitempty"`

	// Configuration version/image config for the tool you're using
	// +kubebuilder:validation:Optional
	Configuration *StackConfiguration `json:"configuration,omitempty"`

	// Configuration for cron generation of stack runs
	// +kubebuilder:validation:Optional
	Cron *StackCron `json:"cron,omitempty"`

	// Approval whether to require approval
	// +kubebuilder:validation:Optional
	Approval *bool `json:"approval,omitempty"`

	// Bindings contain read and write policies of this cluster
	// +kubebuilder:validation:Optional
	Bindings *Bindings `json:"bindings,omitempty"`

	// +kubebuilder:validation:Optional
	Environment []StackEnvironment `json:"environment,omitempty"`

	// Files reference to Secret with a key as a part of mount path and value as a content
	// +kubebuilder:validation:Optional
	Files []StackFile `json:"files,omitempty"`

	// Detach if true, detach the stack on CR deletion, leaving all cloud resources in-place.
	// +kubebuilder:validation:Optional
	Detach bool `json:"detach,omitempty"`

	// Actor - user email to use for default Plural authentication in this stack.
	// +kubebuilder:validation:Optional
	Actor *string `json:"actor,omitempty"`

	// +kubebuilder:validation:Optional
	ScmConnectionRef *corev1.ObjectReference `json:"scmConnectionRef,omitempty"`

	// +kubebuilder:validation:Optional
	StackDefinitionRef *corev1.ObjectReference `json:"stackDefinitionRef,omitempty"`

	// +kubebuilder:validation:Optional
	ObservableMetrics []ObservableMetric `json:"observableMetrics,omitempty"`

	// Tags used to filter stacks.
	// +kubebuilder:validation:Optional
	Tags map[string]string `json:"tags,omitempty"`

	// Variables represents a file with variables in the stack run environment.
	// It will be automatically passed to the specific tool depending on the
	// stack Type (except [console.StackTypeCustom]).
	// +kubebuilder:validation:Optional
	Variables *runtime.RawExtension `json:"variables,omitempty"`
}

InfrastructureStackSpec defines the desired state of InfrastructureStack

func (*InfrastructureStackSpec) DeepCopy

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

func (*InfrastructureStackSpec) DeepCopyInto

func (in *InfrastructureStackSpec) DeepCopyInto(out *InfrastructureStackSpec)

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

type JobSpec

type JobSpec struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	Namespace string `json:"namespace"`

	// +kubebuilder:validation:Optional
	Containers []*Container `json:"containers,omitempty"`

	// +kubebuilder:validation:Optional
	Labels map[string]string `json:"labels,omitempty"`

	// +kubebuilder:validation:Optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	ServiceAccount *string `json:"serviceAccount,omitempty"`

	// Raw can be used if you'd rather define the job spec via straight Kubernetes manifest file.
	// +kubebuilder:validation:Optional
	Raw *batchv1.JobSpec `json:"raw,omitempty"`

	// Resource specification that overrides implicit container resources when containers are not directly configured.
	// +kubebuilder:validation:Optional
	Resources *ContainerResources `json:"resources,omitempty"`
}

JobSpec is a spec for a job gate.

func (*JobSpec) DeepCopy

func (in *JobSpec) DeepCopy() *JobSpec

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

func (*JobSpec) DeepCopyInto

func (in *JobSpec) DeepCopyInto(out *JobSpec)

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

type ManagedNamespace

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

	Spec   ManagedNamespaceSpec `json:"spec,omitempty"`
	Status Status               `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Id",type="string",JSONPath=".status.id",description="ManagedNamespace ID" ManagedNamespace is the Schema for the managednamespaces API

func (*ManagedNamespace) DeepCopy

func (in *ManagedNamespace) DeepCopy() *ManagedNamespace

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

func (*ManagedNamespace) DeepCopyInto

func (in *ManagedNamespace) DeepCopyInto(out *ManagedNamespace)

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

func (*ManagedNamespace) DeepCopyObject

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

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

func (*ManagedNamespace) NamespaceName

func (p *ManagedNamespace) NamespaceName() string

func (*ManagedNamespace) SetCondition

func (p *ManagedNamespace) SetCondition(condition metav1.Condition)

type ManagedNamespaceList

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

ManagedNamespaceList contains a list of ManagedNamespace

func (*ManagedNamespaceList) DeepCopy

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

func (*ManagedNamespaceList) DeepCopyInto

func (in *ManagedNamespaceList) DeepCopyInto(out *ManagedNamespaceList)

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

func (*ManagedNamespaceList) DeepCopyObject

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

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

type ManagedNamespaceSpec

type ManagedNamespaceSpec struct {
	// Name of this namespace once its placed on a cluster. If not provided ManagedNamespace's own name from ManagedNamespace.ObjectMeta will be used.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`
	// Description a short description of the purpose of this namespace
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty"`

	// Cascade specifies how owned resources are deleted
	Cascade *Cascade `json:"cascade,omitempty"`

	// Labels for this namespace
	// +kubebuilder:validation:Optional
	Labels map[string]string `json:"labels,omitempty"`
	// Annotations for this namespace
	// +kubebuilder:validation:Optional
	Annotations map[string]string `json:"annotations,omitempty"`
	// PullSecrets a list of pull secrets to attach to this namespace
	// +kubebuilder:validation:Optional
	PullSecrets []string `json:"pullSecrets,omitempty"`
	// +kubebuilder:validation:Optional
	Service *ServiceTemplate `json:"service,omitempty"`
	// +kubebuilder:validation:Optional
	Target *ClusterTarget `json:"target,omitempty"`

	// ProjectRef allows a managed namespace to span a specific project only
	// +kubebuilder:validation:Optional
	ProjectRef *corev1.ObjectReference `json:"projectRef,omitempty"`
}

ManagedNamespaceSpec defines the desired state of ManagedNamespace

func (*ManagedNamespaceSpec) DeepCopy

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

func (*ManagedNamespaceSpec) DeepCopyInto

func (in *ManagedNamespaceSpec) DeepCopyInto(out *ManagedNamespaceSpec)

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

type NamespaceCredentials

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

	// +kubebuilder:validation:Required
	Spec NamespaceCredentialsSpec `json:"spec"`

	// +kubebuilder:validation:Optional
	Status NamespaceCredentialsStatus `json:"status,omitempty"`
}

NamespaceCredentials connects namespaces with credentials from secret ref, which are then used by other controllers during reconciling. +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status

func (*NamespaceCredentials) DeepCopy

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

func (*NamespaceCredentials) DeepCopyInto

func (in *NamespaceCredentials) DeepCopyInto(out *NamespaceCredentials)

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

func (*NamespaceCredentials) DeepCopyObject

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

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

func (*NamespaceCredentials) SetCondition

func (in *NamespaceCredentials) SetCondition(condition metav1.Condition)

type NamespaceCredentialsList

type NamespaceCredentialsList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []NamespaceCredentials `json:"items"`
}

NamespaceCredentialsList contains a list of NamespaceCredentials. +kubebuilder:object:root=true

func (*NamespaceCredentialsList) DeepCopy

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

func (*NamespaceCredentialsList) DeepCopyInto

func (in *NamespaceCredentialsList) DeepCopyInto(out *NamespaceCredentialsList)

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

func (*NamespaceCredentialsList) DeepCopyObject

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

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

type NamespaceCredentialsSpec

type NamespaceCredentialsSpec struct {
	// Namespaces that will be connected with credentials from SecretRef.
	// +kubebuilder:validation:Required
	Namespaces []string `json:"namespaces"`

	// SecretRef contains reference to secret with credentials.
	// +kubebuilder:validation:Required
	SecretRef corev1.SecretReference `json:"secretRef,omitempty"`
}

func (*NamespaceCredentialsSpec) DeepCopy

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

func (*NamespaceCredentialsSpec) DeepCopyInto

func (in *NamespaceCredentialsSpec) DeepCopyInto(out *NamespaceCredentialsSpec)

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

type NamespaceCredentialsStatus

type NamespaceCredentialsStatus struct {
	// TokenSHA contains SHA of last token seen.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	TokenSHA *string `json:"tokenSHA,omitempty"`

	// Conditions represent the observations of a NamespaceCredentials current state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*NamespaceCredentialsStatus) DeepCopy

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

func (*NamespaceCredentialsStatus) DeepCopyInto

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

func (*NamespaceCredentialsStatus) IsStatusConditionTrue

func (p *NamespaceCredentialsStatus) IsStatusConditionTrue(condition ConditionType) bool

type NamespacedName

type NamespacedName struct {
	// Name is a resource name.
	// +kubebuilder:validation:Required
	Name string `json:"name"`

	// Namespace is a resource namespace.
	// +kubebuilder:validation:Required
	Namespace string `json:"namespace"`
}

NamespacedName is the same as types.NamespacedName with the addition of kubebuilder/json annotations for better schema support.

func (*NamespacedName) DeepCopy

func (in *NamespacedName) DeepCopy() *NamespacedName

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

func (*NamespacedName) DeepCopyInto

func (in *NamespacedName) DeepCopyInto(out *NamespacedName)

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

type NamespacedPluralResource

type NamespacedPluralResource interface {
	PluralResource

	// ConsoleNamespace returns a resource namespace read from the Console API
	ConsoleNamespace() string
}

NamespacedPluralResource ... +k8s:deepcopy-gen=false

type NotificationRouter

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

	Spec   NotificationRouterSpec `json:"spec,omitempty"`
	Status Status                 `json:"status,omitempty"`
}

NotificationRouter is the Schema for the notificationrouters API

func (*NotificationRouter) DeepCopy

func (in *NotificationRouter) DeepCopy() *NotificationRouter

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

func (*NotificationRouter) DeepCopyInto

func (in *NotificationRouter) DeepCopyInto(out *NotificationRouter)

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

func (*NotificationRouter) DeepCopyObject

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

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

func (*NotificationRouter) NotificationName

func (p *NotificationRouter) NotificationName() string

NotificationName implements NamespacedPluralResource interface

func (*NotificationRouter) SetCondition

func (p *NotificationRouter) SetCondition(condition metav1.Condition)

type NotificationRouterList

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

NotificationRouterList contains a list of NotificationRouter

func (*NotificationRouterList) DeepCopy

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

func (*NotificationRouterList) DeepCopyInto

func (in *NotificationRouterList) DeepCopyInto(out *NotificationRouterList)

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

func (*NotificationRouterList) DeepCopyObject

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

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

type NotificationRouterSpec

type NotificationRouterSpec struct {
	// Name the name of this router, if not provided NotificationRouter's own name from NotificationRouter.ObjectMeta will be used.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`

	// Events the events to trigger, or use * for any
	Events []string `json:"events,omitempty"`

	// Filters filters by object type
	// +kubebuilder:validation:Optional
	Filters []RouterFilters `json:"filters,omitempty"`

	// Sinks notification sinks to deliver notifications to
	// +kubebuilder:validation:Optional
	Sinks []corev1.ObjectReference `json:"sinks,omitempty"`
}

NotificationRouterSpec defines the desired state of NotificationRouter

func (*NotificationRouterSpec) DeepCopy

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

func (*NotificationRouterSpec) DeepCopyInto

func (in *NotificationRouterSpec) DeepCopyInto(out *NotificationRouterSpec)

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

func (*NotificationRouterSpec) HasName

func (p *NotificationRouterSpec) HasName() bool

type NotificationSink

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

	Spec   NotificationSinkSpec `json:"spec,omitempty"`
	Status Status               `json:"status,omitempty"`
}

NotificationSink is the Schema for the notificationsinks API

func (*NotificationSink) DeepCopy

func (in *NotificationSink) DeepCopy() *NotificationSink

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

func (*NotificationSink) DeepCopyInto

func (in *NotificationSink) DeepCopyInto(out *NotificationSink)

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

func (*NotificationSink) DeepCopyObject

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

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

func (*NotificationSink) NotificationName

func (p *NotificationSink) NotificationName() string

NotificationName implements NamespacedPluralResource interface

func (*NotificationSink) SetCondition

func (p *NotificationSink) SetCondition(condition metav1.Condition)

type NotificationSinkList

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

NotificationSinkList contains a list of NotificationSink

func (*NotificationSinkList) DeepCopy

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

func (*NotificationSinkList) DeepCopyInto

func (in *NotificationSinkList) DeepCopyInto(out *NotificationSinkList)

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

func (*NotificationSinkList) DeepCopyObject

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

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

type NotificationSinkSpec

type NotificationSinkSpec struct {
	// Name the name of this service, if not provided NotificationSink's own name from NotificationSink.ObjectMeta will be used.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`

	// Type the channel type of this sink.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum=SLACK;TEAMS;PLURAL
	Type console.SinkType `json:"type"`

	// Configuration for the specific type
	// +kubebuilder:validation:Optional
	Configuration SinkConfiguration `json:"configuration"`

	// Bindings to determine users/groups to be notified for PLURAL sync types
	// +kubebuilder:validation:Optional
	Bindings []Binding `json:"bindings,omitempty"`
}

NotificationSinkSpec defines the desired state of NotificationSink

func (*NotificationSinkSpec) DeepCopy

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

func (*NotificationSinkSpec) DeepCopyInto

func (in *NotificationSinkSpec) DeepCopyInto(out *NotificationSinkSpec)

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

func (*NotificationSinkSpec) HasName

func (p *NotificationSinkSpec) HasName() bool

type OIDCProvider

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

	Spec   OIDCProviderSpec `json:"spec,omitempty"`
	Status Status           `json:"status,omitempty"`
}

OIDCProvider is the Schema for the OIDCProviders API +kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the OIDCProvider in the Console API."

func (*OIDCProvider) Attributes

func (in *OIDCProvider) Attributes() console.OidcProviderAttributes

func (*OIDCProvider) DeepCopy

func (in *OIDCProvider) DeepCopy() *OIDCProvider

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

func (*OIDCProvider) DeepCopyInto

func (in *OIDCProvider) DeepCopyInto(out *OIDCProvider)

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

func (*OIDCProvider) DeepCopyObject

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

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

func (*OIDCProvider) Diff

func (in *OIDCProvider) Diff(hasher Hasher) (changed bool, sha string, err error)

func (*OIDCProvider) GetName

func (in *OIDCProvider) GetName() string

func (*OIDCProvider) SetCondition

func (in *OIDCProvider) SetCondition(condition metav1.Condition)

type OIDCProviderList

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

OIDCProviderList contains a list of OIDCProvider +kubebuilder:object:root=true

func (*OIDCProviderList) DeepCopy

func (in *OIDCProviderList) DeepCopy() *OIDCProviderList

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

func (*OIDCProviderList) DeepCopyInto

func (in *OIDCProviderList) DeepCopyInto(out *OIDCProviderList)

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

func (*OIDCProviderList) DeepCopyObject

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

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

type OIDCProviderSpec

type OIDCProviderSpec struct {
	// Name of this OIDCProvider. If not provided OIDCProvider's own name
	// from OIDCProvider.ObjectMeta will be used.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`

	// Description can be used to describe this OIDCProvider.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty"`

	// RedirectUris is a list of custom run steps that will be executed as
	// part of the stack run.
	// +kubebuilder:validation:Optional
	RedirectUris []string `json:"redirectUris,omitempty"`

	// CredentialsSecretRef is a local reference to the secret that contains OIDC provider credentials.
	// It will be created once OIDCProvider is created in the Console API.
	//
	// Secret will contain 2 keys:
	// - 'clientId'
	// - 'clientSecret'
	//
	// +kubebuilder:validation:Required
	CredentialsSecretRef corev1.LocalObjectReference `json:"credentialsSecretRef"`
}

OIDCProviderSpec defines the desired state of OIDCProvider

func (*OIDCProviderSpec) DeepCopy

func (in *OIDCProviderSpec) DeepCopy() *OIDCProviderSpec

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

func (*OIDCProviderSpec) DeepCopyInto

func (in *OIDCProviderSpec) DeepCopyInto(out *OIDCProviderSpec)

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

type ObservabilityProvider

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

	// +kubebuilder:validation:Required
	Spec ObservabilityProviderSpec `json:"spec"`

	// +kubebuilder:validation:Optional
	Status Status `json:"status,omitempty"`
}

ObservabilityProvider defines metrics provider used by i.e. InfrastructureStack to determine if a stack run should be cancelled. +kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the ObservabilityProvider in the Console API."

func (*ObservabilityProvider) ConsoleName

func (in *ObservabilityProvider) ConsoleName() string

func (*ObservabilityProvider) DeepCopy

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

func (*ObservabilityProvider) DeepCopyInto

func (in *ObservabilityProvider) DeepCopyInto(out *ObservabilityProvider)

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

func (*ObservabilityProvider) DeepCopyObject

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

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

func (*ObservabilityProvider) Diff

func (in *ObservabilityProvider) Diff(hasher Hasher) (changed bool, sha string, err error)

func (*ObservabilityProvider) SetCondition

func (in *ObservabilityProvider) SetCondition(condition metav1.Condition)

type ObservabilityProviderCredentials

type ObservabilityProviderCredentials struct {
	// Datadog is a reference to the secret with credentials used to access datadog.
	// It requires 2 keys to be provided in a secret:
	// - 'apiKey'
	// - 'appKey'
	// +kubebuilder:validation:Optional
	Datadog *v1.SecretReference `json:"datadog,omitempty"`

	// Newrelic is a reference to the secret with credentials used to access newrelic.
	// It requires 1 key to be provided in a secret:
	// - 'apiKey'
	// +kubebuilder:validation:Optional
	Newrelic *v1.SecretReference `json:"newrelic,omitempty"`
}

func (*ObservabilityProviderCredentials) DeepCopy

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

func (*ObservabilityProviderCredentials) DeepCopyInto

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

type ObservabilityProviderList

type ObservabilityProviderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []ObservabilityProvider `json:"items"`
}

ObservabilityProviderList contains a list of ObservabilityProvider. +kubebuilder:object:root=true

func (*ObservabilityProviderList) DeepCopy

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

func (*ObservabilityProviderList) DeepCopyInto

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

func (*ObservabilityProviderList) DeepCopyObject

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

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

type ObservabilityProviderSpec

type ObservabilityProviderSpec struct {
	// Name of the ObservabilityProvider in the Console API.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`

	// Type of the ObservabilityProvider.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=DATADOG;NEWRELIC
	Type client.ObservabilityProviderType `json:"type"`

	// Credentials to access the configured provider Type.
	// +kubebuilder:validation:Optional
	Credentials *ObservabilityProviderCredentials `json:"credentials,omitempty"`
}

func (*ObservabilityProviderSpec) DeepCopy

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

func (*ObservabilityProviderSpec) DeepCopyInto

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

type ObservableMetric

type ObservableMetric struct {
	// +kubebuilder:validation:Required
	Identifier string `json:"identifier"`

	// +kubebuilder:validation:Required
	ObservabilityProviderRef corev1.ObjectReference `json:"observabilityProviderRef"`
}

func (*ObservableMetric) DeepCopy

func (in *ObservableMetric) DeepCopy() *ObservableMetric

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

func (*ObservableMetric) DeepCopyInto

func (in *ObservableMetric) DeepCopyInto(out *ObservableMetric)

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

type Observer

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

	Spec   ObserverSpec `json:"spec,omitempty"`
	Status Status       `json:"status,omitempty"`
}

Observer is the Schema for the observers API

func (*Observer) Attributes

func (*Observer) DeepCopy

func (in *Observer) DeepCopy() *Observer

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

func (*Observer) DeepCopyInto

func (in *Observer) DeepCopyInto(out *Observer)

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

func (*Observer) DeepCopyObject

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

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

func (*Observer) Diff

func (o *Observer) Diff(hasher Hasher) (changed bool, sha string, err error)

func (*Observer) ObserverName

func (o *Observer) ObserverName() string

ObserverName implements NamespacedPluralResource interface

func (*Observer) SetCondition

func (o *Observer) SetCondition(condition metav1.Condition)

type ObserverAction

type ObserverAction struct {
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:Enum:=PIPELINE;PR
	Type console.ObserverActionType `json:"type"`

	// The configuration for the given action, relative to its current Type
	Configuration ObserverConfiguration `json:"configuration"`
}

func (*ObserverAction) DeepCopy

func (in *ObserverAction) DeepCopy() *ObserverAction

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

func (*ObserverAction) DeepCopyInto

func (in *ObserverAction) DeepCopyInto(out *ObserverAction)

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

type ObserverConfiguration

type ObserverConfiguration struct {
	Pr       *ObserverPrAction       `json:"pr,omitempty"`
	Pipeline *ObserverPipelineAction `json:"pipeline,omitempty"`
}

func (*ObserverConfiguration) DeepCopy

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

func (*ObserverConfiguration) DeepCopyInto

func (in *ObserverConfiguration) DeepCopyInto(out *ObserverConfiguration)

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

type ObserverGit

type ObserverGit struct {

	// GitRepositoryRef references to Git repository.
	GitRepositoryRef v1.ObjectReference `json:"gitRepositoryRef"`
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:Enum:=TAGS
	Type console.ObserverGitTargetType `json:"type"`
}

func (*ObserverGit) DeepCopy

func (in *ObserverGit) DeepCopy() *ObserverGit

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

func (*ObserverGit) DeepCopyInto

func (in *ObserverGit) DeepCopyInto(out *ObserverGit)

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

type ObserverHelm

type ObserverHelm struct {
	// URL of the Helm repository.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="URL is immutable"
	URL string `json:"url"`

	// Chart of the Helm repository.
	// +kubebuilder:validation:Required
	Chart string `json:"chart"`

	// Provider is the name of the Helm auth provider.
	// +kubebuilder:example:=AWS
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:Enum:=BASIC;BEARER;GCP;AZURE;AWS
	Provider *console.HelmAuthProvider `json:"provider,omitempty"`

	// Auth contains authentication credentials for the Helm repository.
	// +kubebuilder:validation:Optional
	Auth *HelmRepositoryAuth `json:"auth,omitempty"`
}

func (*ObserverHelm) DeepCopy

func (in *ObserverHelm) DeepCopy() *ObserverHelm

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

func (*ObserverHelm) DeepCopyInto

func (in *ObserverHelm) DeepCopyInto(out *ObserverHelm)

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

type ObserverList

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

ObserverList contains a list of Observer

func (*ObserverList) DeepCopy

func (in *ObserverList) DeepCopy() *ObserverList

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

func (*ObserverList) DeepCopyInto

func (in *ObserverList) DeepCopyInto(out *ObserverList)

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

func (*ObserverList) DeepCopyObject

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

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

type ObserverOci

type ObserverOci struct {
	// URL of the Helm repository.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="URL is immutable"
	URL string `json:"url"`

	// Provider is the name of the Helm auth provider.
	// +kubebuilder:example:=AWS
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:Enum:=BASIC;BEARER;GCP;AZURE;AWS
	Provider *console.HelmAuthProvider `json:"provider,omitempty"`

	// Auth contains authentication credentials for the Helm repository.
	// +kubebuilder:validation:Optional
	Auth *HelmRepositoryAuth `json:"auth,omitempty"`
}

func (*ObserverOci) DeepCopy

func (in *ObserverOci) DeepCopy() *ObserverOci

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

func (*ObserverOci) DeepCopyInto

func (in *ObserverOci) DeepCopyInto(out *ObserverOci)

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

type ObserverPipelineAction

type ObserverPipelineAction struct {
	// PipelineRef references to Pipeline.
	PipelineRef v1.ObjectReference `json:"pipelineRef"`

	// Context is a templated context that will become the PipelineContext applied to the given pipeline, use `$value` to interpolate the observed value
	Context runtime.RawExtension `json:"context,omitempty"`
}

func (*ObserverPipelineAction) DeepCopy

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

func (*ObserverPipelineAction) DeepCopyInto

func (in *ObserverPipelineAction) DeepCopyInto(out *ObserverPipelineAction)

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

type ObserverPrAction

type ObserverPrAction struct {
	// PrAutomationRef references to PR automation.
	PrAutomationRef v1.ObjectReference `json:"prAutomationRef"`
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty"`
	// BranchTemplate a template to use for the created branch, use $value to interject the observed value
	BranchTemplate *string `json:"branchTemplate,omitempty"`

	// Context is a templated context that will become the context applied to the given PR Automation, use `$value` to interpolate the observed value
	Context runtime.RawExtension `json:"context,omitempty"`
}

func (*ObserverPrAction) DeepCopy

func (in *ObserverPrAction) DeepCopy() *ObserverPrAction

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

func (*ObserverPrAction) DeepCopyInto

func (in *ObserverPrAction) DeepCopyInto(out *ObserverPrAction)

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

type ObserverSpec

type ObserverSpec struct {
	// the name of this observer, if not provided Observer's own name from Observer.ObjectMeta will be used.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`

	// The crontab you will poll the given Target with
	Crontab string `json:"crontab"`

	// The target object to poll, triggering the list of Actions w/ the discovered value
	Target ObserverTarget `json:"target"`

	// A list of predefined actions to take if a new Target is discovered in the last poll loop
	Actions []ObserverAction `json:"actions,omitempty"`

	// ProjectRef references project this observer belongs to.
	// If not provided, it will use the default project.
	// +kubebuilder:validation:Optional
	ProjectRef *v1.ObjectReference `json:"projectRef,omitempty"`
}

ObserverSpec defines the desired state of Observer

func (*ObserverSpec) DeepCopy

func (in *ObserverSpec) DeepCopy() *ObserverSpec

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

func (*ObserverSpec) DeepCopyInto

func (in *ObserverSpec) DeepCopyInto(out *ObserverSpec)

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

type ObserverTarget

type ObserverTarget struct {
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:Enum:=OCI;HELM;GIT
	Type console.ObserverTargetType `json:"type"`

	// +kubebuilder:validation:Optional
	Format *string `json:"format,omitempty"`

	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:Enum:=SEMVER;LATEST
	Order console.ObserverTargetOrder `json:"order"`

	// +kubebuilder:validation:Optional
	Helm *ObserverHelm `json:"helm,omitempty"`
	// +kubebuilder:validation:Optional
	OCI *ObserverOci `json:"oci,omitempty"`
	// +kubebuilder:validation:Optional
	Git *ObserverGit `json:"git,omitempty"`
}

func (*ObserverTarget) DeepCopy

func (in *ObserverTarget) DeepCopy() *ObserverTarget

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

func (*ObserverTarget) DeepCopyInto

func (in *ObserverTarget) DeepCopyInto(out *ObserverTarget)

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

type OllamaSettings

type OllamaSettings struct {
	// URL is the url this model is queryable on
	//
	// +kubebuilder:validation:Required
	URL string `json:"url"`

	// Model is the Ollama model to use when querying the /chat api
	//
	// +kubebuilder:validation:Required
	Model string `json:"model"`

	// TokenSecretRef is a reference to the local secret holding the contents of a HTTP Authorization header
	// to send to your ollama api in case authorization is required (eg for an instance hosted on a public network)
	//
	// +kubebuilder:validation:Optional
	AuthorizationSecretRef *corev1.SecretKeySelector `json:"tokenSecretRef"`
}

Settings for configuring a self-hosted Ollama LLM, more details at https://github.com/ollama/ollama

func (*OllamaSettings) Authorization

func (in *OllamaSettings) Authorization(ctx context.Context, c client.Client, namespace string) (*string, error)

func (*OllamaSettings) DeepCopy

func (in *OllamaSettings) DeepCopy() *OllamaSettings

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

func (*OllamaSettings) DeepCopyInto

func (in *OllamaSettings) DeepCopyInto(out *OllamaSettings)

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

type Pipeline

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

	Spec   PipelineSpec `json:"spec,omitempty"`
	Status Status       `json:"status,omitempty"`
}

Pipeline is the Schema for the pipelines API +kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="Console ID"

func (*Pipeline) DeepCopy

func (in *Pipeline) DeepCopy() *Pipeline

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

func (*Pipeline) DeepCopyInto

func (in *Pipeline) DeepCopyInto(out *Pipeline)

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

func (*Pipeline) DeepCopyObject

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

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

func (*Pipeline) HasProjectRef

func (p *Pipeline) HasProjectRef() bool

func (*Pipeline) ProjectName

func (p *Pipeline) ProjectName() string

func (*Pipeline) SetCondition

func (p *Pipeline) SetCondition(condition metav1.Condition)

type PipelineContext

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

	Spec   PipelineContextSpec `json:"spec,omitempty"`
	Status Status              `json:"status,omitempty"`
}

PipelineContext is the Schema for the pipelinecontexts API

func (*PipelineContext) DeepCopy

func (in *PipelineContext) DeepCopy() *PipelineContext

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

func (*PipelineContext) DeepCopyInto

func (in *PipelineContext) DeepCopyInto(out *PipelineContext)

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

func (*PipelineContext) DeepCopyObject

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

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

func (*PipelineContext) SetCondition

func (p *PipelineContext) SetCondition(condition metav1.Condition)

type PipelineContextList

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

PipelineContextList contains a list of PipelineContext

func (*PipelineContextList) DeepCopy

func (in *PipelineContextList) DeepCopy() *PipelineContextList

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

func (*PipelineContextList) DeepCopyInto

func (in *PipelineContextList) DeepCopyInto(out *PipelineContextList)

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

func (*PipelineContextList) DeepCopyObject

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

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

type PipelineContextSpec

type PipelineContextSpec struct {
	// PipelineRef pointing to source Pipeline.
	// +kubebuilder:validation:Optional
	PipelineRef *corev1.ObjectReference `json:"pipelineRef,omitempty"`

	// Context is a Pipeline context
	Context runtime.RawExtension `json:"context,omitempty"`
}

PipelineContextSpec defines the desired state of PipelineContext

func (*PipelineContextSpec) DeepCopy

func (in *PipelineContextSpec) DeepCopy() *PipelineContextSpec

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

func (*PipelineContextSpec) DeepCopyInto

func (in *PipelineContextSpec) DeepCopyInto(out *PipelineContextSpec)

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

type PipelineEdge

type PipelineEdge struct {
	// FromID is stage ID the edge is from, can also be specified by name.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	FromID *string `json:"fromId,omitempty"`

	// ToID is stage ID the edge is to, can also be specified by name.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	ToID *string `json:"toId,omitempty"`

	// From is the name of the pipeline stage this edge emits from.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	From *string `json:"from,omitempty"`

	// To is the name of the pipeline stage this edge points to.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	To *string `json:"to,omitempty"`

	// Gates are any optional promotion gates you wish to configure.
	// +kubebuilder:validation:Optional
	Gates []PipelineGate `json:"gates,omitempty"`
}

PipelineEdge is a specification of an edge between two pipeline stages.

func (*PipelineEdge) DeepCopy

func (in *PipelineEdge) DeepCopy() *PipelineEdge

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

func (*PipelineEdge) DeepCopyInto

func (in *PipelineEdge) DeepCopyInto(out *PipelineEdge)

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

type PipelineGate

type PipelineGate struct {
	// Name of this gate.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	Name string `json:"name"`

	// Type of gate this is.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=APPROVAL;WINDOW;JOB
	Type console.GateType `json:"type"`

	// ClusterRef of a Cluster this gate will execute on.
	// +kubebuilder:validation:Optional
	ClusterRef *v1.ObjectReference `json:"clusterRef,omitempty"`

	// Spec contains specification for more complex gate types.
	// +kubebuilder:validation:Optional
	Spec *GateSpec `json:"spec,omitempty"`
}

PipelineGate will configure a promotion gate for a pipeline.

func (*PipelineGate) DeepCopy

func (in *PipelineGate) DeepCopy() *PipelineGate

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

func (*PipelineGate) DeepCopyInto

func (in *PipelineGate) DeepCopyInto(out *PipelineGate)

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

type PipelineList

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

PipelineList contains a list of Pipeline +kubebuilder:object:root=true

func (*PipelineList) DeepCopy

func (in *PipelineList) DeepCopy() *PipelineList

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

func (*PipelineList) DeepCopyInto

func (in *PipelineList) DeepCopyInto(out *PipelineList)

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

func (*PipelineList) DeepCopyObject

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

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

type PipelineSpec

type PipelineSpec struct {
	// Stages of a pipeline.
	Stages []PipelineStage `json:"stages,omitempty"`

	// Edges of a pipeline.
	Edges []PipelineEdge `json:"edges,omitempty"`

	// ProjectRef references project this stack belongs to.
	// If not provided, it will use the default project.
	// +kubebuilder:validation:Optional
	ProjectRef *v1.ObjectReference `json:"projectRef,omitempty"`

	// Bindings contain read and write policies of this pipeline
	// +kubebuilder:validation:Optional
	Bindings *Bindings `json:"bindings,omitempty"`
}

PipelineSpec defines the desired state of Pipeline.

func (*PipelineSpec) DeepCopy

func (in *PipelineSpec) DeepCopy() *PipelineSpec

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

func (*PipelineSpec) DeepCopyInto

func (in *PipelineSpec) DeepCopyInto(out *PipelineSpec)

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

type PipelineStage

type PipelineStage struct {
	// Name of this stage.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	Name string `json:"name"`

	// Services including optional promotion criteria.
	Services []PipelineStageService `json:"services,omitempty"`
}

PipelineStage defines the Pipeline stage.

func (*PipelineStage) DeepCopy

func (in *PipelineStage) DeepCopy() *PipelineStage

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

func (*PipelineStage) DeepCopyInto

func (in *PipelineStage) DeepCopyInto(out *PipelineStage)

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

type PipelineStageService

type PipelineStageService struct {
	ServiceRef *v1.ObjectReference `json:"serviceRef,omitempty"`

	// +kubebuilder:validation:Optional
	Criteria *PipelineStageServicePromotionCriteria `json:"criteria,omitempty"`
}

PipelineStageService is the configuration of a service within a pipeline stage, including optional promotion criteria.

func (*PipelineStageService) DeepCopy

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

func (*PipelineStageService) DeepCopyInto

func (in *PipelineStageService) DeepCopyInto(out *PipelineStageService)

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

type PipelineStageServicePromotionCriteria

type PipelineStageServicePromotionCriteria struct {
	// ServiceRef pointing to source service to promote from.
	// +kubebuilder:validation:Optional
	ServiceRef *v1.ObjectReference `json:"serviceRef,omitempty"`

	// PrAutomationRef pointing to source PR automation to promote from.
	// +kubebuilder:validation:Optional
	PrAutomationRef *v1.ObjectReference `json:"prAutomationRef,omitempty"`

	// The repository slug the pr automation will use (eg pluralsh/console if you will pr against https://github.com/pluralsh/console)
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty"`

	// Secrets to copy over in a promotion.
	// +kubebuilder:validation:Optional
	Secrets []*string `json:"secrets,omitempty"`
}

PipelineStageServicePromotionCriteria represents actions to perform if this stage service were promoted.

func (*PipelineStageServicePromotionCriteria) DeepCopy

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

func (*PipelineStageServicePromotionCriteria) DeepCopyInto

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

type PluralResource

type PluralResource interface {
	client.Object

	// ConsoleID returns a resource id read from the Console API
	ConsoleID() *string
	// ConsoleName returns a resource name read from the Console API
	ConsoleName() string
}

PluralResource ... +k8s:deepcopy-gen=false

type PluralSinkConfiguration

type PluralSinkConfiguration struct {
	// The priority to label any delivered notification as
	// +kubebuilder:validation:Enum=LOW;MEDIUM;HIGH
	Priority console.NotificationPriority `json:"priority,omitempty"`

	// Whether to immediately deliver the notification via SMTP
	// +kubebuilder:validation:Optional
	Urgent *bool `json:"urgent,omitempty"`
}

func (*PluralSinkConfiguration) DeepCopy

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

func (*PluralSinkConfiguration) DeepCopyInto

func (in *PluralSinkConfiguration) DeepCopyInto(out *PluralSinkConfiguration)

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

type PrAutomation

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

	// Spec ...
	// +kubebuilder:validation:Required
	Spec PrAutomationSpec `json:"spec"`

	// Status ...
	// +kubebuilder:validation:Optional
	Status Status `json:"status,omitempty"`
}

PrAutomation ... +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the pr automation in the Console API."

func (*PrAutomation) Attributes

func (in *PrAutomation) Attributes(clusterID, serviceID, connectionID, repositoryID, projectID *string) *console.PrAutomationAttributes

func (*PrAutomation) ConsoleID

func (in *PrAutomation) ConsoleID() *string

ConsoleID implements PluralResource interface

func (*PrAutomation) ConsoleName

func (in *PrAutomation) ConsoleName() string

ConsoleName implements PluralResource interface

func (*PrAutomation) DeepCopy

func (in *PrAutomation) DeepCopy() *PrAutomation

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

func (*PrAutomation) DeepCopyInto

func (in *PrAutomation) DeepCopyInto(out *PrAutomation)

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

func (*PrAutomation) DeepCopyObject

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

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

func (*PrAutomation) Diff

func (in *PrAutomation) Diff(hasher Hasher) (changed bool, sha string, err error)

func (*PrAutomation) SetCondition

func (in *PrAutomation) SetCondition(condition metav1.Condition)

type PrAutomationBindings

type PrAutomationBindings struct {
	// Create bindings.
	// +kubebuilder:validation:Optional
	Create []Binding `json:"create,omitempty"`

	// Write bindings.
	// +kubebuilder:validation:Optional
	Write []Binding `json:"write,omitempty"`
}

PrAutomationBindings ...

func (*PrAutomationBindings) DeepCopy

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

func (*PrAutomationBindings) DeepCopyInto

func (in *PrAutomationBindings) DeepCopyInto(out *PrAutomationBindings)

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

type PrAutomationConfiguration

type PrAutomationConfiguration struct {
	// +kubebuilder:validation:Required
	Name string `json:"name"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=STRING;INT;BOOL;DOMAIN;BUCKET;FILE;FUNCTION;PASSWORD;ENUM
	Type console.ConfigurationType `json:"type"`

	// +kubebuilder:validation:Optional
	*Condition `json:"condition,omitempty"`

	// +kubebuilder:validation:Optional
	Default *string `json:"default,omitempty"`

	// +kubebuilder:validation:Optional
	Documentation *string `json:"documentation,omitempty"`

	// +kubebuilder:validation:Optional
	Longform *string `json:"longform,omitempty"`

	// +kubebuilder:validation:Optional
	Optional *bool `json:"optional,omitempty"`

	// +kubebuilder:validation:Optional
	Placeholder *string `json:"placeholder,omitempty"`

	// Any additional validations you want to apply to this configuration item before generating a pr
	// +kubebuilder:validation:Optional
	Validation *PrAutomationConfigurationValidation `json:"validation,omitempty"`

	// +kubebuilder:validation:Optional
	Values []*string `json:"values,omitempty"`
}

PrAutomationConfiguration ...

func (*PrAutomationConfiguration) Attributes

func (*PrAutomationConfiguration) DeepCopy

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

func (*PrAutomationConfiguration) DeepCopyInto

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

type PrAutomationConfigurationValidation

type PrAutomationConfigurationValidation struct {
	// A regex to match string-valued configuration items
	// +kubebuilder:validation:Optional
	Regex *string `json:"regex,omitempty"`

	// Whether the string value is supposed to be json-encoded
	// +kubebuilder:validation:Optional
	Json *bool `json:"json,omitempty"`
}

PrAutomationConfigurationValidation validations to apply to configuration items in a PR Automation

func (*PrAutomationConfigurationValidation) DeepCopy

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

func (*PrAutomationConfigurationValidation) DeepCopyInto

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

type PrAutomationConfirmation

type PrAutomationConfirmation struct {
	// Markdown text to explain this pr
	// +kubebuilder:validation:Optional
	Text *string `json:"text,omitempty"`

	// An itemized checklist to present to confirm each prerequisite is satisfied
	// +kubebuilder:validation:Optional
	Checklist []PrConfirmationChecklist `json:"checklist,omitempty"`
}

Additional details to verify all prerequisites are satisfied before generating this pr

func (*PrAutomationConfirmation) Attributes

func (*PrAutomationConfirmation) DeepCopy

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

func (*PrAutomationConfirmation) DeepCopyInto

func (in *PrAutomationConfirmation) DeepCopyInto(out *PrAutomationConfirmation)

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

type PrAutomationCreateConfiguration

type PrAutomationCreateConfiguration struct {
	// Git Location to source external files from
	// +kubebuilder:validation:Optional
	Git *GitRef `json:"git,omitempty"`

	// Template files to use to generate file content
	// +kubebuilder:validation:Optional
	Templates []PrAutomationTemplate `json:"templates,omitempty"`
}

PrAutomationCreateConfiguration ...

func (*PrAutomationCreateConfiguration) Attributes

func (*PrAutomationCreateConfiguration) DeepCopy

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

func (*PrAutomationCreateConfiguration) DeepCopyInto

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

type PrAutomationDeleteConfiguration

type PrAutomationDeleteConfiguration struct {
	// Individual files to delete
	// +kubebuilder:validation:Optional
	Files []string `json:"files"`

	// Entire folders to delete
	// +kubebuilder:validation:Optional
	Folders []string `json:"folders"`
}

func (*PrAutomationDeleteConfiguration) Attributes

func (*PrAutomationDeleteConfiguration) DeepCopy

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

func (*PrAutomationDeleteConfiguration) DeepCopyInto

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

type PrAutomationList

type PrAutomationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []PrAutomation `json:"items"`
}

PrAutomationList ... +kubebuilder:object:root=true

func (*PrAutomationList) DeepCopy

func (in *PrAutomationList) DeepCopy() *PrAutomationList

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

func (*PrAutomationList) DeepCopyInto

func (in *PrAutomationList) DeepCopyInto(out *PrAutomationList)

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

func (*PrAutomationList) DeepCopyObject

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

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

type PrAutomationSpec

type PrAutomationSpec struct {
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum=CLUSTER;SERVICE;PIPELINE;UPDATE;UPGRADE
	Role *console.PrRole `json:"role,omitempty"`

	// Addon is a link to an addon name
	// +kubebuilder:validation:Optional
	Addon *string `json:"addon,omitempty"`

	// The base branch this pr will be based on (defaults to the repo's main branch)
	// +kubebuilder:validation:Optional
	Branch *string `json:"branch,omitempty"`

	// An icon url to annotate this pr automation
	// +kubebuilder:validation:Optional
	Icon *string `json:"icon,omitempty"`

	// An darkmode icon url to annotate this pr automation
	// +kubebuilder:validation:Optional
	DarkIcon *string `json:"darkIcon,omitempty"`

	// Documentation ...
	// +kubebuilder:validation:Optional
	Documentation *string `json:"documentation,omitempty"`

	// Identifier is a string referencing the repository, i.e. for GitHub it would be "<organization>/<repositoryName>"
	// +kubebuilder:validation:Optional
	Identifier *string `json:"identifier,omitempty"`

	// Message the commit message this pr will incorporate
	// +kubebuilder:validation:Optional
	Message *string `json:"message,omitempty"`

	// Name name of the automation in the console api (defaults to metadata.name)
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`

	// Title the title of the generated pr
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty"`

	// ClusterRef a cluster this pr works on
	// +kubebuilder:validation:Optional
	ClusterRef *corev1.ObjectReference `json:"clusterRef,omitempty"`

	// ScmConnectionRef the SCM connection to use for generating this PR
	// +kubebuilder:validation:Required
	ScmConnectionRef corev1.ObjectReference `json:"scmConnectionRef"`

	// RepositoryRef the repository this automation uses.
	// +kubebuilder:validation:Optional
	RepositoryRef *corev1.ObjectReference `json:"repositoryRef,omitempty"`

	// ServiceRef the service this PR acts on.
	// +kubebuilder:validation:Optional
	ServiceRef *corev1.ObjectReference `json:"serviceRef,omitempty"`

	// ProjectRef the project this automation belongs to.
	// +kubebuilder:validation:Optional
	ProjectRef *corev1.ObjectReference `json:"projectRef,omitempty"`

	// Bindings contain read and write policies of pr automation
	// +kubebuilder:validation:Optional
	Bindings *PrAutomationBindings `json:"bindings,omitempty"`

	// Configuration self-service configuration for the UI wizard generating this PR
	// +kubebuilder:validation:Optional
	Configuration []PrAutomationConfiguration `json:"configuration,omitempty"`

	// Additional details to verify all prerequisites are satisfied before generating this pr
	// +kubebuilder:validation:Optional
	Confirmation *PrAutomationConfirmation `json:"confirmation,omitempty"`

	// Specs for files to be templated and created
	// +kubebuilder:validation:Optional
	Creates *PrAutomationCreateConfiguration `json:"creates,omitempty"`

	// Spec for files to be updated, using regex replacement
	// +kubebuilder:validation:Optional
	Updates *PrAutomationUpdateConfiguration `json:"updates,omitempty"`

	// Spec for files and folders to be deleted
	// +kubebuilder:validation:Optional
	Deletes *PrAutomationDeleteConfiguration `json:"deletes,omitempty"`
}

PrAutomationSpec ...

func (*PrAutomationSpec) DeepCopy

func (in *PrAutomationSpec) DeepCopy() *PrAutomationSpec

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

func (*PrAutomationSpec) DeepCopyInto

func (in *PrAutomationSpec) DeepCopyInto(out *PrAutomationSpec)

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

type PrAutomationTemplate

type PrAutomationTemplate struct {
	// The destination to write the file to
	// +kubebuilder:validation:Required
	Destination string `json:"destination"`

	// Whether it is being sourced from an external git repository
	// +kubebuilder:validation:Required
	External bool `json:"external"`

	// The source file to use for templating
	// +kubebuilder:validation:Optional
	Source string `json:"source"`
}

PrAutomationTemplate ...

func (*PrAutomationTemplate) Attributes

func (*PrAutomationTemplate) DeepCopy

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

func (*PrAutomationTemplate) DeepCopyInto

func (in *PrAutomationTemplate) DeepCopyInto(out *PrAutomationTemplate)

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

type PrAutomationTrigger

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

	Spec   PrAutomationTriggerSpec `json:"spec,omitempty"`
	Status Status                  `json:"status,omitempty"`
}

PrAutomationTrigger is the Schema for the prautomationtriggers API

func (*PrAutomationTrigger) DeepCopy

func (in *PrAutomationTrigger) DeepCopy() *PrAutomationTrigger

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

func (*PrAutomationTrigger) DeepCopyInto

func (in *PrAutomationTrigger) DeepCopyInto(out *PrAutomationTrigger)

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

func (*PrAutomationTrigger) DeepCopyObject

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

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

func (*PrAutomationTrigger) SetCondition

func (p *PrAutomationTrigger) SetCondition(condition metav1.Condition)

type PrAutomationTriggerList

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

PrAutomationTriggerList contains a list of PrAutomationTrigger

func (*PrAutomationTriggerList) DeepCopy

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

func (*PrAutomationTriggerList) DeepCopyInto

func (in *PrAutomationTriggerList) DeepCopyInto(out *PrAutomationTriggerList)

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

func (*PrAutomationTriggerList) DeepCopyObject

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

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

type PrAutomationTriggerSpec

type PrAutomationTriggerSpec struct {
	// PrAutomationRef pointing to source [PrAutomation]
	// +kubebuilder:validation:Optional
	PrAutomationRef *corev1.ObjectReference `json:"prAutomationRef,omitempty"`

	// Branch that should be created against [PrAutomation] base branch
	// +kubebuilder:validation:Required
	Branch string `json:"branch,omitempty"`

	// Context is a [PrAutomation] configuration context
	// +kubebuilder:validation:Optional
	Context runtime.RawExtension `json:"context,omitempty"`
}

PrAutomationTriggerSpec defines the desired state of PrAutomationTrigger

func (*PrAutomationTriggerSpec) DeepCopy

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

func (*PrAutomationTriggerSpec) DeepCopyInto

func (in *PrAutomationTriggerSpec) DeepCopyInto(out *PrAutomationTriggerSpec)

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

type PrAutomationUpdateConfiguration

type PrAutomationUpdateConfiguration struct {
	// Files to update
	// +kubebuilder:validation:Optional
	Files []*string `json:"files,omitempty"`

	// MatchStrategy, see enum for behavior
	// +kubebuilder:validation:Optional
	MatchStrategy *console.MatchStrategy `json:"matchStrategy,omitempty"`

	// Full regex + replacement structs in case there is different behavior per regex
	// +kubebuilder:validation:Optional
	RegexReplacements []RegexReplacement `json:"regexReplacements,omitempty"`

	// Replacement via overlaying a yaml structure on an existing yaml file
	// +kubebuilder:validation:Optional
	YamlOverlays []YamlOverlay `json:"yamlOverlays,omitempty"`

	// The regexes to apply on each file
	// +kubebuilder:validation:Optional
	Regexes []*string `json:"regexes,omitempty"`

	// The template to use when replacing a regex
	// +kubebuilder:validation:Optional
	ReplaceTemplate *string `json:"replaceTemplate,omitempty"`

	// (Unused so far)
	// +kubebuilder:validation:Optional
	Yq *string `json:"yq,omitempty"`
}

PrAutomationUpdateConfiguration ...

func (*PrAutomationUpdateConfiguration) Attributes

func (*PrAutomationUpdateConfiguration) DeepCopy

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

func (*PrAutomationUpdateConfiguration) DeepCopyInto

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

type PrConfirmationChecklist

type PrConfirmationChecklist struct {
	// The label of this checkbox
	Label string `json:"label"`
}

A checkbox to render to confirm a PR prerequisite is satisfied

func (*PrConfirmationChecklist) DeepCopy

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

func (*PrConfirmationChecklist) DeepCopyInto

func (in *PrConfirmationChecklist) DeepCopyInto(out *PrConfirmationChecklist)

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

type Project

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

	// Spec reflects a Console API project spec.
	// +kubebuilder:validation:Required
	Spec ProjectSpec `json:"spec"`

	// Status represent a status of this resource.
	// +kubebuilder:validation:Optional
	Status Status `json:"status,omitempty"`
}

Project is a unit of organization to control permissions for a set of objects within your Console instance. +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the Project in the Console API."

func (*Project) Attributes

func (in *Project) Attributes() console.ProjectAttributes

func (*Project) ConsoleID

func (in *Project) ConsoleID() *string

ConsoleID implements PluralResource interface

func (*Project) ConsoleName

func (in *Project) ConsoleName() string

ConsoleName implements PluralResource interface

func (*Project) DeepCopy

func (in *Project) DeepCopy() *Project

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

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

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

func (*Project) DeepCopyObject

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

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

func (*Project) Diff

func (in *Project) Diff(hasher Hasher) (changed bool, sha string, err error)

func (*Project) SetCondition

func (in *Project) SetCondition(condition metav1.Condition)

type ProjectList

type ProjectList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Project `json:"items"`
}

ProjectList is a list of Project. +kubebuilder:object:root=true

func (*ProjectList) DeepCopy

func (in *ProjectList) DeepCopy() *ProjectList

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

func (*ProjectList) DeepCopyInto

func (in *ProjectList) DeepCopyInto(out *ProjectList)

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

func (*ProjectList) DeepCopyObject

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

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

type ProjectSpec

type ProjectSpec struct {
	// Name is a project name.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:example:=myprojectname
	Name string `json:"name"`

	// Description is a description of this project.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:example:=my project description
	Description *string `json:"description,omitempty"`

	// Bindings contain read and write policies of this project.
	// +kubebuilder:validation:Optional
	Bindings *Bindings `json:"bindings,omitempty"`
}

func (*ProjectSpec) DeepCopy

func (in *ProjectSpec) DeepCopy() *ProjectSpec

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

func (*ProjectSpec) DeepCopyInto

func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)

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

type Provider

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

	// +kubebuilder:validation:Required
	Spec ProviderSpec `json:"spec"`
	// +kubebuilder:validation:Optional
	Status Status `json:"status,omitempty"`
}

Provider ... +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the provider in the Console API." +kubebuilder:printcolumn:name="Name",type="string",JSONPath=".spec.name",description="Human-readable name of the Provider." +kubebuilder:printcolumn:name="Cloud",type="string",JSONPath=".spec.cloud",description="Name of the Provider cloud service."

func (*Provider) Attributes

func (p *Provider) Attributes(ctx context.Context, cloudSettingsGetter CloudSettingsGetter) (console.ClusterProviderAttributes, error)

func (*Provider) DeepCopy

func (in *Provider) DeepCopy() *Provider

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

func (*Provider) DeepCopyInto

func (in *Provider) DeepCopyInto(out *Provider)

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

func (*Provider) DeepCopyObject

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

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

func (*Provider) Diff

func (p *Provider) Diff(ctx context.Context, getter CloudSettingsGetter, hasher Hasher) (changed bool, sha string, err error)

func (*Provider) SetCondition

func (p *Provider) SetCondition(condition metav1.Condition)

func (*Provider) UpdateAttributes

func (p *Provider) UpdateAttributes(ctx context.Context, cloudSettingsGetter CloudSettingsGetter) (console.ClusterProviderUpdateAttributes, error)

type ProviderList

type ProviderList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Provider `json:"items"`
}

ProviderList ... +kubebuilder:object:root=true

func (*ProviderList) DeepCopy

func (in *ProviderList) DeepCopy() *ProviderList

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

func (*ProviderList) DeepCopyInto

func (in *ProviderList) DeepCopyInto(out *ProviderList)

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

func (*ProviderList) DeepCopyObject

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

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

type ProviderSpec

type ProviderSpec struct {
	// Cloud is the name of the cloud service for the Provider.
	// One of (CloudProvider): [gcp, aws, azure]
	// +kubebuilder:example:=aws
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:Enum:=gcp;aws;azure
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Cloud is immutable"
	Cloud CloudProvider `json:"cloud"`
	// CloudSettings reference cloud provider credentials secrets used for provisioning the Cluster.
	// Not required when Cloud is set to CloudProvider(BYOK).
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=object
	// +structType=atomic
	CloudSettings *CloudProviderSettings `json:"cloudSettings"`
	// Name is a human-readable name of the Provider.
	// +kubebuilder:example:=gcp-provider
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Name is immutable"
	Name string `json:"name"`
	// Namespace is the namespace ClusterAPI resources are deployed into.
	// +kubebuilder:example:=capi-gcp
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Namespace is immutable"
	Namespace string `json:"namespace,omitempty"`
}

ProviderSpec ...

func (*ProviderSpec) DeepCopy

func (in *ProviderSpec) DeepCopy() *ProviderSpec

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

func (*ProviderSpec) DeepCopyInto

func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)

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

type RegexReplacement

type RegexReplacement struct {
	// The regex to match a substring on
	// +kubebuilder:validation:Required
	Regex string `json:"regex"`

	// The file this replacement will work on
	// +kubebuilder:validation:Required
	File string `json:"file"`

	// Replacement to be substituted for the match in the regex
	// +kubebuilder:validation:Required
	Replacement string `json:"replacement"`

	// Whether you want to apply templating to the regex before compiling
	// +kubebuilder:validation:Optional
	Templated *bool `json:"templated"`
}

RegexReplacement ...

func (*RegexReplacement) Attributes

func (*RegexReplacement) DeepCopy

func (in *RegexReplacement) DeepCopy() *RegexReplacement

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

func (*RegexReplacement) DeepCopyInto

func (in *RegexReplacement) DeepCopyInto(out *RegexReplacement)

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

type RouterFilters

type RouterFilters struct {
	// Regex a regex for filtering by things like pr url
	// +kubebuilder:validation:Optional
	Regex *string `json:"regex,omitempty"`
	// ServiceRef whether to enable delivery for events associated with this service
	// +kubebuilder:validation:Optional
	ServiceRef *corev1.ObjectReference `json:"serviceRef,omitempty"`
	// ClusterRef whether to enable delivery for events associated with this cluster
	// +kubebuilder:validation:Optional
	ClusterRef *corev1.ObjectReference `json:"clusterRef,omitempty"`
	// PipelineRef whether to enable delivery for events associated with this pipeline
	// +kubebuilder:validation:Optional
	PipelineRef *corev1.ObjectReference `json:"pipelineRef,omitempty"`
}

func (*RouterFilters) DeepCopy

func (in *RouterFilters) DeepCopy() *RouterFilters

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

func (*RouterFilters) DeepCopyInto

func (in *RouterFilters) DeepCopyInto(out *RouterFilters)

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

type ScmConnection

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

	// +kubebuilder:validation:Required
	Spec ScmConnectionSpec `json:"spec"`
	// +kubebuilder:validation:Optional
	Status Status `json:"status,omitempty"`
}

ScmConnection ... +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the scm connection in the Console API." +kubebuilder:printcolumn:name="Provider",type="string",JSONPath=".spec.type",description="Name of the scm provider service."

func (*ScmConnection) Attributes

func (s *ScmConnection) Attributes(ctx context.Context, kubeClient client.Client, token *string) (*console.ScmConnectionAttributes, error)

func (*ScmConnection) ConsoleID

func (s *ScmConnection) ConsoleID() *string

ConsoleID implements PluralResource interface

func (*ScmConnection) ConsoleName

func (s *ScmConnection) ConsoleName() string

ConsoleName implements PluralResource interface

func (*ScmConnection) DeepCopy

func (in *ScmConnection) DeepCopy() *ScmConnection

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

func (*ScmConnection) DeepCopyInto

func (in *ScmConnection) DeepCopyInto(out *ScmConnection)

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

func (*ScmConnection) DeepCopyObject

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

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

func (*ScmConnection) Diff

func (s *ScmConnection) Diff(hasher Hasher) (changed bool, sha string, err error)

func (*ScmConnection) SetCondition

func (s *ScmConnection) SetCondition(condition metav1.Condition)

type ScmConnectionList

type ScmConnectionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []ScmConnection `json:"items"`
}

ScmConnectionList ... +kubebuilder:object:root=true

func (*ScmConnectionList) DeepCopy

func (in *ScmConnectionList) DeepCopy() *ScmConnectionList

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

func (*ScmConnectionList) DeepCopyInto

func (in *ScmConnectionList) DeepCopyInto(out *ScmConnectionList)

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

func (*ScmConnectionList) DeepCopyObject

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

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

type ScmConnectionSpec

type ScmConnectionSpec struct {
	// Name is a human-readable name of the ScmConnection.
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// Type is the name of the scm service for the ScmConnection.
	// One of (ScmType): [github, gitlab]
	// +kubebuilder:example:=GITHUB
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:validation:Enum:=GITHUB;GITLAB;BITBUCKET
	Type console.ScmType `json:"type"`
	// Token ...
	// +kubebuilder:validation:Optional
	TokenSecretRef *corev1.SecretReference `json:"tokenSecretRef,omitempty"`
	// Username ...
	// +kubebuilder:validation:Optional
	Username *string `json:"username,omitempty"`
	// BaseUrl is a base URL for Git clones for self-hosted versions.
	// +kubebuilder:validation:Optional
	BaseUrl *string `json:"baseUrl,omitempty"`
	// APIUrl is a base URL for HTTP apis for shel-hosted versions if different from BaseUrl.
	// +kubebuilder:validation:Optional
	APIUrl *string `json:"apiUrl,omitempty"`
	// +kubebuilder:validation:Optional
	Github *ScmGithubConnection `json:"github,omitempty"`
}

func (*ScmConnectionSpec) DeepCopy

func (in *ScmConnectionSpec) DeepCopy() *ScmConnectionSpec

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

func (*ScmConnectionSpec) DeepCopyInto

func (in *ScmConnectionSpec) DeepCopyInto(out *ScmConnectionSpec)

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

type ScmGithubConnection

type ScmGithubConnection struct {
	AppID          string `json:"appId"`
	InstallationId string `json:"installationId"`
	// +kubebuilder:validation:Optional
	PrivateKeyRef *corev1.SecretKeySelector `json:"privateKeyRef,omitempty"`
}

func (*ScmGithubConnection) DeepCopy

func (in *ScmGithubConnection) DeepCopy() *ScmGithubConnection

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

func (*ScmGithubConnection) DeepCopyInto

func (in *ScmGithubConnection) DeepCopyInto(out *ScmGithubConnection)

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

type ServiceAccount

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

	// Spec reflects a Console API service account spec.
	// +kubebuilder:validation:Required
	Spec ServiceAccountSpec `json:"spec"`

	// Status represent a status of this resource.
	// +kubebuilder:validation:Optional
	Status Status `json:"status,omitempty"`
}

ServiceAccount is a type of non-human account that provides distinct identity. +kubebuilder:object:root=true +kubebuilder:resource:scope=Cluster +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the service account in the Console API."

func (*ServiceAccount) Attributes

func (*ServiceAccount) ConsoleID

func (in *ServiceAccount) ConsoleID() *string

ConsoleID returns an ID used in Console API.

func (*ServiceAccount) ConsoleName

func (in *ServiceAccount) ConsoleName() string

ConsoleName returns a name used in Console API.

func (*ServiceAccount) DeepCopy

func (in *ServiceAccount) DeepCopy() *ServiceAccount

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

func (*ServiceAccount) DeepCopyInto

func (in *ServiceAccount) DeepCopyInto(out *ServiceAccount)

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

func (*ServiceAccount) DeepCopyObject

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

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

func (*ServiceAccount) Diff

func (in *ServiceAccount) Diff(hasher Hasher) (changed bool, sha string, err error)

func (*ServiceAccount) SetCondition

func (in *ServiceAccount) SetCondition(condition metav1.Condition)

type ServiceAccountList

type ServiceAccountList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []ServiceAccount `json:"items"`
}

ServiceAccountList is a list of service accounts. +kubebuilder:object:root=true

func (*ServiceAccountList) DeepCopy

func (in *ServiceAccountList) DeepCopy() *ServiceAccountList

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

func (*ServiceAccountList) DeepCopyInto

func (in *ServiceAccountList) DeepCopyInto(out *ServiceAccountList)

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

func (*ServiceAccountList) DeepCopyObject

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

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

type ServiceAccountSpec

type ServiceAccountSpec struct {
	// Email address to that will be bound to this service account.
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Type:=string
	// +kubebuilder:example:=some@email.com
	Email string `json:"email"`

	// TokenSecretRef is a secret reference that should contain token.
	// +kubebuilder:validation:Optional
	TokenSecretRef *corev1.SecretReference `json:"tokenSecretRef,omitempty"`
}

func (*ServiceAccountSpec) DeepCopy

func (in *ServiceAccountSpec) DeepCopy() *ServiceAccountSpec

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

func (*ServiceAccountSpec) DeepCopyInto

func (in *ServiceAccountSpec) DeepCopyInto(out *ServiceAccountSpec)

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

type ServiceComponent

type ServiceComponent struct {
	ID   string `json:"id"`
	Name string `json:"name"`
	// +kubebuilder:validation:Optional
	Group *string `json:"group,omitempty"`
	Kind  string  `json:"kind"`
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty"`
	// State specifies the component state
	// +kubebuilder:validation:Enum:=RUNNING;PENDING;FAILED
	// +kubebuilder:validation:Optional
	State  *ComponentState `json:"state,omitempty"`
	Synced bool            `json:"synced"`
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty"`
}

func (*ServiceComponent) DeepCopy

func (in *ServiceComponent) DeepCopy() *ServiceComponent

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

func (*ServiceComponent) DeepCopyInto

func (in *ServiceComponent) DeepCopyInto(out *ServiceComponent)

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

type ServiceDependency

type ServiceDependency struct {
	// The name of a service on the same cluster this service depends on
	Name string `json:"name"`
}

func (*ServiceDependency) DeepCopy

func (in *ServiceDependency) DeepCopy() *ServiceDependency

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

func (*ServiceDependency) DeepCopyInto

func (in *ServiceDependency) DeepCopyInto(out *ServiceDependency)

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

type ServiceDeployment

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

	// +kubebuilder:validation:Required
	Spec   ServiceSpec   `json:"spec,omitempty"`
	Status ServiceStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Id",type="string",JSONPath=".status.id",description="Console repo Id"

func (*ServiceDeployment) ConsoleID

func (s *ServiceDeployment) ConsoleID() *string

ConsoleID implements NamespacedPluralResource interface

func (*ServiceDeployment) ConsoleName

func (s *ServiceDeployment) ConsoleName() string

ConsoleName implements NamespacedPluralResource interface

func (*ServiceDeployment) ConsoleNamespace

func (s *ServiceDeployment) ConsoleNamespace() string

ConsoleNamespace implements NamespacedPluralResource interface

func (*ServiceDeployment) DeepCopy

func (in *ServiceDeployment) DeepCopy() *ServiceDeployment

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

func (*ServiceDeployment) DeepCopyInto

func (in *ServiceDeployment) DeepCopyInto(out *ServiceDeployment)

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

func (*ServiceDeployment) DeepCopyObject

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

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

func (*ServiceDeployment) SetCondition

func (s *ServiceDeployment) SetCondition(condition metav1.Condition)

type ServiceDeploymentList

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

func (*ServiceDeploymentList) DeepCopy

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

func (*ServiceDeploymentList) DeepCopyInto

func (in *ServiceDeploymentList) DeepCopyInto(out *ServiceDeploymentList)

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

func (*ServiceDeploymentList) DeepCopyObject

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

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

type ServiceError

type ServiceError struct {
	Source  string `json:"source"`
	Message string `json:"message"`
}

func (*ServiceError) DeepCopy

func (in *ServiceError) DeepCopy() *ServiceError

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

func (*ServiceError) DeepCopyInto

func (in *ServiceError) DeepCopyInto(out *ServiceError)

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

type ServiceHelm

type ServiceHelm struct {
	// +kubebuilder:validation:Optional
	URL *string `json:"url,omitempty"`
	// Fetches the helm values from a secret in this cluster, will consider any key with yaml data a values file and merge them iteratively
	// +kubebuilder:validation:Optional
	ValuesFrom *corev1.SecretReference `json:"valuesFrom,omitempty"`
	// +kubebuilder:validation:Optional
	ValuesConfigMapRef *corev1.ConfigMapKeySelector `json:"valuesConfigMapRef,omitempty"`
	// name of the helm release to use when applying
	// +kubebuilder:validation:Optional
	Release *string `json:"release,omitempty"`
	// reference to a GitRepository to source the helm chart from (useful if you're using a multi-source configuration for values files)
	// +kubebuilder:validation:Optional
	RepositoryRef *corev1.ObjectReference `json:"repositoryRef"`
	// arbitrary yaml values to overlay
	// +kubebuilder:validation:Optional
	Values *runtime.RawExtension `json:"values,omitempty"`
	// individual values files to overlay
	// +kubebuilder:validation:Optional
	ValuesFiles []*string `json:"valuesFiles,omitempty"`
	// chart to use
	// +kubebuilder:validation:Optional
	Chart *string `json:"chart,omitempty"`
	// chart version to use
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty"`
	// pointer to the FluxCD helm repository to use
	// +kubebuilder:validation:Optional
	Repository *NamespacedName `json:"repository,omitempty"`

	// whether you want to completely ignore any helm hooks when actualizing this service
	// +kubebuilder:validation:Optional
	IgnoreHooks *bool `json:"ignoreHooks,omitempty"`
}

func (*ServiceHelm) DeepCopy

func (in *ServiceHelm) DeepCopy() *ServiceHelm

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

func (*ServiceHelm) DeepCopyInto

func (in *ServiceHelm) DeepCopyInto(out *ServiceHelm)

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

type ServiceImport

type ServiceImport struct {
	// +kubebuilder:validation:Required
	StackRef corev1.ObjectReference `json:"stackRef"`
}

func (*ServiceImport) DeepCopy

func (in *ServiceImport) DeepCopy() *ServiceImport

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

func (*ServiceImport) DeepCopyInto

func (in *ServiceImport) DeepCopyInto(out *ServiceImport)

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

type ServiceKustomize

type ServiceKustomize struct {
	Path string `json:"path"`
}

func (*ServiceKustomize) Attributes

func (sk *ServiceKustomize) Attributes() *console.KustomizeAttributes

func (*ServiceKustomize) DeepCopy

func (in *ServiceKustomize) DeepCopy() *ServiceKustomize

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

func (*ServiceKustomize) DeepCopyInto

func (in *ServiceKustomize) DeepCopyInto(out *ServiceKustomize)

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

type ServiceSpec

type ServiceSpec struct {
	// the name of this service, if not provided ServiceDeployment's own name from ServiceDeployment.ObjectMeta will be used.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`
	// the namespace this service will be deployed into, if not provided deploys to the ServiceDeployment's own namespace
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty"`
	// +kubebuilder:validation:Optional
	DocsPath *string `json:"docsPath,omitempty"`
	// +kubebuilder:validation:Optional
	Version *string `json:"version"`
	// +kubebuilder:validation:Optional
	Protect bool `json:"protect,omitempty"`
	// +kubebuilder:validation:Optional
	Kustomize *ServiceKustomize `json:"kustomize,omitempty"`
	// +kubebuilder:validation:Optional
	Git *GitRef `json:"git,omitempty"`
	// +kubebuilder:validation:Optional
	Helm *ServiceHelm `json:"helm,omitempty"`
	// +kubebuilder:validation:Optional
	SyncConfig *SyncConfigAttributes `json:"syncConfig,omitempty"`
	// +kubebuilder:validation:Optional
	RepositoryRef *corev1.ObjectReference `json:"repositoryRef"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Cluster is immutable"
	ClusterRef corev1.ObjectReference `json:"clusterRef"`
	// ConfigurationRef is a secret reference which should contain service configuration.
	// +kubebuilder:validation:Optional
	ConfigurationRef *corev1.SecretReference `json:"configurationRef,omitempty"`
	// Bindings contain read and write policies of this cluster
	// +kubebuilder:validation:Optional
	Bindings *Bindings `json:"bindings,omitempty"`
	// Dependencies contain dependent services
	// +kubebuilder:validation:Optional
	Dependencies []ServiceDependency `json:"dependencies,omitempty"`
	// Contexts contain dependent service context names
	// +kubebuilder:validation:Optional
	Contexts []string `json:"contexts,omitempty"`
	// Templated should apply liquid templating to raw yaml files, defaults to true
	// +kubebuilder:validation:Optional
	Templated *bool `json:"templated,omitempty"`
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Imports are immutable"
	Imports []ServiceImport `json:"imports"`
	// Detach determined if user want to delete or detach service
	// +kubebuilder:validation:Optional
	Detach bool `json:"detach,omitempty"`
}

func (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

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

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

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

func (*ServiceSpec) DependenciesAttribute

func (ss *ServiceSpec) DependenciesAttribute() []*console.ServiceDependencyAttributes

func (*ServiceSpec) TemplatedAttribute

func (ss *ServiceSpec) TemplatedAttribute() *bool

type ServiceStatus

type ServiceStatus struct {
	Status `json:",inline"`

	// +kubebuilder:validation:Optional
	Errors []ServiceError `json:"errors,omitempty"`
	// +kubebuilder:validation:Optional
	Components []ServiceComponent `json:"components,omitempty"`
}

func (*ServiceStatus) DeepCopy

func (in *ServiceStatus) DeepCopy() *ServiceStatus

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

func (*ServiceStatus) DeepCopyInto

func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)

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

type ServiceTemplate

type ServiceTemplate struct {
	// Name the name for this service (optional for managed namespaces)
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`
	// Namespace the namespace for this service (optional for managed namespaces)
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty"`
	// +kubebuilder:validation:Optional
	Templated *bool `json:"templated,omitempty"`
	// +kubebuilder:validation:Optional
	RepositoryRef *corev1.ObjectReference `json:"repositoryRef"`

	// Whether to protect this service from deletion.  Protected services are also not drained on cluster deletion.
	// +kubebuilder:validation:Optional
	Protect *bool `json:"protect,omitempty"`

	// a list of context ids to add to this service
	// +kubebuilder:validation:Optional
	Contexts []string `json:"contexts,omitempty"`
	// Git settings to configure git for a service
	// +kubebuilder:validation:Optional
	Git *GitRef `json:"git,omitempty"`
	// Helm settings to configure helm for a service
	// +kubebuilder:validation:Optional
	Helm *ServiceHelm `json:"helm,omitempty"`
	// Kustomize settings for service kustomization
	// +kubebuilder:validation:Optional
	Kustomize *ServiceKustomize `json:"kustomize,omitempty"`
	// SyncConfig attributes to configure sync settings for this service
	// +kubebuilder:validation:Optional
	SyncConfig *SyncConfigAttributes `json:"syncConfig,omitempty"`
	// Dependencies contain dependent services
	// +kubebuilder:validation:Optional
	Dependencies []corev1.ObjectReference `json:"dependencies,omitempty"`
	// ConfigurationRef is a secret reference which should contain service configuration.
	// +kubebuilder:validation:Optional
	ConfigurationRef *corev1.SecretReference `json:"configurationRef,omitempty"`
}

Attributes for configuring a service in something like a managed namespace

func (*ServiceTemplate) DeepCopy

func (in *ServiceTemplate) DeepCopy() *ServiceTemplate

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

func (*ServiceTemplate) DeepCopyInto

func (in *ServiceTemplate) DeepCopyInto(out *ServiceTemplate)

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

type SinkConfiguration

type SinkConfiguration struct {
	// Slack url
	// +kubebuilder:validation:Optional
	Slack *SinkURL `json:"slack,omitempty"`
	// Teams url
	// +kubebuilder:validation:Optional
	Teams *SinkURL `json:"teams,omitempty"`

	// Plural sink configuration knobs
	// +kubebuilder:validation:Optional
	Plural *PluralSinkConfiguration `json:"plural,omitempty"`
}

func (*SinkConfiguration) DeepCopy

func (in *SinkConfiguration) DeepCopy() *SinkConfiguration

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

func (*SinkConfiguration) DeepCopyInto

func (in *SinkConfiguration) DeepCopyInto(out *SinkConfiguration)

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

type SinkURL

type SinkURL struct {
	URL string `json:"url"`
}

func (*SinkURL) DeepCopy

func (in *SinkURL) DeepCopy() *SinkURL

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

func (*SinkURL) DeepCopyInto

func (in *SinkURL) DeepCopyInto(out *SinkURL)

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

type StackConfiguration

type StackConfiguration struct {
	// Image optional custom image you might want to use
	// +kubebuilder:validation:Optional
	Image *string `json:"image,omitempty"`
	// Version the semver of the tool you wish to use
	// +kubebuilder:validation:Optional
	Version *string `json:"version,omitempty"`
	// Tag is the docker image tag you wish to use
	// if you're customizing the version
	// +kubebuilder:validation:Optional
	Tag *string `json:"tag,omitempty"`
	// Hooks to run at various stages of the stack run
	// +kubebuilder:validation:Optional
	Hooks []*StackHook `json:"hooks,omitempty"`
}

func (*StackConfiguration) DeepCopy

func (in *StackConfiguration) DeepCopy() *StackConfiguration

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

func (*StackConfiguration) DeepCopyInto

func (in *StackConfiguration) DeepCopyInto(out *StackConfiguration)

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

type StackCron

type StackCron struct {
	// The crontab on which to spawn stack runs
	Crontab string `json:"crontab"`
	// Whether to automatically approve cron-spawned runs
	// +kubebuilder:validation:Optional
	AutoApprove *bool `json:"autoApprove"`
}

func (*StackCron) DeepCopy

func (in *StackCron) DeepCopy() *StackCron

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

func (*StackCron) DeepCopyInto

func (in *StackCron) DeepCopyInto(out *StackCron)

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

type StackDefinition

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

	Spec   StackDefinitionSpec `json:"spec,omitempty"`
	Status Status              `json:"status,omitempty"`
}

StackDefinition is the Schema for the StackDefinitions API +kubebuilder:object:root=true +kubebuilder:resource:scope=Namespaced +kubebuilder:subresource:status +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.id",description="ID of the StackDefinition in the Console API."

func (*StackDefinition) Attributes

func (*StackDefinition) DeepCopy

func (in *StackDefinition) DeepCopy() *StackDefinition

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

func (*StackDefinition) DeepCopyInto

func (in *StackDefinition) DeepCopyInto(out *StackDefinition)

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

func (*StackDefinition) DeepCopyObject

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

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

func (*StackDefinition) Diff

func (in *StackDefinition) Diff(hasher Hasher) (changed bool, sha string, err error)

func (*StackDefinition) SetCondition

func (in *StackDefinition) SetCondition(condition metav1.Condition)

func (*StackDefinition) StackName

func (in *StackDefinition) StackName() string

type StackDefinitionList

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

StackDefinitionList contains a list of StackDefinition +kubebuilder:object:root=true

func (*StackDefinitionList) DeepCopy

func (in *StackDefinitionList) DeepCopy() *StackDefinitionList

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

func (*StackDefinitionList) DeepCopyInto

func (in *StackDefinitionList) DeepCopyInto(out *StackDefinitionList)

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

func (*StackDefinitionList) DeepCopyObject

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

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

type StackDefinitionSpec

type StackDefinitionSpec struct {
	// Name of this StackDefinition. If not provided StackDefinition's own name
	// from StackDefinition.ObjectMeta will be used.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty"`

	// Description can be used to describe this StackDefinition.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty"`

	// Steps is a list of custom run steps that will be executed as
	// part of the stack run.
	// +kubebuilder:validation:Optional
	Steps []CustomRunStep `json:"steps,omitempty"`

	// Configuration allows modifying the StackDefinition environment
	// and execution.
	// +kubebuilder:validation:Optional
	Configuration *StackConfiguration `json:"configuration,omitempty"`
}

StackDefinitionSpec defines the desired state of StackDefinition

func (*StackDefinitionSpec) DeepCopy

func (in *StackDefinitionSpec) DeepCopy() *StackDefinitionSpec

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

func (*StackDefinitionSpec) DeepCopyInto

func (in *StackDefinitionSpec) DeepCopyInto(out *StackDefinitionSpec)

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

type StackEnvironment

type StackEnvironment struct {
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty"`
	// +kubebuilder:validation:Optional
	SecretKeyRef *corev1.SecretKeySelector `json:"secretKeyRef,omitempty"`
	// +kubebuilder:validation:Optional
	ConfigMapRef *corev1.ConfigMapKeySelector `json:"configMapRef,omitempty"`
}

func (*StackEnvironment) DeepCopy

func (in *StackEnvironment) DeepCopy() *StackEnvironment

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

func (*StackEnvironment) DeepCopyInto

func (in *StackEnvironment) DeepCopyInto(out *StackEnvironment)

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

type StackFile

type StackFile struct {
	MountPath string                      `json:"mountPath"`
	SecretRef corev1.LocalObjectReference `json:"secretRef"`
}

func (*StackFile) DeepCopy

func (in *StackFile) DeepCopy() *StackFile

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

func (*StackFile) DeepCopyInto

func (in *StackFile) DeepCopyInto(out *StackFile)

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

type StackHook

type StackHook struct {
	// the command this hook will execute
	// +kubebuilder:validation:Required
	Cmd string `json:"cmd"`

	// optional arguments to pass to the command
	// +kubebuilder:validation:Optional
	Args []string `json:"args,omitempty"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=INIT;PLAN;VERIFY;APPLY;DESTROY
	AfterStage console.StepStage `json:"afterStage"`
}

func (*StackHook) DeepCopy

func (in *StackHook) DeepCopy() *StackHook

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

func (*StackHook) DeepCopyInto

func (in *StackHook) DeepCopyInto(out *StackHook)

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

type StackSettings

type StackSettings struct {
	// JobSpec optional k8s job configuration for the job that will apply this stack
	//
	// +kubebuilder:validation:Optional
	JobSpec *JobSpec `json:"jobSpec,omitempty"`

	// ConnectionRef reference to ScmConnection
	//
	// +kubebuilder:validation:Optional
	ConnectionRef *corev1.ObjectReference `json:"connectionRef,omitempty"`
}

func (*StackSettings) DeepCopy

func (in *StackSettings) DeepCopy() *StackSettings

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

func (*StackSettings) DeepCopyInto

func (in *StackSettings) DeepCopyInto(out *StackSettings)

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

type Status

type Status struct {
	// ID of the resource in the Console API.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	ID *string `json:"id,omitempty"`
	// SHA of last applied configuration.
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Type:=string
	SHA *string `json:"sha,omitempty"`
	// Represents the observations of a PrAutomation's current state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
}

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

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

func (*Status) GetID

func (p *Status) GetID() string

func (*Status) GetSHA

func (p *Status) GetSHA() string

func (*Status) HasID

func (p *Status) HasID() bool

func (*Status) HasReadonlyCondition

func (p *Status) HasReadonlyCondition() bool

func (*Status) HasSHA

func (p *Status) HasSHA() bool

func (*Status) IsReadonly

func (p *Status) IsReadonly() bool

func (*Status) IsSHAEqual

func (p *Status) IsSHAEqual(sha string) bool

func (*Status) IsStatusConditionTrue

func (p *Status) IsStatusConditionTrue(condition ConditionType) bool

type SyncConfigAttributes

type SyncConfigAttributes struct {
	// +kubebuilder:validation:Optional
	CreateNamespace *bool `json:"createNamespace,omitempty"`

	// +kubebuilder:validation:Optional
	EnforceNamespace *bool `json:"enforceNamespace,omitempty"`

	// +kubebuilder:validation:Optional
	Labels map[string]string `json:"labels,omitempty"`

	// +kubebuilder:validation:Optional
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*SyncConfigAttributes) Attributes

func (*SyncConfigAttributes) DeepCopy

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

func (*SyncConfigAttributes) DeepCopyInto

func (in *SyncConfigAttributes) DeepCopyInto(out *SyncConfigAttributes)

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

type Taint

type Taint struct {
	// Effect specifies the effect for the taint.
	// +kubebuilder:validation:Enum=NoSchedule;NoExecute;PreferNoSchedule
	Effect TaintEffect `json:"effect"`

	// Key is the key of the taint.
	Key string `json:"key"`

	// Value is the value of the taint.
	Value string `json:"value"`
}

Taint represents a Kubernetes taint.

func (*Taint) Attributes

func (t *Taint) Attributes() *console.TaintAttributes

func (*Taint) DeepCopy

func (in *Taint) DeepCopy() *Taint

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

func (*Taint) DeepCopyInto

func (in *Taint) DeepCopyInto(out *Taint)

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

type TaintEffect

type TaintEffect string

TaintEffect is the effect for a Kubernetes taint.

type VertexSettings

type VertexSettings struct {
	// The Vertex AI model to use
	//
	// +kubebuilder:validation:Optional
	Model *string `json:"model,omitempty"`

	// The GCP project you'll be using
	//
	// +kubebuilder:validation:Required
	Project string `json:"project"`

	// The GCP region Vertex is queried from
	//
	// +kubebuilder:validation:Required
	Location string `json:"location"`

	// An Service Account json file stored w/in a kubernetes secret to use for authentication to GCP
	//
	// +kubebuilder:validation:Optional
	ServiceAccountJsonSecretRef *corev1.SecretKeySelector `json:"serviceAccountJsonSecretRef,omitempty"`
}

func (*VertexSettings) DeepCopy

func (in *VertexSettings) DeepCopy() *VertexSettings

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

func (*VertexSettings) DeepCopyInto

func (in *VertexSettings) DeepCopyInto(out *VertexSettings)

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

func (*VertexSettings) ServiceAccountJSON

func (in *VertexSettings) ServiceAccountJSON(ctx context.Context, c client.Client, namespace string) (*string, error)

type YamlOverlay

type YamlOverlay struct {
	// the file to execute the overlay on
	// +kubebuilder:validation:Required
	File string `json:"file"`

	// the (possibly templated) yaml to use as the overlayed yaml blob written to the file
	// +kubebuilder:validation:Required
	Yaml string `json:"yaml"`

	// Whether you want to apply templating to the yaml blob before overlaying
	// +kubebuilder:validation:Optional
	Templated *bool `json:"templated,omitempty"`

	// How you want list merge to be performed, defaults to OVERWRITE
	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Enum=OVERWRITE;APPEND
	ListMerge *console.ListMerge `json:"listMerge,omitempty"`
}

YamlOverlay ...

func (*YamlOverlay) Attributes

func (in *YamlOverlay) Attributes() *console.YamlOverlayAttributes

func (*YamlOverlay) DeepCopy

func (in *YamlOverlay) DeepCopy() *YamlOverlay

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

func (*YamlOverlay) DeepCopyInto

func (in *YamlOverlay) DeepCopyInto(out *YamlOverlay)

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