v1

package
v1.5.17 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: MIT Imports: 7 Imported by: 40

Documentation

Index

Constants

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 Resource

func Resource(resource string) schema.GroupResource

Resource does things to resource

Types

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 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 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 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"`
}

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 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 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"`
	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 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 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"`
	// Deprecated: For backwards comptibility Public is still supported, new code should use PublicPort instead
	Public                  bool                     `json:"public" yaml:"public"`
	PublicPort              string                   `json:"publicPort,omitempty" yaml:"publicPort,omitempty"`
	Secrets                 []string                 `json:"secrets,omitempty" yaml:"secrets,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"`
}

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.

type RadixDeployComponent

type RadixDeployComponent struct {
	Name     string          `json:"name" yaml:"name"`
	Image    string          `json:"image" yaml:"image"`
	Ports    []ComponentPort `json:"ports" yaml:"ports"`
	Replicas *int            `json:"replicas" yaml:"replicas"`
	// Deprecated: For backwards compatibility Public is still supported, new code should use PublicPort instead
	Public                  bool                    `json:"public" yaml:"public"`
	PublicPort              string                  `json:"publicPort,omitempty" yaml:"publicPort,omitempty"`
	EnvironmentVariables    EnvVarsMap              `json:"environmentVariables,omitempty" yaml:"environmentVariables,omitempty"`
	Secrets                 []string                `json:"secrets,omitempty" yaml:"secrets,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"`
}

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) GetResourceRequirements added in v1.5.14

func (deployComponent RadixDeployComponent) GetResourceRequirements() *core_v1.ResourceRequirements

GetResourceRequirements maps to core_v1.ResourceRequirements

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

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"`
	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"`
	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"`
}

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.

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"`
}

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 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"`
}

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 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"`
}

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

Jump to

Keyboard shortcuts

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