v1alpha1

package
v1.12.7 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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

Index

Constants

View Source
const (
	// EmailTypeNoEmail disables mail sending.
	EmailTypeNoEmail = ""
	// EmailTypeMailjet uses the mailjet API for sending emails.
	EmailTypeMailjet = "mailjet"
	// EmailTypeSMTP uses regular SMTP for sending emails.
	EmailTypeSMTP = "smtp"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "config.rig.dev", Version: "v1alpha1"}

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

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

Functions

func MakeGroupsProject added in v1.12.2

func MakeGroupsProject(groups []string, project string) string

func MakeOrgRepo added in v1.12.2

func MakeOrgRepo(org, repo string) string

Types

type Auth added in v1.5.0

type Auth struct {
	// Secret specifies a secret which will be used for jwt signatures.
	Secret string `json:"secret,omitempty"`

	// CertificateFile specifies a path to a PEM encoded certificate file which
	// will be used for validating jwt signatures.
	CertificateFile string `json:"certificateFile,omitempty"`

	// CertificateKeyFile specifies a path to a PEM encoded certificate key
	// which will be used for jwt signatures.
	CertificateKeyFile string `json:"certificateKeyFile,omitempty"`

	// DisablePasswords disables password authentication. This makes sense if
	// you want to require SSO, as login method.
	DisablePasswords bool `json:"disablePasswords,omitempty"`

	// SSO specifies single sign on configuration.
	SSO SSO `json:"sso,omitempty"`

	// AllowRegister specifies if users are allowed to register new accounts.
	AllowRegister bool `json:"allowRegister,omitempty"`

	// IsVerified specifies if users are required to verify their email address.
	RequireVerification bool `json:"requireVerification,omitempty"`

	// SendWelcomeEmail specifies if a welcome email should be sent to new users.
	// This will use the default email config
	SendWelcomeEmail bool `json:"sendWelcomeEmail,omitempty"`
}

Auth specifies authentication configuration.

func (*Auth) DeepCopy added in v1.5.0

func (in *Auth) DeepCopy() *Auth

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

func (*Auth) DeepCopyInto added in v1.5.0

func (in *Auth) DeepCopyInto(out *Auth)

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

type CapsuleMatch added in v1.8.14

type CapsuleMatch struct {
	// If set, only capsules in one of the namespaces given will have this step run.
	Namespaces []string `json:"namespaces,omitempty" protobuf:"1"`
	// If set, only execute the plugin on the capsules specified.
	Names []string `json:"names,omitempty" protobuf:"2"`
	// If set, only execute the plugin on the capsules matching the annotations.
	Annotations map[string]string `json:"annotations,omitempty" protobuf:"3"`
	// If set, will enable the step for the Rig platform which is a Capsule as well
	EnableForPlatform bool `json:"enableForPlatform,omitempty" protobuf:"4"`
}

func (*CapsuleMatch) DeepCopy added in v1.8.14

func (in *CapsuleMatch) DeepCopy() *CapsuleMatch

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

func (*CapsuleMatch) DeepCopyInto added in v1.8.14

func (in *CapsuleMatch) DeepCopyInto(out *CapsuleMatch)

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

type CapsuleStep added in v1.9.0

type CapsuleStep struct {
	// The plugin to use for handling the capsule step.
	// fx. "rigdev.ingress_routes" for routesStep will create an ingress resource per route.
	// fx. "rigdev.deployment" for deploymentStep will use the default deployment plugin.
	Plugin string `json:"plugin,omitempty" protobuf:"1"`

	// Config is a string defining the plugin-specific configuration of the plugin.
	Config string `json:"config,omitempty" protobuf:"2"`
}

func (*CapsuleStep) DeepCopy added in v1.9.0

func (in *CapsuleStep) DeepCopy() *CapsuleStep

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

func (*CapsuleStep) DeepCopyInto added in v1.9.0

func (in *CapsuleStep) DeepCopyInto(out *CapsuleStep)

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

type Client added in v1.5.0

type Client struct {
	// Postgres holds configuration for the postgres client.
	Postgres ClientPostgres `json:"postgres,omitempty"`

	// Docker sets the host for the Docker client.
	Docker ClientDocker `json:"docker,omitempty"`

	// Deprecated: use 'client.mailjets' instead.
	// Mailjet sets the API key and secret for the Mailjet client.
	Mailjet ClientMailjet `json:"mailjet,omitempty"`

	// Mailjets holds configuration for multiple mailjet clients.
	// The key is the id of the client, which should be unique across Mailjet and SMTP clients.
	Mailjets map[string]ClientMailjet `json:"mailjets,omitempty"`

	// Deprecated: use 'client.smtps' instead.
	// SMTP sets the host, port, username and password for the SMTP client.
	SMTP ClientSMTP `json:"smtp,omitempty"`

	// SMTPs holds configuration for muliple SMTP clients.
	// The key is the id of the client, which should be unique across Mailjet and SMTP clients.
	SMTPs map[string]ClientSMTP `json:"smtps,omitempty"`

	// Operator sets the base url for the Operator client.
	Operator ClientOperator `json:"operator,omitempty"`

	// Slack holds configuration for sending slack messages. The key is the id of the client.
	// For example the workspace in which the app is installed
	Slack map[string]ClientSlack `json:"slack,omitempty"`

	// Git client configuration for communicating with multiple repositories.
	Git ClientGit `json:"git,omitempty"`
}

Client holds various client configuration

func (*Client) DeepCopy added in v1.5.0

func (in *Client) DeepCopy() *Client

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

func (*Client) DeepCopyInto added in v1.5.0

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

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

type ClientDocker added in v1.5.0

type ClientDocker struct {
	// Host where the docker daemon can be reached.
	Host string `json:"host,omitempty"`
}

ClientDocker specifies the configuration for the docker client.

func (*ClientDocker) DeepCopy added in v1.5.0

func (in *ClientDocker) DeepCopy() *ClientDocker

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

func (*ClientDocker) DeepCopyInto added in v1.5.0

func (in *ClientDocker) DeepCopyInto(out *ClientDocker)

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

type ClientGit added in v1.9.1

type ClientGit struct {
	// Auths the git client can behave as.
	Auths []GitAuth `json:"auths,omitempty" patchStrategy:"merge" patchMergeKey:"url"`

	// GitHubAuths is authentication information for GitHub repositories.
	GitHubAuths []GitHub `json:"gitHubAuths,omitempty" patchStrategy:"merge" patchMergeKey:"orgRepo"`

	// GitLabAuths is the authentication information for GitLab repositories.
	GitLabAuths []GitLab `json:"gitLabAuths,omitempty" patchStrategy:"merge" patchMergeKey:"groupsProject"`

	// Author used when creating commits.
	Author GitAuthor `json:"author,omitempty"`
}

ClientGit contains configuration for git integrations. A given git repository can have authentication from either Auths or GitHubAuths with preference for GitHubAuths if there is a match.

func (*ClientGit) DeepCopy added in v1.9.1

func (in *ClientGit) DeepCopy() *ClientGit

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

func (*ClientGit) DeepCopyInto added in v1.9.1

func (in *ClientGit) DeepCopyInto(out *ClientGit)

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

type ClientMailjet added in v1.5.0

type ClientMailjet struct {
	// APIKey is the mailjet API key
	APIKey string `json:"apiKey,omitempty"`

	// SecretKey is the mailjet secret key
	SecretKey string `json:"secretKey,omitempty"`
}

ClientMailjet specifes the configuration for the mailjet client.

func (*ClientMailjet) DeepCopy added in v1.5.0

func (in *ClientMailjet) DeepCopy() *ClientMailjet

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

func (*ClientMailjet) DeepCopyInto added in v1.5.0

func (in *ClientMailjet) DeepCopyInto(out *ClientMailjet)

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

type ClientOperator added in v1.5.0

type ClientOperator struct {
	// BaseURL is the URL used to connect to the operator API
	BaseURL string `json:"baseUrl,omitempty"`
}

ClientOperator specifies the configuration for the operator client.

func (*ClientOperator) DeepCopy added in v1.5.0

func (in *ClientOperator) DeepCopy() *ClientOperator

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

func (*ClientOperator) DeepCopyInto added in v1.5.0

func (in *ClientOperator) DeepCopyInto(out *ClientOperator)

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

type ClientPostgres added in v1.5.0

type ClientPostgres struct {
	// User is the database user used when connecting to the postgres database.
	User string `json:"user,omitempty"`

	// Password is the password used when connecting to the postgres database.
	Password string `json:"password,omitempty"`

	// Host is the host where the postgres database can be reached.
	Host string `json:"host,omitempty"`

	// Port is the port of the postgres database server.
	Port int `json:"port,omitempty"`

	// Database in the postgres server to use
	Database string `json:"database,omitempty"`

	// Insecure is wether to use SSL when connecting to the postgres server
	Insecure bool `json:"insecure,omitempty"`
}

ClientPostgres specifies the configuration for the postgres client.

func (*ClientPostgres) DeepCopy added in v1.5.0

func (in *ClientPostgres) DeepCopy() *ClientPostgres

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

func (*ClientPostgres) DeepCopyInto added in v1.5.0

func (in *ClientPostgres) DeepCopyInto(out *ClientPostgres)

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

type ClientSMTP added in v1.5.0

type ClientSMTP struct {
	// Host is the SMTP server host.
	Host string `json:"host,omitempty"`

	// Port is the SMTP server port to use.
	Port int `json:"port,omitempty"`

	// Username used when connecting to the SMTP server.
	Username string `json:"username,omitempty"`

	// Password used when connecting to the SMTP server.
	Password string `json:"password,omitempty"`
}

ClientSMTP specifies the configuration for the SMTP client.

func (*ClientSMTP) DeepCopy added in v1.5.0

func (in *ClientSMTP) DeepCopy() *ClientSMTP

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

func (*ClientSMTP) DeepCopyInto added in v1.5.0

func (in *ClientSMTP) DeepCopyInto(out *ClientSMTP)

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

type ClientSlack added in v1.9.0

type ClientSlack struct {
	// Slack authentication token.
	Token string `json:"token,omitempty"`
}

func (*ClientSlack) DeepCopy added in v1.9.0

func (in *ClientSlack) DeepCopy() *ClientSlack

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

func (*ClientSlack) DeepCopyInto added in v1.9.0

func (in *ClientSlack) DeepCopyInto(out *ClientSlack)

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

type Cluster added in v1.5.0

type Cluster struct {
	// URL to communicate to the cluster. If set, a Token and CertificateAuthority should
	// be provided as well.
	// If not set, the cluster is interpreted to be the cluster in which the platform runs.
	URL string `json:"url,omitempty"`

	// Token for communicating with the cluster. Available through a service-account's secret.
	Token string `json:"token,omitempty"`

	// Script to execute for getting an access-token to the cluster.
	// The output is expected to be a json-encoding of an `ExecCredential`.
	// See https://pkg.go.dev/k8s.io/client-go@v0.31.0/pkg/apis/clientauthentication/v1beta1#ExecCredential
	// for the format of the struct.
	Script string `json:"script,omitempty"`

	// Certificate authority for communicating with the cluster. Available through a service-account's secret.
	CertificateAuthority string `json:"certificateAuthority,omitempty"`

	// Type of the cluster - either `docker` or `k8s`.
	Type ClusterType `json:"type,omitempty"`

	// DevRegistry configuration
	DevRegistry DevRegistry `json:"devRegistry,omitempty"`

	// Git sets up gitops write back for this cluster.
	Git ClusterGit `json:"git,omitempty"`

	// If set, secrets will be created if needed, for pulling images.
	CreatePullSecrets *bool `json:"createPullSecrets,omitempty"`
}

Cluster specifies cluster configuration

func (*Cluster) DeepCopy added in v1.5.0

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto added in v1.5.0

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

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

type ClusterGit added in v1.5.0

type ClusterGit struct {
	// URL is the git repository URL.
	URL string `json:"url,omitempty"`

	// Branch to commit changes to.
	Branch string `json:"branch,omitempty"`

	// PathPrefix path to commit to in git repository.
	// Deprecated: Use `pathPrefixes` instead.
	PathPrefix string `json:"pathPrefix,omitempty"`

	// PathPrefixes path to commit to in git repository
	PathPrefixes PathPrefixes `json:"pathPrefixes,omitempty"`

	// Templates used for commit messages.
	Templates GitTemplates `json:"templates,omitempty"`

	// Credentials to use when connecting to git.
	// Deprecated: Use `client.git.auths` instead.
	Credentials GitCredentials `json:"credentials,omitempty"`

	// Author used when creating commits.
	// Deprecated: Use `client.git.author` instead.
	Author GitAuthor `json:"author,omitempty"`
}

ClusterGit specifies configuration for git integration. This can be used to tie rig into a gitops setup.

func (*ClusterGit) DeepCopy added in v1.5.0

func (in *ClusterGit) DeepCopy() *ClusterGit

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

func (*ClusterGit) DeepCopyInto added in v1.5.0

func (in *ClusterGit) DeepCopyInto(out *ClusterGit)

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

type ClusterType added in v1.5.0

type ClusterType string

ClusterType is a cluster type.

const (
	// ClusterTypeDocker is the docker cluster type.
	ClusterTypeDocker ClusterType = "docker"
	// ClusterTypeKubernetes is the kubernetes cluster type.
	ClusterTypeKubernetes ClusterType = "k8s"
)

type CustomPlugin added in v1.7.2

type CustomPlugin struct {
	// The container image which supplies the plugins
	Image string `json:"image" protobuf:"1"`
}

func (*CustomPlugin) DeepCopy added in v1.7.2

func (in *CustomPlugin) DeepCopy() *CustomPlugin

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

func (*CustomPlugin) DeepCopyInto added in v1.7.2

func (in *CustomPlugin) DeepCopyInto(out *CustomPlugin)

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

type DevRegistry added in v1.5.0

type DevRegistry struct {
	// Host is the host used in image names when pushing to the registry from
	// outside of the cluster.
	Host string `json:"host,omitempty"`

	// ClusterHost is the host where the registry can be reached from within
	// the cluster. Any image which is named after `Host` will be rename to use
	// `ClusterHost` instead. This ensures that the image can be pulled from
	// within the cluster.
	ClusterHost string `json:"clusterHost,omitempty"`
}

DevRegistry specifies configuration for the dev registry support.

func (*DevRegistry) DeepCopy added in v1.5.0

func (in *DevRegistry) DeepCopy() *DevRegistry

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

func (*DevRegistry) DeepCopyInto added in v1.5.0

func (in *DevRegistry) DeepCopyInto(out *DevRegistry)

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

type DockerRegistryCredentials added in v1.10.1

type DockerRegistryCredentials struct {
	// Username for the docker registry.
	Username string `json:"username,omitempty"`
	// Password for the docker registry.
	Password string `json:"password,omitempty"`
	// Script (shell) to execute that should echo the credentials.
	// The output is expected to be a single line (with new-line termination) of format `<username>:<password>`.
	Script string `json:"script,omitempty"`
	// Expire is the maximum duration a credential will be cached for, before it's recycled.
	// If a cached credential is rejected before this time, it may be renewed before this duration is expired.
	// Default is `12h`.
	Expire *metav1.Duration `json:"expire,omitempty"`
}

func (*DockerRegistryCredentials) DeepCopy added in v1.10.1

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

func (*DockerRegistryCredentials) DeepCopyInto added in v1.10.1

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

type Email added in v1.5.0

type Email struct {
	// ID is the specified id an email configuration.
	ID string `json:"id,omitempty"`

	// From is who is set as the sender of rig emails.
	From string `json:"from,omitempty"`

	// Deprecated: ID for an email configuration is used instead.
	Type EmailType `json:"type,omitempty"`
}

Email holds configuration for sending emails. Either using mailjet or using SMTP

func (*Email) DeepCopy added in v1.5.0

func (in *Email) DeepCopy() *Email

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

func (*Email) DeepCopyInto added in v1.5.0

func (in *Email) DeepCopyInto(out *Email)

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

type EmailType added in v1.5.0

type EmailType string

EmailType represents a type of mailing provider

type Extension added in v1.12.0

type Extension struct {
	// The schema of the extension, expressed as a json-schema
	// (https://json-schema.org/). While the full syntax is supported,
	// some features may be semantically disabled which would make the Platform
	// not start or not process Rollouts.
	Schema *apiextensionsv1.JSONSchemaProps `json:"schema,omitempty"`
}

Extension is a typed (through JSON Schema) expansion of a Platform resource, that allows extending the default customization.

func (*Extension) DeepCopy added in v1.12.0

func (in *Extension) DeepCopy() *Extension

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

func (*Extension) DeepCopyInto added in v1.12.0

func (in *Extension) DeepCopyInto(out *Extension)

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

type GitAuth added in v1.9.1

type GitAuth struct {
	// URL is a exact match for the repo-url this auth can be used for.
	URL string `json:"url,omitempty"`

	// URLPrefix is a prefix-match for the repo urls this auth can be used for.
	// Deprecated: use Match instead
	URLPrefix string `json:"urlPrefix,omitempty"`

	// How the url should be matched. Can either be 'exact' or 'prefix'
	// Defaults to 'exact'
	Match URLMatch `json:"match,omitempty"`

	// Credentials to use when connecting to git.
	Credentials GitCredentials `json:"credentials,omitempty"`

	// If no web hook is confugured, pull the git repository at the set interval instead
	// to fetch changes. Defaults to 3 mins if no value.
	PullingIntervalSeconds int `json:"pullingIntervalSeconds"`
}

func (*GitAuth) DeepCopy added in v1.9.1

func (in *GitAuth) DeepCopy() *GitAuth

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

func (*GitAuth) DeepCopyInto added in v1.9.1

func (in *GitAuth) DeepCopyInto(out *GitAuth)

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

type GitAuthor added in v1.5.0

type GitAuthor struct {
	// Name of author
	Name string `json:"name,omitempty"`

	// Email of author
	Email string `json:"email,omitempty"`
}

GitAuthor specifies a git commit author

func (*GitAuthor) DeepCopy added in v1.5.0

func (in *GitAuthor) DeepCopy() *GitAuthor

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

func (*GitAuthor) DeepCopyInto added in v1.5.0

func (in *GitAuthor) DeepCopyInto(out *GitAuthor)

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

type GitCredentials added in v1.5.0

type GitCredentials struct {
	// HTTPS specifies basic auth credentials.
	HTTPS HTTPSCredential `json:"https,omitempty"`

	// SSH specifies SSH credentials.
	SSH SSHCredential `json:"ssh,omitempty"`
}

GitCredentials specifies how to authenticate against git.

func (*GitCredentials) DeepCopy added in v1.5.0

func (in *GitCredentials) DeepCopy() *GitCredentials

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

func (*GitCredentials) DeepCopyInto added in v1.5.0

func (in *GitCredentials) DeepCopyInto(out *GitCredentials)

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

type GitHub added in v1.11.0

type GitHub struct {
	// OrgRepo is a string containing the GitHub organization and optionally a repository as well.
	// If both org and repo is given, they should be seperated by a '/', e.g. 'myorg/myrepo'.
	// If repo is not given, e.g. 'myrepo', then it matches all repositories within the org 'myorg'.
	// If both org and repo is given, it matches exactly the repo within the org.
	OrgRepo string `json:"orgRepo"`

	// Organization is the GitHub organization to match.
	// Deprecated: Use OrgRepo instead
	Organization string `json:"organization"`

	// Repository matches the GitHub repository. If empty, matches all.
	// Deprecated: Use OrgRepo instead
	Repository string `json:"repository,omitempty"`

	// Auth contains GitHub specific authentication configuration.
	Auth GitHubAuth `json:"auth,omitempty"`

	// Polling contains GitHub specific configuration.
	Polling GitHubPolling `json:"polling,omitempty"`
}

GitHub contains configuration specifically for GitHub repositories. To enable pull requests on a GitHub repository, you must add GitHub authentication using appID, installationID and privateKey for a GitHub app with read/write access to pull requests. To have normal read/write access to a repository, you can forego GitHub app authentication if there is a GitAuth section with credentials for the given repository instead. If you have GitHub app authentication for a GitHub app with read/write access to the repository, you don't need a matching GitAuth section.

func (*GitHub) DeepCopy added in v1.11.0

func (in *GitHub) DeepCopy() *GitHub

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

func (*GitHub) DeepCopyInto added in v1.11.0

func (in *GitHub) DeepCopyInto(out *GitHub)

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

func (GitHub) GetOrgRepo added in v1.12.2

func (g GitHub) GetOrgRepo() (string, string)

type GitHubAuth added in v1.10.5

type GitHubAuth struct {
	// AppID is the app ID of the GitHub app
	AppID int64 `json:"appID,omitempty"`

	// InstallationID is the installation ID of the GitHub app
	InstallationID int64 `json:"installationID,omitempty"`

	// PrivateKey is a PEM encoded SSH private key.
	PrivateKey string `json:"privateKey,omitempty"`

	// PrivateKeyPassword is an optional password for the SSH private key.
	PrivateKeyPassword string `json:"privateKeyPassword,omitempty"`
}

GitHubAuth contains authentication information specifically for a GitHub repository. Authentication is done using GitHub apps. See https://docs.rig.dev/operator-manual/gitops#github-authentication for a guide on how to set it up.

func (*GitHubAuth) DeepCopy added in v1.10.5

func (in *GitHubAuth) DeepCopy() *GitHubAuth

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

func (*GitHubAuth) DeepCopyInto added in v1.10.5

func (in *GitHubAuth) DeepCopyInto(out *GitHubAuth)

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

type GitHubPolling added in v1.11.0

type GitHubPolling struct {
	// WebHookSecret is the secret used to validate incoming webhooks.
	WebhookSecret string `json:"webhookSecret,omitempty"`

	// If webHookSecret isn't set, pull the git repository at the set interval instead
	// to fetch changes. Defaults to 3 mins if no value.
	PullingIntervalSeconds int `json:"pullingIntervalSeconds,omitempty"`
}

GitHubPolling defines webhook/pulling configuration for a GitHub repository.

func (*GitHubPolling) DeepCopy added in v1.11.0

func (in *GitHubPolling) DeepCopy() *GitHubPolling

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

func (*GitHubPolling) DeepCopyInto added in v1.11.0

func (in *GitHubPolling) DeepCopyInto(out *GitHubPolling)

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

type GitLab added in v1.11.0

type GitLab struct {
	// GroupsProject is a string containing a list of GitLab groups and optionally a project
	// Groups are separated by '/' and project by ':', e.g.
	// group/subgroup1/subgroup2:project
	// If a project is given, it matches exactly that project within that sequence of subsgroups
	// If no project is given, it matches all projects within all subgroups which are children of the
	// given group sequence. E.g.
	// 'group' will match 'group/subgroup1:project1' and 'group/subgroup1/subgroup2:project2'
	GroupsProject string `json:"groupsProject"`

	// Groups is a sequence of GitLab groups.
	// The first is the main group and the rest a nesting of subgroups.
	// If Project is empty, the configuration will match any
	// GitLab repository whose (group, subgroups) sequence where 'groups' is a prefix.
	// Deprecated: Use GroupsProject
	Groups []string `json:"groups,omitempty"`

	// Project is the GitLab project of the repository. Can be empty for matching all project names.
	// Deprecated: Use GroupsProject
	Project string `json:"project,omitempty"`

	// Auth contains GitLab specific authentication configuration.
	Auth GitLabAuth `json:"auth,omitempty"`

	// Polling contains GitLab specific configuration.
	Polling GitLabPolling `json:"polling,omitempty"`
}

GitLab contains configuration specifically for GitLab repositories. To enable pull requests on a GitLab repository, you must add GitLab authentication using an access token. To have normal read/write access to a repository, you can forego GitLab access tokens if there is a GitAuth section with credentials for the given repository instead. If you have GitLab authentication for a repository, you don't need a matching GitAuth section.

func (*GitLab) DeepCopy added in v1.11.0

func (in *GitLab) DeepCopy() *GitLab

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

func (*GitLab) DeepCopyInto added in v1.11.0

func (in *GitLab) DeepCopyInto(out *GitLab)

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

func (GitLab) GetGroupsProject added in v1.12.2

func (g GitLab) GetGroupsProject() ([]string, string)

type GitLabAuth added in v1.11.0

type GitLabAuth struct {
	// AccessToken is an accessToken which is used to authenticate against the GitLab repository.
	Accesstoken string `json:"accessToken,omitempty"`
}

GitLabAuth contains authentication information specifically for a GitLab repository. Authentication is done using an access token. See https://docs.rig.dev/operator-manual/gitops#gitlab-authentication for a guide on how to set it up.

func (*GitLabAuth) DeepCopy added in v1.11.0

func (in *GitLabAuth) DeepCopy() *GitLabAuth

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

func (*GitLabAuth) DeepCopyInto added in v1.11.0

func (in *GitLabAuth) DeepCopyInto(out *GitLabAuth)

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

type GitLabPolling added in v1.11.0

type GitLabPolling struct {
	// WebHookSecret is the secret used to validate incoming webhooks.
	WebhookSecret string `json:"webhookSecret,omitempty"`

	// If webHookSecret isn't set, pull the git repository at the set interval instead
	// to fetch changes. Defaults to 3 mins if no value.
	PullingIntervalSeconds int `json:"pullingIntervalSeconds,omitempty"`
}

GitLabPolling defines webhook/pulling configuration for a GitLab repository.

func (*GitLabPolling) DeepCopy added in v1.11.0

func (in *GitLabPolling) DeepCopy() *GitLabPolling

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

func (*GitLabPolling) DeepCopyInto added in v1.11.0

func (in *GitLabPolling) DeepCopyInto(out *GitLabPolling)

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

type GitTemplates added in v1.5.0

type GitTemplates struct {
	// Rollout specifies the template used for rollout commits.
	Rollout string `json:"rollout,omitempty"`

	// Delete specifies the template used for delete commits.
	Delete string `json:"delete,omitempty"`
}

GitTemplates specifies the templates used for creating commits.

func (*GitTemplates) DeepCopy added in v1.5.0

func (in *GitTemplates) DeepCopy() *GitTemplates

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

func (*GitTemplates) DeepCopyInto added in v1.5.0

func (in *GitTemplates) DeepCopyInto(out *GitTemplates)

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

type HTTPSCredential added in v1.5.0

type HTTPSCredential struct {
	// Username is the basic auth user name
	Username string `json:"username,omitempty"`

	// Password is the basic auth password
	Password string `json:"password,omitempty"`
}

HTTPSCredential specifies basic auth credentials

func (*HTTPSCredential) DeepCopy added in v1.5.0

func (in *HTTPSCredential) DeepCopy() *HTTPSCredential

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

func (*HTTPSCredential) DeepCopyInto added in v1.5.0

func (in *HTTPSCredential) DeepCopyInto(out *HTTPSCredential)

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

type Logging added in v1.5.0

type Logging struct {
	// DevModeEnabled enables verbose logs and changes the logging format to be
	// more human readable.
	DevMode bool `json:"devMode,omitempty"`

	// Level sets the granularity of logging.
	Level zapcore.Level `json:"level,omitempty"`
}

Logging specifies logging configuration.

func (*Logging) DeepCopy added in v1.5.0

func (in *Logging) DeepCopy() *Logging

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

func (*Logging) DeepCopyInto added in v1.5.0

func (in *Logging) DeepCopyInto(out *Logging)

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

type OIDCProvider added in v1.5.3

type OIDCProvider struct {
	// Name is a human-readable name of the provider. If set this will be used
	// instead of the provider id (the key in
	// `PlatformConfig.Auth.SSO.OIDCProviders`)
	Name string `json:"name,omitempty"`

	// IssuerURL is the URL for the OIDC issuer endpoint.
	IssuerURL string `json:"issuerURL,omitempty"`

	// ClientID is the OAuth client ID.
	ClientID string `json:"clientID,omitempty"`

	// ClientSecret is the OAuth client secret.
	ClientSecret string `json:"clientSecret,omitempty"`

	// AllowedDomains is a list of email domains to allow. If left empty any
	// successful authentication on the provider is allowed.
	AllowedDomains []string `json:"allowedDomains,omitempty"`

	// Scopes is a list of additional scopes other than `openid`, `email` and
	// `profile`.
	Scopes []string `json:"scopes"`

	// GroupsClaim is the path to a claim in the JWT containing a string or
	// list of strings of group names.
	GroupsClaim string `json:"groupsClaim,omitempty"`

	// DisableJITGroups disables creation of groups found through OIDC in rig.
	DisableJITGroups *bool `json:"disableJITGroups,omitempty"`

	// GroupMapping is a mapping from OIDC provided group names to group names
	// used in rig. If an OIDC provided group name is not provided in this
	// mapping we will use the OIDC provided groupname in rig.
	GroupMapping map[string]string `json:"groupMapping,omitempty"`

	// Icon is what icon to show for this provider.
	Icon OIDCProviderIcon `json:"icon,omitempty"`

	// DisableUserMerging disallows merging their OIDC account with an existing user in rig.
	// This effectively means, that if a user is created using OIDC, then it can only login
	// using that OIDC provider.
	DisableUserMerging *bool `json:"disableUserMerging,omitempty"`
}

OIDCProvider specifies an OIDC provider.

func (*OIDCProvider) DeepCopy added in v1.5.3

func (in *OIDCProvider) DeepCopy() *OIDCProvider

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

func (*OIDCProvider) DeepCopyInto added in v1.5.3

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

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

type OIDCProviderIcon added in v1.6.2

type OIDCProviderIcon string

OIDCProviderIcon is a string representing what provider icon should be shown on the login page. Valid options: "google", "azure", "aws", "facebook", "keycloak".

const (
	OIDCProviderIconGoogle   OIDCProviderIcon = "google"
	OIDCProviderIconAzure    OIDCProviderIcon = "azure"
	OIDCProviderIconAWS      OIDCProviderIcon = "aws"
	OIDCProviderIconFacebook OIDCProviderIcon = "facebook"
	OIDCProviderIconKeycloak OIDCProviderIcon = "keycloak"
)

type OperatorConfig

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

	// WebhooksEnabled sets wether or not webhooks should be enabled. When
	// enabled a certificate should be mounted at the webhook server
	// certificate path. Defaults to true if omitted.
	WebhooksEnabled *bool `json:"webhooksEnabled,omitempty" protobuf:"3"`

	// DevModeEnabled enables verbose logs and changes the logging format to be
	// more human readable.
	DevModeEnabled bool `json:"devModeEnabled,omitempty" protobuf:"4"`

	// LeaderElectionEnabled enables leader election when running multiple
	// instances of the operator.
	LeaderElectionEnabled *bool `json:"leaderElectionEnabled,omitempty" protobuf:"5"`

	// Pipeline defines the capsule controller pipeline
	Pipeline Pipeline `json:"pipeline,omitempty" protobuf:"7"`
}

OperatorConfig is the Schema for the operator config API +kubebuilder:object:root=true

func (*OperatorConfig) DeepCopy

func (in *OperatorConfig) DeepCopy() *OperatorConfig

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

func (*OperatorConfig) DeepCopyInto

func (in *OperatorConfig) DeepCopyInto(out *OperatorConfig)

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

func (*OperatorConfig) DeepCopyObject

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

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

func (*OperatorConfig) Default

func (c *OperatorConfig) Default() *OperatorConfig

type PathPrefixes added in v1.8.2

type PathPrefixes struct {
	Capsule string `json:"capsule,omitempty"`
	Project string `json:"project,omitempty"`
}

PathPrefixes is the (possibly templated) path prefix to commit to in git repository depending on which resource is being written.

func (*PathPrefixes) DeepCopy added in v1.8.2

func (in *PathPrefixes) DeepCopy() *PathPrefixes

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

func (*PathPrefixes) DeepCopyInto added in v1.8.2

func (in *PathPrefixes) DeepCopyInto(out *PathPrefixes)

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

type Pipeline added in v1.7.2

type Pipeline struct {
	// How to handle the service account step of capsules in the cluster.
	// Defaults to rigdev.service_account.
	ServiceAccountStep CapsuleStep `json:"serviceAccountStep,omitempty" protobuf:"1"`
	// How to handle the deployment step of capsules in the cluster.
	// Defaults to rigdev.deployment.
	DeploymentStep CapsuleStep `json:"deploymentStep,omitempty" protobuf:"2"`
	// How to handle the routes for capsules in the cluster.
	// If left empty, routes will not be handled.
	RoutesStep CapsuleStep `json:"routesStep,omitempty" protobuf:"3"`
	// How to handle the cronjob step of capsules in the cluster.
	// Defaults to rigdev.cron_jobs
	CronJobsStep CapsuleStep `json:"cronJobsStep,omitempty" protobuf:"4"`
	// How to handle the VPA step of capsules in the cluster.
	// If left empty, no VPAs will be created.
	VPAStep CapsuleStep `json:"vpaStep,omitempty" protobuf:"5"`
	// How to handle the service monitor step of capsules in the cluster.
	// If left empty, no service monitors will be created.
	// rigdev.service_monitor plugin spawns a Prometheus ServiceMonitor per capsule
	// for use with a Prometheus Operator stack.
	ServiceMonitorStep CapsuleStep `json:"serviceMonitorStep,omitempty" protobuf:"6"`
	// Steps to perform as part of running the operator.
	// +patchStrategy=merge
	Steps []Step `json:"steps,omitempty" protobuf:"7"`
	// CustomPlugins enables custom plugins to be injected into the
	// operator. The plugins injected here can then be referenced in 'steps'
	CustomPlugins []CustomPlugin `json:"customPlugins,omitempty" protobuf:"8"`
	// CapsuleExtensions supported by the Operator. Each extension supported
	// should be configured in the map, with an additional plugin name.
	CapsuleExtensions map[string]CapsuleStep `json:"capsuleExtensions,omitempty" protobuf:"9"`
}

func (*Pipeline) DeepCopy added in v1.7.2

func (in *Pipeline) DeepCopy() *Pipeline

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

func (*Pipeline) DeepCopyInto added in v1.7.2

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

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

type PlatformConfig added in v1.5.0

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

	// Port sets the port the platform should listen on
	Port int `json:"port,omitempty"`

	// PublicUrl sets the public url for the platform. This is used for
	// generating urls for the platform when using oauth2.
	PublicURL string `json:"publicURL,omitempty"`

	// TelemetryEnabled specifies wether or not we are allowed to collect usage
	// data. Defaults to true.
	TelemetryEnabled bool `json:"telemetryEnabled,omitempty"`

	// Auth holds authentication configuration.
	Auth Auth `json:"auth,omitempty"`

	// Client holds configuration for clients used in the platform.
	Client Client `json:"client,omitempty"`

	// Repository specifies the type of db to use along with secret key
	Repository Repository `json:"repository,omitempty"`

	// Cluster holds cluster specific configuration
	// Deprecated: Use `clusters` instead.
	Cluster Cluster `json:"cluster,omitempty"`

	// Email holds the default configuration for sending emails. Either using mailjet or using SMTP.
	Email Email `json:"email,omitempty"`

	// Logging holds information about the granularity of logging
	Logging Logging `json:"logging,omitempty"`

	// Clusters the platform has access to.
	Clusters map[string]Cluster `json:"clusters,omitempty"`

	// DockerRegistries holds configuration for multiple docker registries. The key is the host-prefix of the registry
	DockerRegistries map[string]DockerRegistryCredentials `json:"dockerRegistries,omitempty"`

	// CapsuleExtensions contains typed extensions to the Capsule spec.
	CapsuleExtensions map[string]Extension `json:"capsuleExtensions,omitempty"`
}

PlatformConfig is the Schema for the platform config API +kubebuilder:object:root=true

func NewDefaultPlatform added in v1.5.0

func NewDefaultPlatform() *PlatformConfig

func (*PlatformConfig) DeepCopy added in v1.5.0

func (in *PlatformConfig) DeepCopy() *PlatformConfig

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

func (*PlatformConfig) DeepCopyInto added in v1.5.0

func (in *PlatformConfig) DeepCopyInto(out *PlatformConfig)

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

func (*PlatformConfig) DeepCopyObject added in v1.5.0

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

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

func (*PlatformConfig) Migrate added in v1.9.1

func (cfg *PlatformConfig) Migrate()

func (*PlatformConfig) Validate added in v1.6.0

func (cfg *PlatformConfig) Validate() error

type Plugin added in v1.7.0

type Plugin struct {
	// Optional tag which is readable by plugin when executed
	Tag string `json:"tag,omitempty" protobuf:"1"`
	// Name of the plugin to run.
	// Deprecated, use Plugin.
	Name string `json:"name,omitempty" protobuf:"2"`
	// Name of the plugin to run.
	Plugin string `json:"plugin,omitempty" protobuf:"3"`
	// Config is a string defining the plugin-specific configuration of the plugin.
	Config string `json:"config,omitempty" protobuf:"4"`
}

func (*Plugin) DeepCopy added in v1.7.0

func (in *Plugin) DeepCopy() *Plugin

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

func (*Plugin) DeepCopyInto added in v1.7.0

func (in *Plugin) DeepCopyInto(out *Plugin)

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

func (Plugin) GetPlugin added in v1.12.0

func (p Plugin) GetPlugin() string

type PrometheusServiceMonitor added in v1.5.0

type PrometheusServiceMonitor struct {
	// Path is the path which Prometheus should query on ports. Defaults to /metrics if not set.
	Path string `json:"path,omitempty" protobuf:"1"`
	// PortName is the name of the port which Prometheus will query metrics on
	PortName string `json:"portName" protobuf:"2"`
}

func (*PrometheusServiceMonitor) DeepCopy added in v1.5.0

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

func (*PrometheusServiceMonitor) DeepCopyInto added in v1.5.0

func (in *PrometheusServiceMonitor) DeepCopyInto(out *PrometheusServiceMonitor)

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

type Repository added in v1.5.0

type Repository struct {
	// Store is what database will be used, can only be postgres.
	Store string `json:"store,omitempty"`

	// Secret is a secret key used for encrypting sensitive data before saving
	// it in the database.
	Secret string `json:"secret,omitempty"`
}

Repository specifies repository configuration

func (*Repository) DeepCopy added in v1.5.0

func (in *Repository) DeepCopy() *Repository

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

func (*Repository) DeepCopyInto added in v1.5.0

func (in *Repository) DeepCopyInto(out *Repository)

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

type SSHCredential added in v1.5.0

type SSHCredential struct {
	// PrivateKey is a PEM encoded SSH private key.
	PrivateKey string `json:"privateKey,omitempty"`

	// PrivateKeyPassword is an optional password for the SSH private key.
	PrivateKeyPassword string `json:"password,omitempty"`
}

SSHCredential specifies SSH credentials

func (*SSHCredential) DeepCopy added in v1.5.0

func (in *SSHCredential) DeepCopy() *SSHCredential

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

func (*SSHCredential) DeepCopyInto added in v1.5.0

func (in *SSHCredential) DeepCopyInto(out *SSHCredential)

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

type SSO added in v1.5.3

type SSO struct {
	// OIDCProviders specifies enabled OIDCProviders which can be used for
	// login.
	OIDCProviders map[string]OIDCProvider `json:"oidcProviders,omitempty"`
}

SSO specifies single sign on configuration.

func (*SSO) DeepCopy added in v1.5.3

func (in *SSO) DeepCopy() *SSO

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

func (*SSO) DeepCopyInto added in v1.5.3

func (in *SSO) DeepCopyInto(out *SSO)

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

type Step added in v1.7.0

type Step struct {
	// Optional tag which is readable by plugins when executed
	Tag string `json:"tag,omitempty" protobuf:"1"`
	// Match requirements for running the Step on a given Capsule.
	Match CapsuleMatch `json:"match,omitempty" protobuf:"2"`

	// Plugins to run as part of this step.
	Plugins []Plugin `json:"plugins,omitempty" protobuf:"3"`

	// If set, only capsules in one of the namespaces given will have this step run.
	// Deprecated, use Match.Namespaces.
	Namespaces []string `json:"namespaces,omitempty" protobuf:"4"`
	// If set, only execute the plugin on the capsules specified.
	// Deprecated, use Match.Names.
	Capsules []string `json:"capsules,omitempty" protobuf:"5"`
	// If set, will enable the step for the Rig platform which is a Capsule as well
	// Deprecated, use Match.EnableForPlatform.
	EnableForPlatform bool `json:"enableForPlatform,omitempty" protobuf:"6"`
}

func (*Step) DeepCopy added in v1.7.0

func (in *Step) DeepCopy() *Step

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

func (*Step) DeepCopyInto added in v1.7.0

func (in *Step) DeepCopyInto(out *Step)

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

type URLMatch added in v1.12.2

type URLMatch string
const (
	URLMatchExact  URLMatch = "exact"
	URLMatchPrefix URLMatch = "prefix"
)

type VerticalPodAutoscaler added in v1.6.0

type VerticalPodAutoscaler struct {
	// Enabled enables the creation of a VerticalPodAutoscaler per capsule
	Enabled bool `json:"enabled,omitempty" protobuf:"1"`
}

func (*VerticalPodAutoscaler) DeepCopy added in v1.6.0

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

func (*VerticalPodAutoscaler) DeepCopyInto added in v1.6.0

func (in *VerticalPodAutoscaler) DeepCopyInto(out *VerticalPodAutoscaler)

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