v1

package
v1.19.9 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 7 Imported by: 40

Documentation

Index

Constants

View Source
const (
	// ProvisionerBlobCsiAzure Use of azure/csi driver for blob in Azure storage account
	ProvisionerBlobCsiAzure string = "blob.csi.azure.com"
	// ProvisionerFileCsiAzure Use of azure/csi driver for files in Azure storage account
	ProvisionerFileCsiAzure string = "file.csi.azure.com"
)

These are valid storage class provisioners

View Source
const DynamicTagNameInEnvironmentConfig = "{imageTagName}"

DynamicTagNameInEnvironmentConfig Pattern to indicate that the image tag should be taken from the environment config

Variables

View Source
var (
	//SchemeBuilder builds a scheme
	SchemeBuilder runtime.SchemeBuilder

	//AddToScheme adds to scheme
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   radix.GroupName,
	Version: "v1",
}

SchemeGroupVersion provides the group version

Functions

func GetCsiAzureStorageClassProvisioners added in v1.13.0

func GetCsiAzureStorageClassProvisioners() []string

GetCsiAzureStorageClassProvisioners CSI Azure provisioners

func GetStorageClassProvisionerByVolumeMountType added in v1.13.0

func GetStorageClassProvisionerByVolumeMountType(volumeMountType MountType) (string, bool)

GetStorageClassProvisionerByVolumeMountType convert volume mount type to Storage Class provisioner

func IsKnownBlobFlexVolumeMount added in v1.13.7

func IsKnownBlobFlexVolumeMount(volumeMount string) bool

IsKnownBlobFlexVolumeMount Supported volume mount type Azure Blobfuse

func IsKnownCsiAzureVolumeMount added in v1.13.7

func IsKnownCsiAzureVolumeMount(volumeMount string) bool

IsKnownCsiAzureVolumeMount Supported volume mount type CSI Azure Blob volume

func IsKnownVolumeMount added in v1.13.0

func IsKnownVolumeMount(volumeMount string) bool

IsKnownVolumeMount Gets if volume mount is supported

func Resource

func Resource(resource string) schema.GroupResource

Resource does things to resource

Types

type Alert added in v1.16.0

type Alert struct {
	Alert    string `json:"alert" yaml:"alert"`
	Receiver string `json:"receiver" yaml:"receiver"`
}

func (*Alert) DeepCopy added in v1.16.0

func (in *Alert) DeepCopy() *Alert

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

func (*Alert) DeepCopyInto added in v1.16.0

func (in *Alert) DeepCopyInto(out *Alert)

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

type AppAlias

type AppAlias struct {
	Environment string `json:"environment,omitempty" yaml:"environment,omitempty"`
	Component   string `json:"component,omitempty" yaml:"component,omitempty"`
}

AppAlias defines a URL alias for this application. The URL will be of form <app-name>.apps.radix.equinor.com

func (*AppAlias) DeepCopy

func (in *AppAlias) DeepCopy() *AppAlias

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

func (*AppAlias) DeepCopyInto

func (in *AppAlias) DeepCopyInto(out *AppAlias)

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

type Authentication added in v1.11.4

type Authentication struct {
	//ClientCertificate Authentication client certificate
	ClientCertificate *ClientCertificate `json:"clientCertificate,omitempty" yaml:"clientCertificate,omitempty"`
	OAuth2            *OAuth2            `json:"oauth2,omitempty" yaml:"oauth2,omitempty"`
}

Authentication Radix authentication settings

func (*Authentication) DeepCopy added in v1.11.4

func (in *Authentication) DeepCopy() *Authentication

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

func (*Authentication) DeepCopyInto added in v1.11.4

func (in *Authentication) DeepCopyInto(out *Authentication)

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

type BuildSpec added in v1.3.0

type BuildSpec struct {
	Secrets []string `json:"secrets" yaml:"secrets"`
}

BuildSpec defines the specification for building the components

func (*BuildSpec) DeepCopy added in v1.3.0

func (in *BuildSpec) DeepCopy() *BuildSpec

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

func (*BuildSpec) DeepCopyInto added in v1.3.0

func (in *BuildSpec) DeepCopyInto(out *BuildSpec)

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

type ClientCertificate added in v1.11.4

type ClientCertificate struct {
	//Verification Client certificate verification type
	Verification *VerificationType `json:"verification,omitempty" yaml:"verification,omitempty"`
	//PassCertificateToUpstream Should a certificate be passed to upstream
	PassCertificateToUpstream *bool `json:"passCertificateToUpstream,omitempty" yaml:"passCertificateToUpstream,omitempty"`
}

ClientCertificate Authentication client certificate parameters

func (*ClientCertificate) DeepCopy added in v1.11.4

func (in *ClientCertificate) DeepCopy() *ClientCertificate

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

func (*ClientCertificate) DeepCopyInto added in v1.11.4

func (in *ClientCertificate) DeepCopyInto(out *ClientCertificate)

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

type ComponentPort

type ComponentPort struct {
	Name string `json:"name"`
	Port int32  `json:"port"`
}

ComponentPort defines the port number, protocol and port for a service

func (*ComponentPort) DeepCopy

func (in *ComponentPort) DeepCopy() *ComponentPort

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

func (*ComponentPort) DeepCopyInto

func (in *ComponentPort) DeepCopyInto(out *ComponentPort)

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

type CookieSameSiteType added in v1.18.0

type CookieSameSiteType string

CookieSameSiteType Cookie SameSite value

const (
	// SameSiteStrict Use strict as samesite for cookie
	SameSiteStrict CookieSameSiteType = "strict"
	// SameSiteLax Use lax as samesite for cookie
	SameSiteLax CookieSameSiteType = "lax"
	// SameSiteNone Use none as samesite for cookie. Not supported by IE. See compativility matrix https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite#browser_compatibility
	SameSiteNone CookieSameSiteType = "none"
	// SameSiteEmpty Use empty string as samesite for cookie. Modern browsers defaults to lax when SameSite is not set. See compatibility matrix https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite#browser_compatibility
	SameSiteEmpty CookieSameSiteType = ""
)

type EgressPort added in v1.19.0

type EgressPort struct {
	Port     int32  `json:"port" yaml:"port"`
	Protocol string `json:"protocol" yaml:"protocol"`
}

EgressPort defines a port in context of EgressRule

func (*EgressPort) DeepCopy added in v1.19.0

func (in *EgressPort) DeepCopy() *EgressPort

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

func (*EgressPort) DeepCopyInto added in v1.19.0

func (in *EgressPort) DeepCopyInto(out *EgressPort)

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

type EgressRule added in v1.19.0

type EgressRule struct {
	Destinations []string     `json:"destinations" yaml:"destinations"`
	Ports        []EgressPort `json:"ports,omitempty" yaml:"ports,omitempty"`
}

EgressRule defines an egress rule in network policy

func (*EgressRule) DeepCopy added in v1.19.0

func (in *EgressRule) DeepCopy() *EgressRule

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

func (*EgressRule) DeepCopyInto added in v1.19.0

func (in *EgressRule) DeepCopyInto(out *EgressRule)

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

type EnvBuild

type EnvBuild struct {
	From string `json:"from,omitempty" yaml:"from,omitempty"`
}

EnvBuild defines build parameters of a specific environment

func (*EnvBuild) DeepCopy

func (in *EnvBuild) DeepCopy() *EnvBuild

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

func (*EnvBuild) DeepCopyInto

func (in *EnvBuild) DeepCopyInto(out *EnvBuild)

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

type EnvVarsMap

type EnvVarsMap map[string]string

EnvVarsMap maps environment variable keys to their values

func (EnvVarsMap) DeepCopy

func (in EnvVarsMap) DeepCopy() EnvVarsMap

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

func (EnvVarsMap) DeepCopyInto

func (in EnvVarsMap) DeepCopyInto(out *EnvVarsMap)

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

type Environment

type Environment struct {
	Name        string       `json:"name" yaml:"name"`
	Build       EnvBuild     `json:"build,omitempty" yaml:"build,omitempty"`
	EgressRules []EgressRule `json:"egressRules,omitempty" yaml:"egressRules,omitempty"`
}

Environment defines a Radix application environment

func (*Environment) DeepCopy

func (in *Environment) DeepCopy() *Environment

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

func (*Environment) DeepCopyInto

func (in *Environment) DeepCopyInto(out *Environment)

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

type ExternalAlias

type ExternalAlias struct {
	Alias       string `json:"alias,omitempty" yaml:"alias,omitempty"`
	Environment string `json:"environment,omitempty" yaml:"environment,omitempty"`
	Component   string `json:"component,omitempty" yaml:"component,omitempty"`
}

ExternalAlias defines a URL alias for this application with ability to bring-your-own certificate

func (*ExternalAlias) DeepCopy

func (in *ExternalAlias) DeepCopy() *ExternalAlias

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

func (*ExternalAlias) DeepCopyInto

func (in *ExternalAlias) DeepCopyInto(out *ExternalAlias)

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

type MountType added in v1.7.0

type MountType string

MountType Holds types of mount

const (
	// MountTypeBlob Use of azure/blobfuse flexvolume
	MountTypeBlob MountType = "blob"
	// MountTypeBlobCsiAzure Use of azure/csi driver for blob in Azure storage account
	MountTypeBlobCsiAzure MountType = "azure-blob"
	// MountTypeFileCsiAzure Use of azure/csi driver for files in Azure storage account
	MountTypeFileCsiAzure MountType = "azure-file"
)

These are valid types of mount

type OAuth2 added in v1.18.0

type OAuth2 struct {
	// ClientID. The OAuth2 client ID
	ClientID string `json:"clientId,omitempty" yaml:"clientId,omitempty"`
	// Scope. Optional. The requested scope by the OAuth code flow
	// Default: openid profile email
	Scope string `json:"scope,omitempty" yaml:"scope,omitempty"`
	// SetXAuthRequestHeaders. Optional. Defines if X-Auth-* headers should added to the request
	// Sets the X-Auth-Request-User, X-Auth-Request-Groups, X-Auth-Request-Email, X-Auth-Request-Preferred-Username and X-Auth-Request-Access-Token
	// from values in the Access Token redeemed by the OAuth Proxy
	// Default: false
	SetXAuthRequestHeaders *bool `json:"setXAuthRequestHeaders,omitempty" yaml:"setXAuthRequestHeaders,omitempty"`
	// SetAuthorizationHeader. Optional. Defines if the IDToken received by the OAuth Proxy should be added to the Authorization header
	// Default: false
	SetAuthorizationHeader *bool `json:"setAuthorizationHeader,omitempty" yaml:"setAuthorizationHeader,omitempty"`
	// ProxyPrefix. Optional. The url root path that OAuth Proxy should be nested under
	// Default: /oauth2
	ProxyPrefix string `json:"proxyPrefix,omitempty" yaml:"proxyPrefix,omitempty"`
	// LoginURL. Optional. Authentication endpoint
	// Must be set if OIDC.SkipDiscovery is true
	LoginURL string `json:"loginUrl,omitempty" yaml:"loginUrl,omitempty"`
	// RedeemURL. Optional. Endpoint to redeem the authorization code received from the OAuth code flow
	// Must be set if OIDC.SkipDiscovery is true
	RedeemURL string `json:"redeemUrl,omitempty" yaml:"redeemUrl,omitempty"`
	// OIDC. Optional. Defines OIDC settings
	OIDC *OAuth2OIDC `json:"oidc,omitempty" yaml:"oidc,omitempty"`
	// Cookie. Optional. Settings for the session cookie
	Cookie *OAuth2Cookie `json:"cookie,omitempty" yaml:"cookie,omitempty"`
	// SessionStoreType. Optional. Specifies where to store the session data
	// Allowed values: cookie, redis
	// Default: cookie
	SessionStoreType SessionStoreType `json:"sessionStoreType,omitempty" yaml:"sessionStoreType,omitempty"`
	// CookieStore. Optional. Settings for cookie that stores session data when SessionStoreType is cookie
	CookieStore *OAuth2CookieStore `json:"cookieStore,omitempty" yaml:"cookieStore,omitempty"`
	// RedisStore. Optional. Settings for Redis store when SessionStoreType is redis
	RedisStore *OAuth2RedisStore `json:"redisStore,omitempty" yaml:"redisStore,omitempty"`
}

OAuth2 defines oauth proxy settings for a component

func (*OAuth2) DeepCopy added in v1.18.0

func (in *OAuth2) DeepCopy() *OAuth2

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

func (*OAuth2) DeepCopyInto added in v1.18.0

func (in *OAuth2) DeepCopyInto(out *OAuth2)

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

type OAuth2Cookie added in v1.18.0

type OAuth2Cookie struct {
	// Name. Optional. Defines the name of the OAuth session cookie
	// Default: _oauth2_proxy
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
	// Expire. Optional. The expire timeframe for the session cookie
	// Default: 168h0m0s
	Expire string `json:"expire,omitempty" yaml:"expire,omitempty"`
	// Refresh. Optional. The interval between cookie refreshes
	// The value must be a shorter timeframe than Expire
	// Default 60m0s
	Refresh string `json:"refresh,omitempty" yaml:"refresh,omitempty"`
	// SameSite. Optional. The samesite cookie attribute
	// Allowed values: strict, lax, none or empty
	// Default: lax
	SameSite CookieSameSiteType `json:"sameSite,omitempty" yaml:"sameSite,omitempty"`
}

OAuth2Cookie defines properties for the oauth cookie

func (*OAuth2Cookie) DeepCopy added in v1.18.0

func (in *OAuth2Cookie) DeepCopy() *OAuth2Cookie

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

func (*OAuth2Cookie) DeepCopyInto added in v1.18.0

func (in *OAuth2Cookie) DeepCopyInto(out *OAuth2Cookie)

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

type OAuth2CookieStore added in v1.18.0

type OAuth2CookieStore struct {
	// Minimal. Optional. Strips OAuth tokens from cookies if they are not needed (only when SessionStoreType is cookie)
	// Cookie.Refresh must be 0, and both SetXAuthRequestHeaders and SetAuthorizationHeader must be false if this setting is true
	// Default: false
	Minimal *bool `json:"minimal,omitempty" yaml:"minimal,omitempty"`
}

OAuth2CookieStore properties for cookie session storage

func (*OAuth2CookieStore) DeepCopy added in v1.18.0

func (in *OAuth2CookieStore) DeepCopy() *OAuth2CookieStore

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

func (*OAuth2CookieStore) DeepCopyInto added in v1.18.0

func (in *OAuth2CookieStore) DeepCopyInto(out *OAuth2CookieStore)

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

type OAuth2OIDC added in v1.18.0

type OAuth2OIDC struct {
	// IssuerURL. Optional. The OIDC issuer URL
	// Default: https://login.microsoftonline.com/3aa4a235-b6e2-48d5-9195-7fcf05b459b0/v2.0
	IssuerURL string `json:"issuerUrl,omitempty" yaml:"issuerUrl,omitempty"`
	// JWKSURL. Optional. OIDC JWKS URL for token verification; required if OIDC discovery is disabled
	JWKSURL string `json:"jwksUrl,omitempty" yaml:"jwksUrl,omitempty"`
	// SkipDiscovery. Optional. Defines if OIDC endpoint discovery should be bypassed
	// LoginURL, RedeemURL, JWKSURL must be configured if discovery is disabled
	// Default: false
	SkipDiscovery *bool `json:"skipDiscovery,omitempty" yaml:"skipDiscovery,omitempty"`
	// InsecureSkipVerifyNonce. Optional. Skip verifying the OIDC ID Token's nonce claim
	// Default: false
	InsecureSkipVerifyNonce *bool `json:"insecureSkipVerifyNonce,omitempty" yaml:"insecureSkipVerifyNonce,omitempty"`
}

OAuth2OIDC defines OIDC properties for oauth proxy

func (*OAuth2OIDC) DeepCopy added in v1.18.0

func (in *OAuth2OIDC) DeepCopy() *OAuth2OIDC

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

func (*OAuth2OIDC) DeepCopyInto added in v1.18.0

func (in *OAuth2OIDC) DeepCopyInto(out *OAuth2OIDC)

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

type OAuth2RedisStore added in v1.18.0

type OAuth2RedisStore struct {
	// ConnectionURL. The URL for the Redis server when SessionStoreType is redis
	ConnectionURL string `json:"connectionUrl,omitempty" yaml:"connectionUrl,omitempty"`
}

OAuth2RedisStore properties for redis session storage

func (*OAuth2RedisStore) DeepCopy added in v1.18.0

func (in *OAuth2RedisStore) DeepCopy() *OAuth2RedisStore

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

func (*OAuth2RedisStore) DeepCopyInto added in v1.18.0

func (in *OAuth2RedisStore) DeepCopyInto(out *OAuth2RedisStore)

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

type PrivateImageHubEntries added in v1.0.1

type PrivateImageHubEntries map[string]*RadixPrivateImageHubCredential

PrivateImageHubEntries - key = imagehubserver

func (PrivateImageHubEntries) DeepCopy added in v1.0.1

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

func (PrivateImageHubEntries) DeepCopyInto added in v1.0.1

func (in PrivateImageHubEntries) DeepCopyInto(out *PrivateImageHubEntries)

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

type RadixAlert added in v1.16.0

type RadixAlert struct {
	meta_v1.TypeMeta   `json:",inline" yaml:",inline"`
	meta_v1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec               RadixAlertSpec   `json:"spec" yaml:"spec"`
	Status             RadixAlertStatus `json:"status" yaml:"status"`
}

RadixAlert describe alert config for a radix environment

func (*RadixAlert) DeepCopy added in v1.16.0

func (in *RadixAlert) DeepCopy() *RadixAlert

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

func (*RadixAlert) DeepCopyInto added in v1.16.0

func (in *RadixAlert) DeepCopyInto(out *RadixAlert)

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

func (*RadixAlert) DeepCopyObject added in v1.16.0

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

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

type RadixAlertList added in v1.16.0

type RadixAlertList struct {
	meta_v1.TypeMeta `json:",inline" yaml:",inline"`
	meta_v1.ListMeta `json:"metadata" yaml:"metadata"`
	Items            []RadixAlert `json:"items" yaml:"items"`
}

RadixAlertList is a list of RadixAlert

func (*RadixAlertList) DeepCopy added in v1.16.0

func (in *RadixAlertList) DeepCopy() *RadixAlertList

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

func (*RadixAlertList) DeepCopyInto added in v1.16.0

func (in *RadixAlertList) DeepCopyInto(out *RadixAlertList)

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

func (*RadixAlertList) DeepCopyObject added in v1.16.0

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

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

type RadixAlertSpec added in v1.16.0

type RadixAlertSpec struct {
	Receivers ReceiverMap `json:"receivers" yaml:"receivers"`
	Alerts    []Alert     `json:"alerts" yaml:"alerts"`
}

RadixAlertSpec is the spec for a RadixAlert

func (*RadixAlertSpec) DeepCopy added in v1.16.0

func (in *RadixAlertSpec) DeepCopy() *RadixAlertSpec

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

func (*RadixAlertSpec) DeepCopyInto added in v1.16.0

func (in *RadixAlertSpec) DeepCopyInto(out *RadixAlertSpec)

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

type RadixAlertStatus added in v1.16.0

type RadixAlertStatus struct {
	Reconciled *meta_v1.Time `json:"reconciled" yaml:"reconciled"`
}

RadixAlertStatus is the status for a RadixAlert

func (*RadixAlertStatus) DeepCopy added in v1.16.0

func (in *RadixAlertStatus) DeepCopy() *RadixAlertStatus

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

func (*RadixAlertStatus) DeepCopyInto added in v1.16.0

func (in *RadixAlertStatus) DeepCopyInto(out *RadixAlertStatus)

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

type RadixApplication

type RadixApplication struct {
	meta_v1.TypeMeta   `json:",inline" yaml:",inline"`
	meta_v1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec               RadixApplicationSpec `json:"spec" yaml:"spec"`
}

RadixApplication describe an application

func (*RadixApplication) DeepCopy

func (in *RadixApplication) DeepCopy() *RadixApplication

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

func (*RadixApplication) DeepCopyInto

func (in *RadixApplication) DeepCopyInto(out *RadixApplication)

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

func (*RadixApplication) DeepCopyObject

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

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

type RadixApplicationList

type RadixApplicationList struct {
	meta_v1.TypeMeta `json:",inline" yaml:",inline"`
	meta_v1.ListMeta `json:"metadata" yaml:"metadata"`
	Items            []RadixApplication `json:"items" yaml:"items"`
}

RadixApplicationList is a list of Radix applications

func (*RadixApplicationList) DeepCopy

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

func (*RadixApplicationList) DeepCopyInto

func (in *RadixApplicationList) DeepCopyInto(out *RadixApplicationList)

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

func (*RadixApplicationList) DeepCopyObject

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

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

type RadixApplicationSpec

type RadixApplicationSpec struct {
	Build            *BuildSpec             `json:"build" yaml:"build"`
	Environments     []Environment          `json:"environments" yaml:"environments"`
	Jobs             []RadixJobComponent    `json:"jobs" yaml:"jobs"`
	Components       []RadixComponent       `json:"components" yaml:"components"`
	DNSAppAlias      AppAlias               `json:"dnsAppAlias" yaml:"dnsAppAlias"`
	DNSExternalAlias []ExternalAlias        `json:"dnsExternalAlias" yaml:"dnsExternalAlias"`
	PrivateImageHubs PrivateImageHubEntries `json:"privateImageHubs" yaml:"privateImageHubs"`
}

RadixApplicationSpec is the spec for an application

func (*RadixApplicationSpec) DeepCopy

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

func (*RadixApplicationSpec) DeepCopyInto

func (in *RadixApplicationSpec) DeepCopyInto(out *RadixApplicationSpec)

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

type RadixAzureKeyVault added in v1.17.2

type RadixAzureKeyVault struct {
	// Name. Name of the Azure Key Vault
	Name string `json:"name" yaml:"name"`
	// Path. Optional. Path within replicas, where secrets are mapped as files. Default: /mnt/azure-key-vault/<key-vault-name>/<component-name>
	Path *string `json:"path,omitempty" yaml:"path,omitempty"`
	// Items. Azure Key Vault items
	Items []RadixAzureKeyVaultItem `json:"items" yaml:"items"`
}

RadixAzureKeyVault defines Azure Key Vault

func (*RadixAzureKeyVault) DeepCopy added in v1.17.2

func (in *RadixAzureKeyVault) DeepCopy() *RadixAzureKeyVault

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

func (*RadixAzureKeyVault) DeepCopyInto added in v1.17.2

func (in *RadixAzureKeyVault) DeepCopyInto(out *RadixAzureKeyVault)

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

type RadixAzureKeyVaultItem added in v1.17.2

type RadixAzureKeyVaultItem struct {
	// Name. Name of the Azure Key Vault object
	Name string `json:"name" yaml:"name"`
	// EnvVar. Name of the environment variable within replicas, containing Azure Key Vault object value
	EnvVar string `json:"envVar" yaml:"envVar"`
	// Type. Optional. Type of the Azure KeyVault object: secret (default), key, cert
	Type *RadixAzureKeyVaultObjectType `json:"type,omitempty" yaml:"type,omitempty"`
	// Alias. Optional.It is not yet fully supported by the Azure CSI Key vault driver. Specify the filename of the object when written to disk. Defaults to objectName if not provided.
	Alias *string `json:"alias,omitempty" yaml:"alias,omitempty"`
	// Version. Optional. object versions, default to the latest, if empty
	Version *string `json:"version,omitempty" yaml:"version,omitempty"`
	// Format. Optional. The format of the Azure Key Vault object, supported types are pem and pfx. objectFormat: pfx is only supported with objectType: secret and PKCS12 or ECC certificates. Default format for certificates is pem.
	Format *string `json:"format,omitempty" yaml:"format,omitempty"`
	// Encoding. Optional. Setting object encoding to base64 and object format to pfx will fetch and write the base64 decoded pfx binary
	Encoding *string `json:"encoding,omitempty" yaml:"encoding,omitempty"`
	// K8SSecretType. Optional. Setting object k8s secret type.
	// Allowed types: opaque (default), tls. It corresponds to "Opaque" and "kubernetes.io/tls" secret types: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types
	K8sSecretType *RadixAzureKeyVaultK8sSecretType `json:"k8sSecretType,omitempty" yaml:"k8sSecretType,omitempty"`
}

RadixAzureKeyVaultItem defines Azure Key Vault setting: secrets, keys, certificates

func (*RadixAzureKeyVaultItem) DeepCopy added in v1.17.2

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

func (*RadixAzureKeyVaultItem) DeepCopyInto added in v1.17.2

func (in *RadixAzureKeyVaultItem) DeepCopyInto(out *RadixAzureKeyVaultItem)

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

type RadixAzureKeyVaultK8sSecretType added in v1.17.2

type RadixAzureKeyVaultK8sSecretType string

RadixAzureKeyVaultK8sSecretType Azure Key Vault secret item Kubernetes type

const (
	//RadixAzureKeyVaultK8sSecretTypeOpaque Azure Key Vault secret item Kubernetes type Opaque
	RadixAzureKeyVaultK8sSecretTypeOpaque RadixAzureKeyVaultK8sSecretType = "opaque"
	//RadixAzureKeyVaultK8sSecretTypeTls Azure Key Vault secret item Kubernetes type kubernetes.io/tls
	RadixAzureKeyVaultK8sSecretTypeTls RadixAzureKeyVaultK8sSecretType = "tls"
)

type RadixAzureKeyVaultObjectType added in v1.17.2

type RadixAzureKeyVaultObjectType string

RadixAzureKeyVaultObjectType Azure Key Vault item type

const (
	//RadixAzureKeyVaultObjectTypeSecret Azure Key Vault item of type secret
	RadixAzureKeyVaultObjectTypeSecret RadixAzureKeyVaultObjectType = "secret"
	//RadixAzureKeyVaultObjectTypeKey Azure Key Vault item of type key
	RadixAzureKeyVaultObjectTypeKey RadixAzureKeyVaultObjectType = "key"
	//RadixAzureKeyVaultObjectTypeCert Azure Key Vault item of type certificate
	RadixAzureKeyVaultObjectTypeCert RadixAzureKeyVaultObjectType = "cert"
)

type RadixBuildSpec

type RadixBuildSpec struct {
	ImageTag      string `json:"imageTag" yaml:"imageTag"`
	Branch        string `json:"branch" yaml:"branch"`
	CommitID      string `json:"commitID" yaml:"commitID"`
	PushImage     bool   `json:"pushImage" yaml:"pushImage"`
	RadixFileName string `json:"radixFileName" yaml:"radixFileName"`
}

RadixBuildSpec is the spec for a build job

func (*RadixBuildSpec) DeepCopy

func (in *RadixBuildSpec) DeepCopy() *RadixBuildSpec

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

func (*RadixBuildSpec) DeepCopyInto

func (in *RadixBuildSpec) DeepCopyInto(out *RadixBuildSpec)

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

type RadixCommonComponent added in v1.10.0

type RadixCommonComponent interface {
	//GetName Gets component name
	GetName() string
	//GetNode Gets component node parameters
	GetNode() *RadixNode
	//GetVariables Gets component environment variables
	GetVariables() EnvVarsMap
	//GetSecrets Gets component secrets
	GetSecrets() []string
	//GetSecretRefs Gets component secret-refs
	GetSecretRefs() RadixSecretRefs
	//GetResources Gets component resources
	GetResources() ResourceRequirements
	//GetEnvironmentConfig Gets component environment configuration
	GetEnvironmentConfig() []RadixCommonEnvironmentConfig
}

RadixCommonComponent defines a common component interface for Radix components

type RadixCommonDeployComponent added in v1.8.16

type RadixCommonDeployComponent interface {
	GetName() string
	GetType() RadixComponentType
	GetImage() string
	GetPorts() []ComponentPort
	GetEnvironmentVariables() EnvVarsMap
	GetSecrets() []string
	GetSecretRefs() RadixSecretRefs
	GetMonitoring() bool
	GetResources() *ResourceRequirements
	GetVolumeMounts() []RadixVolumeMount
	IsAlwaysPullImageOnDeploy() bool
	GetReplicas() *int
	GetHorizontalScaling() *RadixHorizontalScaling
	GetPublicPort() string
	IsPublic() bool
	GetDNSExternalAlias() []string
	IsDNSAppAlias() bool
	GetIngressConfiguration() []string
	GetRunAsNonRoot() bool
	GetNode() *RadixNode
	GetAuthentication() *Authentication
	SetName(name string)
	SetVolumeMounts(mounts []RadixVolumeMount)
	GetTimeLimitSeconds() *int64
}

RadixCommonDeployComponent defines a common component interface a RadixDeployment

type RadixCommonDeployComponentFactory added in v1.13.7

type RadixCommonDeployComponentFactory interface {
	Create() RadixCommonDeployComponent
	GetTargetType() reflect.Type
}

RadixCommonDeployComponentFactory defines a common component factory

type RadixCommonEnvironmentConfig added in v1.17.2

type RadixCommonEnvironmentConfig interface {
	GetEnvironment() string
	GetVariables() EnvVarsMap
	GetSecretRefs() RadixSecretRefs
	GetResources() ResourceRequirements
	GetNode() RadixNode
	GetImageTagName() string
}

type RadixComponent

type RadixComponent struct {
	Name                    string                   `json:"name" yaml:"name"`
	SourceFolder            string                   `json:"src" yaml:"src"`
	Image                   string                   `json:"image" yaml:"image"`
	DockerfileName          string                   `json:"dockerfileName" yaml:"dockerfileName"`
	Ports                   []ComponentPort          `json:"ports" yaml:"ports"`
	Public                  bool                     `json:"public" yaml:"public"` // Deprecated: For backwards compatibility Public is still supported, new code should use PublicPort instead
	PublicPort              string                   `json:"publicPort,omitempty" yaml:"publicPort,omitempty"`
	Secrets                 []string                 `json:"secrets,omitempty" yaml:"secrets,omitempty"`
	SecretRefs              RadixSecretRefs          `json:"secretRefs,omitempty" yaml:"secretRefs,omitempty"`
	IngressConfiguration    []string                 `json:"ingressConfiguration,omitempty" yaml:"ingressConfiguration,omitempty"`
	EnvironmentConfig       []RadixEnvironmentConfig `json:"environmentConfig,omitempty" yaml:"environmentConfig,omitempty"`
	Variables               EnvVarsMap               `json:"variables" yaml:"variables"`
	Resources               ResourceRequirements     `json:"resources,omitempty" yaml:"resources,omitempty"`
	AlwaysPullImageOnDeploy *bool                    `json:"alwaysPullImageOnDeploy" yaml:"alwaysPullImageOnDeploy"`
	Node                    RadixNode                `json:"node,omitempty" yaml:"node,omitempty"`
	Authentication          *Authentication          `json:"authentication,omitempty" yaml:"authentication,omitempty"`
}

RadixComponent defines a single component within a RadixApplication - maps to single deployment/service/ingress etc

func (*RadixComponent) DeepCopy

func (in *RadixComponent) DeepCopy() *RadixComponent

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

func (*RadixComponent) DeepCopyInto

func (in *RadixComponent) DeepCopyInto(out *RadixComponent)

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

func (*RadixComponent) GetEnvironmentConfig added in v1.17.2

func (component *RadixComponent) GetEnvironmentConfig() []RadixCommonEnvironmentConfig

func (*RadixComponent) GetName added in v1.10.0

func (component *RadixComponent) GetName() string

func (*RadixComponent) GetNode added in v1.10.0

func (component *RadixComponent) GetNode() *RadixNode

func (*RadixComponent) GetResources added in v1.17.2

func (component *RadixComponent) GetResources() ResourceRequirements

func (*RadixComponent) GetSecretRefs added in v1.17.2

func (component *RadixComponent) GetSecretRefs() RadixSecretRefs

func (*RadixComponent) GetSecrets added in v1.17.2

func (component *RadixComponent) GetSecrets() []string

func (*RadixComponent) GetVariables added in v1.17.2

func (component *RadixComponent) GetVariables() EnvVarsMap

type RadixComponentType added in v1.18.0

type RadixComponentType string
const (
	RadixComponentTypeComponent    RadixComponentType = "component"
	RadixComponentTypeJobScheduler RadixComponentType = "job"
)

type RadixDeployComponent

type RadixDeployComponent struct {
	Name                    string                  `json:"name" yaml:"name"`
	RunAsNonRoot            bool                    `json:"runAsNonRoot" yaml:"runAsNonRoot"`
	Image                   string                  `json:"image" yaml:"image"`
	Ports                   []ComponentPort         `json:"ports" yaml:"ports"`
	Replicas                *int                    `json:"replicas" yaml:"replicas"`
	Public                  bool                    `json:"public" yaml:"public"` // Deprecated: For backwards compatibility Public is still supported, new code should use PublicPort instead
	PublicPort              string                  `json:"publicPort,omitempty" yaml:"publicPort,omitempty"`
	EnvironmentVariables    EnvVarsMap              `json:"environmentVariables,omitempty" yaml:"environmentVariables,omitempty"`
	Secrets                 []string                `json:"secrets,omitempty" yaml:"secrets,omitempty"`
	SecretRefs              RadixSecretRefs         `json:"secretRefs,omitempty" yaml:"secretRefs,omitempty"`
	IngressConfiguration    []string                `json:"ingressConfiguration,omitempty" yaml:"ingressConfiguration,omitempty"`
	DNSAppAlias             bool                    `json:"dnsAppAlias,omitempty" yaml:"dnsAppAlias,omitempty"`
	DNSExternalAlias        []string                `json:"dnsExternalAlias,omitempty" yaml:"dnsExternalAlias,omitempty"`
	Monitoring              bool                    `json:"monitoring" yaml:"monitoring"`
	Resources               ResourceRequirements    `json:"resources,omitempty" yaml:"resources,omitempty"`
	HorizontalScaling       *RadixHorizontalScaling `json:"horizontalScaling,omitempty" yaml:"horizontalScaling,omitempty"`
	AlwaysPullImageOnDeploy bool                    `json:"alwaysPullImageOnDeploy" yaml:"alwaysPullImageOnDeploy"`
	VolumeMounts            []RadixVolumeMount      `json:"volumeMounts,omitempty" yaml:"volumeMounts,omitempty"`
	Node                    RadixNode               `json:"node,omitempty" yaml:"node,omitempty"`
	Authentication          *Authentication         `json:"authentication,omitempty" yaml:"authentication,omitempty"`
}

RadixDeployComponent defines a single component within a RadixDeployment - maps to single deployment/service/ingress etc

func (*RadixDeployComponent) DeepCopy

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

func (*RadixDeployComponent) DeepCopyInto

func (in *RadixDeployComponent) DeepCopyInto(out *RadixDeployComponent)

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

func (*RadixDeployComponent) GetAuthentication added in v1.12.0

func (deployComponent *RadixDeployComponent) GetAuthentication() *Authentication

func (*RadixDeployComponent) GetDNSExternalAlias added in v1.8.16

func (deployComponent *RadixDeployComponent) GetDNSExternalAlias() []string

func (*RadixDeployComponent) GetEnvironmentVariables added in v1.8.16

func (deployComponent *RadixDeployComponent) GetEnvironmentVariables() EnvVarsMap

func (*RadixDeployComponent) GetHorizontalScaling added in v1.8.16

func (deployComponent *RadixDeployComponent) GetHorizontalScaling() *RadixHorizontalScaling

func (*RadixDeployComponent) GetImage added in v1.8.16

func (deployComponent *RadixDeployComponent) GetImage() string

func (*RadixDeployComponent) GetIngressConfiguration added in v1.8.16

func (deployComponent *RadixDeployComponent) GetIngressConfiguration() []string

func (*RadixDeployComponent) GetMonitoring added in v1.8.16

func (deployComponent *RadixDeployComponent) GetMonitoring() bool

func (*RadixDeployComponent) GetName added in v1.8.16

func (deployComponent *RadixDeployComponent) GetName() string

func (*RadixDeployComponent) GetNode added in v1.10.0

func (deployComponent *RadixDeployComponent) GetNode() *RadixNode

func (RadixDeployComponent) GetNrOfReplicas added in v1.5.20

func (deployComponent RadixDeployComponent) GetNrOfReplicas() int32

GetNrOfReplicas gets number of replicas component will run

func (*RadixDeployComponent) GetPorts added in v1.8.16

func (deployComponent *RadixDeployComponent) GetPorts() []ComponentPort

func (*RadixDeployComponent) GetPublicPort added in v1.8.16

func (deployComponent *RadixDeployComponent) GetPublicPort() string

func (*RadixDeployComponent) GetReplicas added in v1.8.16

func (deployComponent *RadixDeployComponent) GetReplicas() *int

func (*RadixDeployComponent) GetResources added in v1.8.16

func (deployComponent *RadixDeployComponent) GetResources() *ResourceRequirements

func (*RadixDeployComponent) GetRunAsNonRoot added in v1.8.16

func (deployComponent *RadixDeployComponent) GetRunAsNonRoot() bool

func (*RadixDeployComponent) GetSecretRefs added in v1.17.2

func (deployComponent *RadixDeployComponent) GetSecretRefs() RadixSecretRefs

func (*RadixDeployComponent) GetSecrets added in v1.8.16

func (deployComponent *RadixDeployComponent) GetSecrets() []string

func (*RadixDeployComponent) GetTimeLimitSeconds added in v1.16.13

func (deployComponent *RadixDeployComponent) GetTimeLimitSeconds() *int64

func (*RadixDeployComponent) GetType added in v1.8.16

func (deployComponent *RadixDeployComponent) GetType() RadixComponentType

func (*RadixDeployComponent) GetVolumeMounts added in v1.8.16

func (deployComponent *RadixDeployComponent) GetVolumeMounts() []RadixVolumeMount

func (*RadixDeployComponent) IsAlwaysPullImageOnDeploy added in v1.8.16

func (deployComponent *RadixDeployComponent) IsAlwaysPullImageOnDeploy() bool

func (*RadixDeployComponent) IsDNSAppAlias added in v1.8.16

func (deployComponent *RadixDeployComponent) IsDNSAppAlias() bool

func (*RadixDeployComponent) IsPublic added in v1.8.16

func (deployComponent *RadixDeployComponent) IsPublic() bool

func (*RadixDeployComponent) SetName added in v1.13.7

func (deployComponent *RadixDeployComponent) SetName(name string)

func (*RadixDeployComponent) SetVolumeMounts added in v1.13.7

func (deployComponent *RadixDeployComponent) SetVolumeMounts(mounts []RadixVolumeMount)

type RadixDeployComponentFactory added in v1.13.7

type RadixDeployComponentFactory struct{}

func (RadixDeployComponentFactory) Create added in v1.13.7

func (*RadixDeployComponentFactory) DeepCopy added in v1.14.0

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

func (*RadixDeployComponentFactory) DeepCopyInto added in v1.14.0

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

func (RadixDeployComponentFactory) GetTargetType added in v1.13.7

func (factory RadixDeployComponentFactory) GetTargetType() reflect.Type

type RadixDeployCondition

type RadixDeployCondition string

RadixDeployCondition Holds the condition of a component

const (
	// Active means the radix deployment is active and should be consolidated
	DeploymentActive RadixDeployCondition = "Active"
	// Inactive means radix deployment is inactive and should not be consolidated
	DeploymentInactive RadixDeployCondition = "Inactive"
)

These are valid conditions of a deployment.

type RadixDeployJobComponent added in v1.8.0

type RadixDeployJobComponent struct {
	Name                    string                    `json:"name" yaml:"name"`
	Environment             string                    `json:"environment" yaml:"environment"`
	Image                   string                    `json:"image" yaml:"image"`
	Ports                   []ComponentPort           `json:"ports" yaml:"ports"`
	EnvironmentVariables    EnvVarsMap                `json:"environmentVariables,omitempty" yaml:"environmentVariables,omitempty"`
	Secrets                 []string                  `json:"secrets,omitempty" yaml:"secrets,omitempty"`
	SecretRefs              RadixSecretRefs           `json:"secretRefs,omitempty" yaml:"secretRefs,omitempty"`
	Monitoring              bool                      `json:"monitoring" yaml:"monitoring"`
	Resources               ResourceRequirements      `json:"resources,omitempty" yaml:"resources,omitempty"`
	VolumeMounts            []RadixVolumeMount        `json:"volumeMounts,omitempty" yaml:"volumeMounts,omitempty"`
	SchedulerPort           *int32                    `json:"schedulerPort,omitempty" yaml:"schedulerPort,omitempty"`
	Payload                 *RadixJobComponentPayload `json:"payload,omitempty" yaml:"payload,omitempty"`
	RunAsNonRoot            bool                      `json:"runAsNonRoot" yaml:"runAsNonRoot"`
	AlwaysPullImageOnDeploy bool                      `json:"alwaysPullImageOnDeploy" yaml:"alwaysPullImageOnDeploy"`
	Node                    RadixNode                 `json:"node,omitempty" yaml:"node,omitempty"`
	TimeLimitSeconds        *int64                    `json:"timeLimitSeconds,omitempty" yaml:"timeLimitSeconds,omitempty"`
}

RadixDeployJobComponent defines a single job component within a RadixDeployment The job component is used by the radix-job-scheduler-server to create Kubernetes Job objects

func (*RadixDeployJobComponent) DeepCopy added in v1.8.0

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

func (*RadixDeployJobComponent) DeepCopyInto added in v1.8.0

func (in *RadixDeployJobComponent) DeepCopyInto(out *RadixDeployJobComponent)

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

func (*RadixDeployJobComponent) GetAuthentication added in v1.12.0

func (deployJobComponent *RadixDeployJobComponent) GetAuthentication() *Authentication

func (*RadixDeployJobComponent) GetDNSExternalAlias added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetDNSExternalAlias() []string

func (*RadixDeployJobComponent) GetEnvironment added in v1.19.0

func (deployJobComponent *RadixDeployJobComponent) GetEnvironment() string

func (*RadixDeployJobComponent) GetEnvironmentVariables added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetEnvironmentVariables() EnvVarsMap

func (*RadixDeployJobComponent) GetHorizontalScaling added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetHorizontalScaling() *RadixHorizontalScaling

func (*RadixDeployJobComponent) GetImage added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetImage() string

func (*RadixDeployJobComponent) GetIngressConfiguration added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetIngressConfiguration() []string

func (*RadixDeployJobComponent) GetMonitoring added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetMonitoring() bool

func (*RadixDeployJobComponent) GetName added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetName() string

func (*RadixDeployJobComponent) GetNode added in v1.10.0

func (deployJobComponent *RadixDeployJobComponent) GetNode() *RadixNode

func (*RadixDeployJobComponent) GetPorts added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetPorts() []ComponentPort

func (*RadixDeployJobComponent) GetPublicPort added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetPublicPort() string

func (*RadixDeployJobComponent) GetReplicas added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetReplicas() *int

func (*RadixDeployJobComponent) GetResources added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetResources() *ResourceRequirements

func (*RadixDeployJobComponent) GetRunAsNonRoot added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetRunAsNonRoot() bool

func (*RadixDeployJobComponent) GetSecretRefs added in v1.17.2

func (deployComponent *RadixDeployJobComponent) GetSecretRefs() RadixSecretRefs

func (*RadixDeployJobComponent) GetSecrets added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetSecrets() []string

func (*RadixDeployJobComponent) GetTimeLimitSeconds added in v1.16.13

func (deployJobComponent *RadixDeployJobComponent) GetTimeLimitSeconds() *int64

func (*RadixDeployJobComponent) GetType added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetType() RadixComponentType

func (*RadixDeployJobComponent) GetVolumeMounts added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) GetVolumeMounts() []RadixVolumeMount

func (*RadixDeployJobComponent) IsAlwaysPullImageOnDeploy added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) IsAlwaysPullImageOnDeploy() bool

func (*RadixDeployJobComponent) IsDNSAppAlias added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) IsDNSAppAlias() bool

func (*RadixDeployJobComponent) IsPublic added in v1.8.16

func (deployJobComponent *RadixDeployJobComponent) IsPublic() bool

func (*RadixDeployJobComponent) SetName added in v1.13.7

func (deployJobComponent *RadixDeployJobComponent) SetName(name string)

func (*RadixDeployJobComponent) SetVolumeMounts added in v1.13.7

func (deployJobComponent *RadixDeployJobComponent) SetVolumeMounts(mounts []RadixVolumeMount)

type RadixDeployJobComponentFactory added in v1.13.7

type RadixDeployJobComponentFactory struct{}

func (RadixDeployJobComponentFactory) Create added in v1.13.7

func (*RadixDeployJobComponentFactory) DeepCopy added in v1.14.0

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

func (*RadixDeployJobComponentFactory) DeepCopyInto added in v1.14.0

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

func (RadixDeployJobComponentFactory) GetTargetType added in v1.13.7

func (factory RadixDeployJobComponentFactory) GetTargetType() reflect.Type

type RadixDeploySpec added in v1.4.2

type RadixDeploySpec struct {
	ToEnvironment string `json:"toEnvironment" yaml:"toEnvironment"`
}

RadixDeploySpec is the spec for a deploy job

func (*RadixDeploySpec) DeepCopy added in v1.4.2

func (in *RadixDeploySpec) DeepCopy() *RadixDeploySpec

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

func (*RadixDeploySpec) DeepCopyInto added in v1.4.2

func (in *RadixDeploySpec) DeepCopyInto(out *RadixDeploySpec)

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

type RadixDeployStatus

type RadixDeployStatus struct {
	ActiveFrom meta_v1.Time         `json:"activeFrom" yaml:"activeFrom"`
	ActiveTo   meta_v1.Time         `json:"activeTo" yaml:"activeTo"`
	Condition  RadixDeployCondition `json:"condition" yaml:"condition"`
	Reconciled meta_v1.Time         `json:"reconciled" yaml:"reconciled"`
}

RadixDeployStatus is the status for a rd

func (*RadixDeployStatus) DeepCopy

func (in *RadixDeployStatus) DeepCopy() *RadixDeployStatus

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

func (*RadixDeployStatus) DeepCopyInto

func (in *RadixDeployStatus) DeepCopyInto(out *RadixDeployStatus)

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

type RadixDeployment

type RadixDeployment struct {
	meta_v1.TypeMeta   `json:",inline" yaml:",inline"`
	meta_v1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec               RadixDeploymentSpec `json:"spec" yaml:"spec"`
	Status             RadixDeployStatus   `json:"status" yaml:"status"`
}

RadixDeployment describe a deployment

func (*RadixDeployment) DeepCopy

func (in *RadixDeployment) DeepCopy() *RadixDeployment

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

func (*RadixDeployment) DeepCopyInto

func (in *RadixDeployment) DeepCopyInto(out *RadixDeployment)

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

func (*RadixDeployment) DeepCopyObject

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

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

func (*RadixDeployment) GetComponentByName added in v1.10.0

func (rd *RadixDeployment) GetComponentByName(name string) *RadixDeployComponent

func (*RadixDeployment) GetJobComponentByName added in v1.10.0

func (rd *RadixDeployment) GetJobComponentByName(name string) *RadixDeployJobComponent

type RadixDeploymentList

type RadixDeploymentList struct {
	meta_v1.TypeMeta `json:",inline" yaml:",inline"`
	meta_v1.ListMeta `json:"metadata" yaml:"metadata"`
	Items            []RadixDeployment `json:"items" yaml:"items"`
}

RadixDeploymentList is a list of Radix deployments

func (*RadixDeploymentList) DeepCopy

func (in *RadixDeploymentList) DeepCopy() *RadixDeploymentList

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

func (*RadixDeploymentList) DeepCopyInto

func (in *RadixDeploymentList) DeepCopyInto(out *RadixDeploymentList)

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

func (*RadixDeploymentList) DeepCopyObject

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

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

type RadixDeploymentSpec

type RadixDeploymentSpec struct {
	AppName          string                         `json:"appname" yaml:"appname"`
	Components       []RadixDeployComponent         `json:"components"`
	Jobs             []RadixDeployJobComponent      `json:"jobs"`
	Environment      string                         `json:"environment" yaml:"environment"`
	ImagePullSecrets []core_v1.LocalObjectReference `json:"imagePullSecrets" yaml:"imagePullSecrets"`
}

RadixDeploymentSpec is the spec for a deployment

func (*RadixDeploymentSpec) DeepCopy

func (in *RadixDeploymentSpec) DeepCopy() *RadixDeploymentSpec

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

func (*RadixDeploymentSpec) DeepCopyInto

func (in *RadixDeploymentSpec) DeepCopyInto(out *RadixDeploymentSpec)

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

type RadixEnvironment added in v1.5.1

type RadixEnvironment struct {
	meta.TypeMeta   `json:",inline" yaml:",inline"`
	meta.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec            RadixEnvironmentSpec   `json:"spec" yaml:"spec"`
	Status          RadixEnvironmentStatus `json:"status" yaml:"status"`
}

RadixEnvironment is a Custom Resource Definition

func (*RadixEnvironment) DeepCopy added in v1.5.1

func (in *RadixEnvironment) DeepCopy() *RadixEnvironment

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

func (*RadixEnvironment) DeepCopyInto added in v1.5.1

func (in *RadixEnvironment) DeepCopyInto(out *RadixEnvironment)

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

func (*RadixEnvironment) DeepCopyObject added in v1.5.1

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

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

type RadixEnvironmentConfig

type RadixEnvironmentConfig struct {
	Environment             string                  `json:"environment" yaml:"environment"`
	RunAsNonRoot            bool                    `json:"runAsNonRoot" yaml:"runAsNonRoot"`
	Replicas                *int                    `json:"replicas" yaml:"replicas"`
	Monitoring              bool                    `json:"monitoring" yaml:"monitoring"`
	Resources               ResourceRequirements    `json:"resources,omitempty" yaml:"resources,omitempty"`
	Variables               EnvVarsMap              `json:"variables" yaml:"variables"`
	HorizontalScaling       *RadixHorizontalScaling `json:"horizontalScaling,omitempty" yaml:"horizontalScaling,omitempty"`
	ImageTagName            string                  `json:"imageTagName" yaml:"imageTagName"`
	AlwaysPullImageOnDeploy *bool                   `json:"alwaysPullImageOnDeploy,omitempty" yaml:"alwaysPullImageOnDeploy,omitempty"`
	VolumeMounts            []RadixVolumeMount      `json:"volumeMounts,omitempty" yaml:"volumeMounts,omitempty"`
	Node                    RadixNode               `json:"node,omitempty" yaml:"node,omitempty"`
	Authentication          *Authentication         `json:"authentication,omitempty" yaml:"authentication,omitempty"`
	SecretRefs              RadixSecretRefs         `json:"secretRefs,omitempty" yaml:"secretRefs,omitempty"`
}

RadixEnvironmentConfig defines environment specific settings for a single component within a RadixApplication

func (*RadixEnvironmentConfig) DeepCopy

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

func (*RadixEnvironmentConfig) DeepCopyInto

func (in *RadixEnvironmentConfig) DeepCopyInto(out *RadixEnvironmentConfig)

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

func (RadixEnvironmentConfig) GetEnvironment added in v1.17.2

func (config RadixEnvironmentConfig) GetEnvironment() string

func (RadixEnvironmentConfig) GetImageTagName added in v1.17.2

func (config RadixEnvironmentConfig) GetImageTagName() string

func (RadixEnvironmentConfig) GetNode added in v1.17.2

func (config RadixEnvironmentConfig) GetNode() RadixNode

func (RadixEnvironmentConfig) GetResources added in v1.17.2

func (config RadixEnvironmentConfig) GetResources() ResourceRequirements

func (RadixEnvironmentConfig) GetSecretRefs added in v1.17.2

func (config RadixEnvironmentConfig) GetSecretRefs() RadixSecretRefs

func (RadixEnvironmentConfig) GetVariables added in v1.17.2

func (config RadixEnvironmentConfig) GetVariables() EnvVarsMap

type RadixEnvironmentList added in v1.5.1

type RadixEnvironmentList struct {
	meta.TypeMeta `json:",inline" yaml:",inline"`
	meta.ListMeta `json:"metadata" yaml:"metadata"`
	Items         []RadixEnvironment `json:"items" yaml:"items"`
}

RadixEnvironmentList is a list of REs

func (*RadixEnvironmentList) DeepCopy added in v1.5.1

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

func (*RadixEnvironmentList) DeepCopyInto added in v1.5.1

func (in *RadixEnvironmentList) DeepCopyInto(out *RadixEnvironmentList)

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

func (*RadixEnvironmentList) DeepCopyObject added in v1.5.1

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

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

type RadixEnvironmentSpec added in v1.5.1

type RadixEnvironmentSpec struct {
	AppName     string       `json:"appName" yaml:"appName"`
	EnvName     string       `json:"envName" yaml:"envName"`
	EgressRules []EgressRule `json:"egressRules,omitempty" yaml:"egressRules,omitempty"`
}

RadixEnvironmentSpec is the spec for an RE

func (*RadixEnvironmentSpec) DeepCopy added in v1.5.1

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

func (*RadixEnvironmentSpec) DeepCopyInto added in v1.5.1

func (in *RadixEnvironmentSpec) DeepCopyInto(out *RadixEnvironmentSpec)

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

type RadixEnvironmentStatus added in v1.5.1

type RadixEnvironmentStatus struct {
	Reconciled meta.Time `json:"reconciled" yaml:"reconciled"`
	Orphaned   bool      `json:"orphaned" yaml:"orphaned"`
}

RadixEnvironmentStatus is the status for an RE

func (*RadixEnvironmentStatus) DeepCopy added in v1.5.1

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

func (*RadixEnvironmentStatus) DeepCopyInto added in v1.5.1

func (in *RadixEnvironmentStatus) DeepCopyInto(out *RadixEnvironmentStatus)

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

type RadixHorizontalScaling added in v1.0.3

type RadixHorizontalScaling struct {
	// +optional
	MinReplicas *int32 `json:"minReplicas,omitempty" yaml:"minReplicas,omitempty"`
	MaxReplicas int32  `json:"maxReplicas" yaml:"maxReplicas"`
}

RadixHorizontalScaling defines configuration for horizontal pod autoscaler. It is kept as close as the HorizontalPodAutoscalerSpec If set, this will override replicas config

func (*RadixHorizontalScaling) DeepCopy added in v1.0.3

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

func (*RadixHorizontalScaling) DeepCopyInto added in v1.0.3

func (in *RadixHorizontalScaling) DeepCopyInto(out *RadixHorizontalScaling)

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

type RadixJob

type RadixJob struct {
	meta_v1.TypeMeta   `json:",inline" yaml:",inline"`
	meta_v1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec               RadixJobSpec   `json:"spec" yaml:"spec"`
	Status             RadixJobStatus `json:"status" yaml:"status"`
}

RadixJob describe a Radix job

func (*RadixJob) DeepCopy

func (in *RadixJob) DeepCopy() *RadixJob

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

func (*RadixJob) DeepCopyInto

func (in *RadixJob) DeepCopyInto(out *RadixJob)

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

func (*RadixJob) DeepCopyObject

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

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

type RadixJobComponent added in v1.8.0

type RadixJobComponent struct {
	Name              string                               `json:"name" yaml:"name"`
	SourceFolder      string                               `json:"src" yaml:"src"`
	Image             string                               `json:"image" yaml:"image"`
	DockerfileName    string                               `json:"dockerfileName" yaml:"dockerfileName"`
	SchedulerPort     *int32                               `json:"schedulerPort,omitempty" yaml:"schedulerPort,omitempty"`
	Payload           *RadixJobComponentPayload            `json:"payload,omitempty" yaml:"payload,omitempty"`
	Ports             []ComponentPort                      `json:"ports" yaml:"ports"`
	Secrets           []string                             `json:"secrets,omitempty" yaml:"secrets,omitempty"`
	SecretRefs        RadixSecretRefs                      `json:"secretRefs,omitempty" yaml:"secretRefs,omitempty"`
	EnvironmentConfig []RadixJobComponentEnvironmentConfig `json:"environmentConfig,omitempty" yaml:"environmentConfig,omitempty"`
	Variables         EnvVarsMap                           `json:"variables" yaml:"variables"`
	Resources         ResourceRequirements                 `json:"resources,omitempty" yaml:"resources,omitempty"`
	Node              RadixNode                            `json:"node,omitempty" yaml:"node,omitempty"`
	TimeLimitSeconds  *int64                               `json:"timeLimitSeconds,omitempty" yaml:"timeLimitSeconds,omitempty"`
}

RadixJobComponent defines a single job component within a RadixApplication The job component is used by the radix-job-scheduler-server to create Kubernetes Job objects

func (*RadixJobComponent) DeepCopy added in v1.8.0

func (in *RadixJobComponent) DeepCopy() *RadixJobComponent

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

func (*RadixJobComponent) DeepCopyInto added in v1.8.0

func (in *RadixJobComponent) DeepCopyInto(out *RadixJobComponent)

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

func (*RadixJobComponent) GetEnvironmentConfig added in v1.17.2

func (component *RadixJobComponent) GetEnvironmentConfig() []RadixCommonEnvironmentConfig

func (*RadixJobComponent) GetName added in v1.10.0

func (component *RadixJobComponent) GetName() string

func (*RadixJobComponent) GetNode added in v1.10.0

func (component *RadixJobComponent) GetNode() *RadixNode

func (*RadixJobComponent) GetResources added in v1.17.2

func (component *RadixJobComponent) GetResources() ResourceRequirements

func (*RadixJobComponent) GetSecretRefs added in v1.17.2

func (component *RadixJobComponent) GetSecretRefs() RadixSecretRefs

func (*RadixJobComponent) GetSecrets added in v1.17.2

func (component *RadixJobComponent) GetSecrets() []string

func (*RadixJobComponent) GetVariables added in v1.17.2

func (component *RadixJobComponent) GetVariables() EnvVarsMap

func (*RadixJobComponent) GetVolumeMountsForEnvironment added in v1.13.0

func (component *RadixJobComponent) GetVolumeMountsForEnvironment(env string) []RadixVolumeMount

type RadixJobComponentEnvironmentConfig added in v1.8.0

type RadixJobComponentEnvironmentConfig struct {
	Environment      string               `json:"environment" yaml:"environment"`
	RunAsNonRoot     bool                 `json:"runAsNonRoot" yaml:"runAsNonRoot"`
	Monitoring       bool                 `json:"monitoring" yaml:"monitoring"`
	Resources        ResourceRequirements `json:"resources,omitempty" yaml:"resources,omitempty"`
	Variables        EnvVarsMap           `json:"variables" yaml:"variables"`
	ImageTagName     string               `json:"imageTagName" yaml:"imageTagName"`
	VolumeMounts     []RadixVolumeMount   `json:"volumeMounts,omitempty" yaml:"volumeMounts,omitempty"`
	Node             RadixNode            `json:"node,omitempty" yaml:"node,omitempty"`
	SecretRefs       RadixSecretRefs      `json:"secretRefs,omitempty" yaml:"secretRefs,omitempty"`
	TimeLimitSeconds *int64               `json:"timeLimitSeconds,omitempty" yaml:"timeLimitSeconds,omitempty"`
}

RadixJobComponentEnvironmentConfig defines environment specific settings for a single job component within a RadixApplication

func (*RadixJobComponentEnvironmentConfig) DeepCopy added in v1.8.0

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

func (*RadixJobComponentEnvironmentConfig) DeepCopyInto added in v1.8.0

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

func (RadixJobComponentEnvironmentConfig) GetEnvironment added in v1.17.2

func (config RadixJobComponentEnvironmentConfig) GetEnvironment() string

func (RadixJobComponentEnvironmentConfig) GetImageTagName added in v1.17.2

func (config RadixJobComponentEnvironmentConfig) GetImageTagName() string

func (RadixJobComponentEnvironmentConfig) GetNode added in v1.17.2

func (RadixJobComponentEnvironmentConfig) GetResources added in v1.17.2

func (RadixJobComponentEnvironmentConfig) GetSecretRefs added in v1.17.2

func (config RadixJobComponentEnvironmentConfig) GetSecretRefs() RadixSecretRefs

func (RadixJobComponentEnvironmentConfig) GetVariables added in v1.17.2

func (config RadixJobComponentEnvironmentConfig) GetVariables() EnvVarsMap

type RadixJobComponentPayload added in v1.8.0

type RadixJobComponentPayload struct {
	Path string `json:"path" yaml:"path"`
}

RadixJobComponentPayload defines the path and where the payload received by radix-job-scheduler-server will be mounted to the job container

func (*RadixJobComponentPayload) DeepCopy added in v1.8.0

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

func (*RadixJobComponentPayload) DeepCopyInto added in v1.8.0

func (in *RadixJobComponentPayload) DeepCopyInto(out *RadixJobComponentPayload)

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

type RadixJobCondition

type RadixJobCondition string

RadixJobCondition Holds the condition of a job

const (
	// JobQueued When another job is running with the same
	// condition app + branch, the job is queued
	JobQueued RadixJobCondition = "Queued"
	// JobQueued When operator hasn't picked up the radix job
	// the API will show the job as waiting. Also when the
	// kubernetes jobs (steps) are in waiting the step will be
	// in JobWaiting
	JobWaiting   RadixJobCondition = "Waiting"
	JobRunning   RadixJobCondition = "Running"
	JobSucceeded RadixJobCondition = "Succeeded"
	JobFailed    RadixJobCondition = "Failed"
	JobStopped   RadixJobCondition = "Stopped"
)

These are valid conditions of a deployment.

type RadixJobList

type RadixJobList struct {
	meta_v1.TypeMeta `json:",inline" yaml:",inline"`
	meta_v1.ListMeta `json:"metadata" yaml:"metadata"`
	Items            []RadixJob `json:"items" yaml:"items"`
}

RadixJobList is a list of Radix jobs

func (*RadixJobList) DeepCopy

func (in *RadixJobList) DeepCopy() *RadixJobList

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

func (*RadixJobList) DeepCopyInto

func (in *RadixJobList) DeepCopyInto(out *RadixJobList)

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

func (*RadixJobList) DeepCopyObject

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

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

type RadixJobSpec

type RadixJobSpec struct {
	AppName        string            `json:"appName" yaml:"appName"`
	CloneURL       string            `json:"cloneURL" yaml:"cloneURL"`
	PipeLineType   RadixPipelineType `json:"pipeLineType" yaml:"pipeLineType"`
	DockerRegistry string            `json:"dockerRegistry" yaml:"dockerRegistry"`
	PipelineImage  string            `json:"pipelineImage" yaml:"pipelineImage"`
	Build          RadixBuildSpec    `json:"build" yaml:"build"`
	Promote        RadixPromoteSpec  `json:"promote" yaml:"promote"`
	Deploy         RadixDeploySpec   `json:"deploy" yaml:"deploy"`
	Stop           bool              `json:"stop" yaml:"stop"`
	TriggeredBy    string            `json:"triggeredBy" yaml:"triggeredBy"`
}

RadixJobSpec is the spec for a job

func (*RadixJobSpec) DeepCopy

func (in *RadixJobSpec) DeepCopy() *RadixJobSpec

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

func (*RadixJobSpec) DeepCopyInto

func (in *RadixJobSpec) DeepCopyInto(out *RadixJobSpec)

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

type RadixJobStatus

type RadixJobStatus struct {
	Condition  RadixJobCondition `json:"condition" yaml:"condition"`
	Created    *meta_v1.Time     `json:"created" yaml:"created"`
	Started    *meta_v1.Time     `json:"started" yaml:"started"`
	Ended      *meta_v1.Time     `json:"ended" yaml:"ended"`
	TargetEnvs []string          `json:"targetEnvironments" yaml:"targetEnvironments"`
	Steps      []RadixJobStep    `json:"steps" yaml:"steps"`
}

RadixJobStatus is the status for a Radix job

func (*RadixJobStatus) DeepCopy

func (in *RadixJobStatus) DeepCopy() *RadixJobStatus

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

func (*RadixJobStatus) DeepCopyInto

func (in *RadixJobStatus) DeepCopyInto(out *RadixJobStatus)

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

type RadixJobStep

type RadixJobStep struct {
	Name       string              `json:"name" yaml:"name"`
	Condition  RadixJobCondition   `json:"condition" yaml:"condition"`
	Started    *meta_v1.Time       `json:"started" yaml:"started"`
	Ended      *meta_v1.Time       `json:"ended" yaml:"ended"`
	PodName    string              `json:"podName" yaml:"podName"`
	Components []string            `json:"components,omitempty" yaml:"components,omitempty"`
	Output     *RadixJobStepOutput `json:"output,omitempty" yaml:"output,omitempty"`
}

RadixJobStep holds status for a single step

func (*RadixJobStep) DeepCopy

func (in *RadixJobStep) DeepCopy() *RadixJobStep

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

func (*RadixJobStep) DeepCopyInto

func (in *RadixJobStep) DeepCopyInto(out *RadixJobStep)

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

type RadixJobStepOutput added in v1.14.0

type RadixJobStepOutput struct {
	Scan *RadixJobStepScanOutput `json:"scan,omitempty" yaml:"scan,omitempty"`
}

RadixJobStepOutput holds information about output from a single step

func (*RadixJobStepOutput) DeepCopy added in v1.14.0

func (in *RadixJobStepOutput) DeepCopy() *RadixJobStepOutput

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

func (*RadixJobStepOutput) DeepCopyInto added in v1.14.0

func (in *RadixJobStepOutput) DeepCopyInto(out *RadixJobStepOutput)

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

type RadixJobStepScanOutput added in v1.14.0

type RadixJobStepScanOutput struct {
	// Status of scan results
	Status ScanStatus `json:"status" yaml:"status"`
	// Reason for the status
	Reason string `json:"reason,omitempty" yaml:"reason,omitempty"`
	// Vulnerabilities is a map of severity level and number of vulnerabilities found
	Vulnerabilities VulnerabilityMap `json:"vulnerabilities,omitempty" yaml:"vulnerabilities,omitempty"`
	// VulnerabilityListConfigMap defines the name of the ConfigMap with list of information about vulnerabilities found during scan
	// the ConfigMap must be in the same namespace as the RadixJob
	VulnerabilityListConfigMap string `json:"vulnerabilityListConfigMap,omitempty" yaml:"vulnerabilityListConfigMap,omitempty"`
	// VulnerabilityListKey defines the key in VulnerabilityListConfigMap where vulnerability details are stored
	VulnerabilityListKey string `json:"vulnerabilityListKey,omitempty" yaml:"vulnerabilityListKey,omitempty"`
}

RadixJobStepScanOutput holds information about output from a single scan step

func (*RadixJobStepScanOutput) DeepCopy added in v1.14.0

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

func (*RadixJobStepScanOutput) DeepCopyInto added in v1.14.0

func (in *RadixJobStepScanOutput) DeepCopyInto(out *RadixJobStepScanOutput)

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

type RadixNode added in v1.10.0

type RadixNode struct {
	// Gpu Optional. Holds lists of node GPU types, with dashed types to exclude
	Gpu string `json:"gpu" yaml:"gpu"`
	// GpuCount Optional. Holds minimum count of GPU on node
	GpuCount string `json:"gpuCount" yaml:"gpuCount"`
}

RadixNode defines node attributes, where container should be scheduled

func (*RadixNode) DeepCopy added in v1.10.0

func (in *RadixNode) DeepCopy() *RadixNode

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

func (*RadixNode) DeepCopyInto added in v1.10.0

func (in *RadixNode) DeepCopyInto(out *RadixNode)

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

type RadixPipelineType

type RadixPipelineType string

RadixPipelineType Holds the different type of pipeline

const (
	Build       RadixPipelineType = "build"
	BuildDeploy RadixPipelineType = "build-deploy"
	Promote     RadixPipelineType = "promote"
	Deploy      RadixPipelineType = "deploy"
)

These are valid conditions of a deployment.

type RadixPrivateImageHubCredential added in v1.0.1

type RadixPrivateImageHubCredential struct {
	Username string `json:"username" yaml:"username"`
	Email    string `json:"email" yaml:"email"`
}

RadixPrivateImageHubCredential defines a private image hub available during deployment time

func (*RadixPrivateImageHubCredential) DeepCopy added in v1.0.1

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

func (*RadixPrivateImageHubCredential) DeepCopyInto added in v1.0.1

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

type RadixPromoteSpec

type RadixPromoteSpec struct {
	DeploymentName  string `json:"deploymentName" yaml:"deploymentName"`
	FromEnvironment string `json:"fromEnvironment" yaml:"fromEnvironment"`
	ToEnvironment   string `json:"toEnvironment" yaml:"toEnvironment"`
}

RadixPromoteSpec is the spec for a promote job

func (*RadixPromoteSpec) DeepCopy

func (in *RadixPromoteSpec) DeepCopy() *RadixPromoteSpec

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

func (*RadixPromoteSpec) DeepCopyInto

func (in *RadixPromoteSpec) DeepCopyInto(out *RadixPromoteSpec)

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

type RadixRegistration

type RadixRegistration struct {
	meta_v1.TypeMeta   `json:",inline" yaml:",inline"`
	meta_v1.ObjectMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Spec               RadixRegistrationSpec   `json:"spec" yaml:"spec"`
	Status             RadixRegistrationStatus `json:"status" yaml:"status"`
}

RadixRegistration describe an application

func (*RadixRegistration) DeepCopy

func (in *RadixRegistration) DeepCopy() *RadixRegistration

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

func (*RadixRegistration) DeepCopyInto

func (in *RadixRegistration) DeepCopyInto(out *RadixRegistration)

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

func (*RadixRegistration) DeepCopyObject

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

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

type RadixRegistrationList

type RadixRegistrationList struct {
	meta_v1.TypeMeta `json:",inline" yaml:",inline"`
	meta_v1.ListMeta `json:"metadata" yaml:"metadata"`
	Items            []RadixRegistration `json:"items" yaml:"items"`
}

RadixRegistrationList is a list of Radix applications

func (*RadixRegistrationList) DeepCopy

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

func (*RadixRegistrationList) DeepCopyInto

func (in *RadixRegistrationList) DeepCopyInto(out *RadixRegistrationList)

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

func (*RadixRegistrationList) DeepCopyObject

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

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

type RadixRegistrationSpec

type RadixRegistrationSpec struct {
	CloneURL        string   `json:"cloneURL" yaml:"cloneURL"`
	SharedSecret    string   `json:"sharedSecret" yaml:"sharedSecret"`
	DeployKey       string   `json:"deployKey" yaml:"deployKey"`
	DeployKeyPublic string   `json:"deployKeyPublic" yaml:"deployKeyPublic"`
	AdGroups        []string `json:"adGroups" yaml:"adGroups"`
	Creator         string   `json:"creator" yaml:"creator"`
	Owner           string   `json:"owner" yaml:"owner"`
	MachineUser     bool     `json:"machineUser" yaml:"machineUser"`
	WBS             string   `json:"wbs" yaml:"wbs"`
	ConfigBranch    string   `json:"configBranch" yaml:"configBranch"`
}

RadixRegistrationSpec is the spec for an application

func (*RadixRegistrationSpec) DeepCopy

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

func (*RadixRegistrationSpec) DeepCopyInto

func (in *RadixRegistrationSpec) DeepCopyInto(out *RadixRegistrationSpec)

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

type RadixRegistrationStatus added in v1.4.1

type RadixRegistrationStatus struct {
	Reconciled meta_v1.Time `json:"reconciled" yaml:"reconciled"`
}

RadixRegistrationStatus is the status for a rr

func (*RadixRegistrationStatus) DeepCopy added in v1.4.1

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

func (*RadixRegistrationStatus) DeepCopyInto added in v1.4.1

func (in *RadixRegistrationStatus) DeepCopyInto(out *RadixRegistrationStatus)

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

type RadixSecretRefType added in v1.17.2

type RadixSecretRefType string

RadixSecretRefType Radix secret-ref of type

const (
	//RadixSecretRefTypeAzureKeyVault Radix secret-ref of type Azure Key vault
	RadixSecretRefTypeAzureKeyVault RadixSecretRefType = "az-keyvault"
)

type RadixSecretRefs added in v1.17.2

type RadixSecretRefs struct {
	// AzureKeyVaults. List of RadixSecretRefs-s, containing Azure Key Vault configurations
	AzureKeyVaults []RadixAzureKeyVault `json:"azureKeyVaults,omitempty" yaml:"azureKeyVaults,omitempty"`
}

RadixSecretRefs defines secret vault

func (*RadixSecretRefs) DeepCopy added in v1.17.2

func (in *RadixSecretRefs) DeepCopy() *RadixSecretRefs

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

func (*RadixSecretRefs) DeepCopyInto added in v1.17.2

func (in *RadixSecretRefs) DeepCopyInto(out *RadixSecretRefs)

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

type RadixVolumeMount added in v1.7.0

type RadixVolumeMount struct {
	Type            MountType `json:"type" yaml:"type"`
	Name            string    `json:"name" yaml:"name"`
	Container       string    `json:"container" yaml:"container"`             //Outdated. Use Storage instead
	Storage         string    `json:"storage" yaml:"storage"`                 //Container name, file Share name, etc.
	Path            string    `json:"path" yaml:"path"`                       //Path within the pod (replica), where the volume mount has been mounted to
	GID             string    `json:"gid" yaml:"gid"`                         //Optional. Volume mount owner GroupID. Used when drivers do not honor fsGroup securityContext setting. https://github.com/kubernetes-sigs/blob-csi-driver/blob/master/docs/driver-parameters.md
	UID             string    `json:"uid" yaml:"uid"`                         //Optional. Volume mount owner UserID. Used instead of GID.
	SkuName         string    `json:"skuName" yaml:"skuName"`                 //Available values: Standard_LRS (default), Premium_LRS, Standard_GRS, Standard_RAGRS. https://docs.microsoft.com/en-us/rest/api/storagerp/srp_sku_types
	RequestsStorage string    `json:"requestsStorage" yaml:"requestsStorage"` //Requests resource storage size. Default "1Mi". https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/#create-a-persistentvolumeclaim
	AccessMode      string    `json:"accessMode" yaml:"accessMode"`           //Available values: ReadOnlyMany (default) - read-only by many nodes, ReadWriteOnce - read-write by a single node, ReadWriteMany - read-write by many nodes. https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes
	BindingMode     string    `json:"bindingMode" yaml:"bindingMode"`         //Volume binding mode. Available values: Immediate (default), WaitForFirstConsumer. https://kubernetes.io/docs/concepts/storage/storage-classes/#volume-binding-mode
}

RadixVolumeMount defines volume to be mounted to the container

func (*RadixVolumeMount) DeepCopy added in v1.7.0

func (in *RadixVolumeMount) DeepCopy() *RadixVolumeMount

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

func (*RadixVolumeMount) DeepCopyInto added in v1.7.0

func (in *RadixVolumeMount) DeepCopyInto(out *RadixVolumeMount)

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

type Receiver added in v1.16.0

type Receiver struct {
	SlackConfig SlackConfig `json:"slackConfig" yaml:"slackConfig"`
}

func (*Receiver) DeepCopy added in v1.16.0

func (in *Receiver) DeepCopy() *Receiver

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

func (*Receiver) DeepCopyInto added in v1.16.0

func (in *Receiver) DeepCopyInto(out *Receiver)

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

func (*Receiver) IsEnabled added in v1.16.0

func (receiver *Receiver) IsEnabled() bool

type ReceiverMap added in v1.16.0

type ReceiverMap map[string]Receiver

func (ReceiverMap) DeepCopy added in v1.16.0

func (in ReceiverMap) DeepCopy() ReceiverMap

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

func (ReceiverMap) DeepCopyInto added in v1.16.0

func (in ReceiverMap) DeepCopyInto(out *ReceiverMap)

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

type ResourceList

type ResourceList map[string]string

ResourceList Placeholder for resouce specifications in the config

func (ResourceList) DeepCopy

func (in ResourceList) DeepCopy() ResourceList

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

func (ResourceList) DeepCopyInto

func (in ResourceList) DeepCopyInto(out *ResourceList)

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

type ResourceRequirements

type ResourceRequirements struct {
	// Limits describes the maximum amount of compute resources allowed.
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
	// +optional
	Limits ResourceList `json:"limits,omitempty" yaml:"limits,omitempty"`
	// Requests describes the minimum amount of compute resources required.
	// If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
	// otherwise to an implementation-defined value.
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
	// +optional
	Requests ResourceList `json:"requests,omitempty" yaml:"requests,omitempty"`
}

ResourceRequirements describes the compute resource requirements.

func (*ResourceRequirements) DeepCopy

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

func (*ResourceRequirements) DeepCopyInto

func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements)

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

type ScanStatus added in v1.14.0

type ScanStatus string

ScanStatus defines the statuys of the vulnerability scanning

const (
	ScanSuccess ScanStatus = "Success" // Scan completed successfully
	ScanMissing ScanStatus = "Missing" // Scan results are missing
)

type SecretsMap

type SecretsMap map[string]string

SecretsMap is a map of secrets (weird)

func (SecretsMap) DeepCopy

func (in SecretsMap) DeepCopy() SecretsMap

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

func (SecretsMap) DeepCopyInto

func (in SecretsMap) DeepCopyInto(out *SecretsMap)

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

type SessionStoreType added in v1.18.0

type SessionStoreType string

SessionStoreType type of session store

const (
	// SessionStoreCookie use cookies for session store
	SessionStoreCookie SessionStoreType = "cookie"
	// SessionStoreRedis use redis for session store
	SessionStoreRedis SessionStoreType = "redis"
)

type SlackConfig added in v1.16.0

type SlackConfig struct {
	Enabled bool `json:"enabled" yaml:"enabled"`
}

func (*SlackConfig) DeepCopy added in v1.16.0

func (in *SlackConfig) DeepCopy() *SlackConfig

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

func (*SlackConfig) DeepCopyInto added in v1.16.0

func (in *SlackConfig) DeepCopyInto(out *SlackConfig)

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

type VerificationType added in v1.11.4

type VerificationType string

VerificationType Certificate verification type

const (
	//VerificationTypeOff Certificate verification is off
	VerificationTypeOff VerificationType = "off"
	//VerificationTypeOn Certificate verification is on
	VerificationTypeOn VerificationType = "on"
	//VerificationTypeOptional Certificate verification is optional
	VerificationTypeOptional VerificationType = "optional"
	//VerificationTypeOptionalNoCa Certificate verification is optional no certificate authority
	VerificationTypeOptionalNoCa VerificationType = "optional_no_ca"
)

type VulnerabilityMap added in v1.14.0

type VulnerabilityMap map[string]uint

func (VulnerabilityMap) DeepCopy added in v1.14.0

func (in VulnerabilityMap) DeepCopy() VulnerabilityMap

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

func (VulnerabilityMap) DeepCopyInto added in v1.14.0

func (in VulnerabilityMap) DeepCopyInto(out *VulnerabilityMap)

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