Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=lattice.mlab.com
Index ¶
- Constants
- Variables
- func GroupVersionResource(resource string) schema.GroupVersionResource
- func KubeContainerForContainer(container definitionv1.Container, containerName string, ...) (corev1.Container, error)
- func PodTemplateSpecForV1Workload(workload definitionv1.Workload, path tree.Path, latticeID v1.LatticeID, ...) (*corev1.PodTemplateSpec, error)
- func Resource(resource string) schema.GroupResource
- type Address
- func (in *Address) DeepCopy() *Address
- func (in *Address) DeepCopyInto(out *Address)
- func (in *Address) DeepCopyObject() runtime.Object
- func (a *Address) Description(namespacePrefix string) string
- func (a *Address) Failed() bool
- func (a *Address) PathLabel() (tree.Path, error)
- func (a *Address) Reason() string
- func (a *Address) Stable() bool
- func (a *Address) UpdateProcessed() bool
- type AddressList
- type AddressSpec
- type AddressState
- type AddressStatus
- type AddressStatusFailureInfo
- type Build
- type BuildList
- type BuildSpec
- type BuildState
- type BuildStatus
- type BuildStatusWorkload
- type ComponentBuildState
- type Config
- type ConfigCloudProvider
- type ConfigCloudProviderAWS
- type ConfigCloudProviderLocal
- type ConfigComponentBuildBuilder
- type ConfigComponentBuildDockerArtifact
- type ConfigContainerBuild
- type ConfigList
- type ConfigServiceMesh
- type ConfigServiceMeshEnvoy
- type ConfigSpec
- type ContainerBuild
- func (in *ContainerBuild) DeepCopy() *ContainerBuild
- func (in *ContainerBuild) DeepCopyInto(out *ContainerBuild)
- func (in *ContainerBuild) DeepCopyObject() runtime.Object
- func (b *ContainerBuild) DefinitionHashLabel() (string, bool)
- func (b *ContainerBuild) Description(namespacePrefix string) string
- func (b *ContainerBuild) FailureInfoAnnotation() (*v1.ContainerBuildFailureInfo, error)
- func (b *ContainerBuild) LastObservedPhaseAnnotation() (v1.ContainerBuildPhase, bool)
- type ContainerBuildArtifacts
- type ContainerBuildList
- type ContainerBuildSpec
- type ContainerBuildStatus
- type Deploy
- type DeployList
- type DeploySpec
- type DeployState
- type DeployStatus
- type GitTemplate
- type GitTemplateList
- type GitTemplateSpec
- type Job
- func (in *Job) DeepCopy() *Job
- func (in *Job) DeepCopyInto(out *Job)
- func (in *Job) DeepCopyObject() runtime.Object
- func (s *Job) Deleted() bool
- func (s *Job) Description(namespacePrefix string) string
- func (s *Job) NodePoolAnnotation() (NodePoolAnnotationValue, error)
- func (s *Job) PathLabel() (tree.Path, error)
- type JobList
- type JobRun
- func (in *JobRun) DeepCopy() *JobRun
- func (in *JobRun) DeepCopyInto(out *JobRun)
- func (in *JobRun) DeepCopyObject() runtime.Object
- func (s *JobRun) Deleted() bool
- func (s *JobRun) Description(namespacePrefix string) string
- func (s *JobRun) NodePoolAnnotation() (NodePoolAnnotationValue, error)
- func (s *JobRun) PathLabel() (tree.Path, error)
- type JobRunList
- type JobRunSpec
- type JobRunState
- type JobRunStatus
- type JobSpec
- type NodePool
- func (np *NodePool) Affinity(epoch NodePoolEpoch) *corev1.NodeAffinity
- func (in *NodePool) DeepCopy() *NodePool
- func (in *NodePool) DeepCopyInto(out *NodePool)
- func (in *NodePool) DeepCopyObject() runtime.Object
- func (np *NodePool) Description(namespacePrefix string) string
- func (np *NodePool) Failed() bool
- func (np *NodePool) ID(epoch NodePoolEpoch) string
- func (np *NodePool) Reason() string
- func (np *NodePool) ServiceDedicatedIDLabel() (string, bool)
- func (np *NodePool) Stable() bool
- func (np *NodePool) SystemSharedPathLabel() (tree.PathSubcomponent, bool, error)
- func (np *NodePool) Toleration(epoch NodePoolEpoch) corev1.Toleration
- func (np *NodePool) TypeDescription() string
- func (np *NodePool) UpdateProcessed() bool
- type NodePoolAnnotationValue
- func (a NodePoolAnnotationValue) Add(namespace, nodePool string, epoch NodePoolEpoch)
- func (a NodePoolAnnotationValue) ContainsEpoch(namespace, nodePool string, epoch NodePoolEpoch) bool
- func (a NodePoolAnnotationValue) ContainsLargerEpoch(namespace, nodePool string, epoch NodePoolEpoch) bool
- func (a NodePoolAnnotationValue) ContainsNodePool(namespace, nodePool string) bool
- func (a NodePoolAnnotationValue) Epochs(namespace, nodePool string) ([]NodePoolEpoch, bool)
- func (a NodePoolAnnotationValue) IsEmpty() bool
- func (a NodePoolAnnotationValue) NodePools(namespace string) (map[string][]NodePoolEpoch, bool)
- type NodePoolAnnotationValueNamespace
- type NodePoolEpoch
- type NodePoolList
- type NodePoolSpec
- type NodePoolState
- type NodePoolStatus
- type NodePoolStatusEpoch
- type NodePoolStatusEpochStatus
- type NodePoolStatusEpochs
- func (e NodePoolStatusEpochs) CurrentEpoch() (NodePoolEpoch, bool)
- func (in NodePoolStatusEpochs) DeepCopy() NodePoolStatusEpochs
- func (in NodePoolStatusEpochs) DeepCopyInto(out *NodePoolStatusEpochs)
- func (e NodePoolStatusEpochs) Epoch(epoch NodePoolEpoch) (*NodePoolStatusEpoch, bool)
- func (e NodePoolStatusEpochs) Epochs() []NodePoolEpoch
- func (e NodePoolStatusEpochs) NextEpoch() NodePoolEpoch
- type NodePoolStatusFailureInfo
- type NodePoolType
- type Service
- func (in *Service) DeepCopy() *Service
- func (in *Service) DeepCopyInto(out *Service)
- func (in *Service) DeepCopyObject() runtime.Object
- func (s *Service) Deleted() bool
- func (s *Service) DeploymentSpecHashAnnotation() (string, bool)
- func (s *Service) Description(namespacePrefix string) string
- func (s *Service) NeedsAddressLoadBalancer() bool
- func (s *Service) NodePoolAnnotation() (NodePoolAnnotationValue, error)
- func (s *Service) PathLabel() (tree.Path, error)
- func (s *Service) Stable() bool
- func (s *Service) UpdateProcessed() bool
- type ServiceList
- type ServiceSpec
- type ServiceState
- type ServiceStatus
- type ServiceStatusFailureInfo
- type System
- func (in *System) DeepCopy() *System
- func (in *System) DeepCopyInto(out *System)
- func (in *System) DeepCopyObject() runtime.Object
- func (s *System) DefinitionVersionLabel() (v1.Version, bool)
- func (s *System) Description() string
- func (s *System) ResourceNamespace(namespacePrefix string) string
- func (s *System) Stable() bool
- func (s *System) UpdateProcessed() bool
- func (s *System) V1ID() v1.SystemID
- type SystemList
- type SystemSpec
- type SystemSpecWorkloadBuildArtifacts
- func (a *SystemSpecWorkloadBuildArtifacts) Get(p tree.Path) (WorkloadContainerBuildArtifacts, bool)
- func (a *SystemSpecWorkloadBuildArtifacts) Insert(p tree.Path, w WorkloadContainerBuildArtifacts) (WorkloadContainerBuildArtifacts, bool)
- func (a *SystemSpecWorkloadBuildArtifacts) MarshalJSON() ([]byte, error)
- func (a *SystemSpecWorkloadBuildArtifacts) ReplacePrefix(p tree.Path, other *SystemSpecWorkloadBuildArtifacts)
- func (a *SystemSpecWorkloadBuildArtifacts) UnmarshalJSON(data []byte) error
- type SystemState
- type SystemStatus
- type SystemStatusNodePool
- type SystemStatusService
- type Teardown
- type TeardownList
- type TeardownSpec
- type TeardownState
- type TeardownStatus
- type Template
- type TemplateList
- type TemplateSpec
- type WorkloadContainerBuildArtifacts
Constants ¶
const GroupName = "lattice.mlab.com"
Variables ¶
var ( AddressKind = SchemeGroupVersion.WithKind("Address") AddressListKind = SchemeGroupVersion.WithKind("AddressList") AddressPathLabelKey = fmt.Sprintf("address.%v/path", GroupName) )
var ( BuildKind = SchemeGroupVersion.WithKind("Build") BuildListKind = SchemeGroupVersion.WithKind("BuildList") BuildDefinitionVersionLabelKey = fmt.Sprintf("build.%v/definition-version", GroupName) )
var ( ConfigKind = SchemeGroupVersion.WithKind("Config") ConfigListKind = SchemeGroupVersion.WithKind("ConfigList") )
var ( ContainerBuildKind = SchemeGroupVersion.WithKind("ContainerBuild") ContainerBuildListKind = SchemeGroupVersion.WithKind("ContainerBuildList") ContainerBuildIDLabelKey = fmt.Sprintf("containerbuild.%v/id", GroupName) ContainerBuildDefinitionHashLabelKey = fmt.Sprintf("containerbuild.%v/definition-hash", GroupName) ContainerBuildJobDockerImageFQNAnnotationKey = fmt.Sprintf("containerbuild.%v/docker-image-fqn", GroupName) ContainerBuildFailureInfoAnnotationKey = fmt.Sprintf("containerbuild.%v/failure-info", GroupName) ContainerBuildLastObservedPhaseAnnotationKey = fmt.Sprintf("containerbuild.%v/last-observed-phase", GroupName) )
var ( DeployKind = SchemeGroupVersion.WithKind("Deploy") DeployListKind = SchemeGroupVersion.WithKind("DeployList") )
var ( GitTemplateKind = SchemeGroupVersion.WithKind("GitTemplate") GitTemplateListKind = SchemeGroupVersion.WithKind("GitTemplateList") GitTemplateRepoURLLabelKey = fmt.Sprintf("gittemplate.%v/repo-url", GroupName) GitTemplateCommitLabelKey = fmt.Sprintf("gittemplate.%v/commit", GroupName) GitTemplateFileLabelKey = fmt.Sprintf("gittemplate.%v/file", GroupName) )
var ( JobKind = SchemeGroupVersion.WithKind("Job") JobListKind = SchemeGroupVersion.WithKind("JobList") // JobID label is the key that should be used in a label referencing a job's ID. JobIDLabelKey = fmt.Sprintf("job.%v/id", GroupName) // JobID label is the key that should be used for the path of the job. JobPathLabelKey = fmt.Sprintf("job.%v/path", GroupName) )
var ( JobRunKind = SchemeGroupVersion.WithKind("JobRun") JobRunListKind = SchemeGroupVersion.WithKind("JobRunList") // JobRunID label is the key that should be used in a label referencing a jobRun's ID. JobRunIDLabelKey = fmt.Sprintf("jobrun.%v/id", GroupName) // JobRunID label is the key that should be used for the path of the jobRun. JobRunPathLabelKey = fmt.Sprintf("jobrun.%v/path", GroupName) )
var ( NodePoolKind = SchemeGroupVersion.WithKind("NodePool") NodePoolListKind = SchemeGroupVersion.WithKind("NodePoolList") NodePoolIDLabelKey = fmt.Sprintf("node-pool.%v/id", GroupName) // NodePoolServiceDedicatedID is the key for a label indicating that the node pool is dedicated for a service. // The label's value should be the ID of the service. // TODO: should we just use ServiceIDLabelKey here instead? if so what do we use for shared/lattice node pools NodePoolServiceDedicatedIDLabelKey = fmt.Sprintf("service.dedicated.node-pool.%v/id", GroupName) // NodePoolSystemSharedPathLabelKey is the key for a label indicating that the node pool is shared for a system. // The label's value should be the node pool's path in the system definition. // NodePoolWorkloadAnnotationKey is the key that should be used in an annotation by // workloads that run on a node pool. NodePoolWorkloadAnnotationKey = fmt.Sprintf("workload.%v/node-pools", GroupName) AllNodePoolsSelector = corev1.NodeSelector{ NodeSelectorTerms: []corev1.NodeSelectorTerm{ { MatchExpressions: []corev1.NodeSelectorRequirement{ { Key: NodePoolIDLabelKey, Operator: corev1.NodeSelectorOpExists, }, }, }, }, } AllNodePoolAffinity = corev1.NodeAffinity{ RequiredDuringSchedulingIgnoredDuringExecution: &AllNodePoolsSelector, } AllNodePoolToleration = corev1.Toleration{ Key: NodePoolIDLabelKey, Operator: corev1.TolerationOpExists, Effect: corev1.TaintEffectNoSchedule, } )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"} Resources = []struct { Type runtime.Object ListType runtime.Object }{ { Type: &Address{}, ListType: &AddressList{}, }, { Type: &Build{}, ListType: &BuildList{}, }, { Type: &ContainerBuild{}, ListType: &ContainerBuildList{}, }, { Type: &Config{}, ListType: &ConfigList{}, }, { Type: &Deploy{}, ListType: &DeployList{}, }, { Type: &GitTemplate{}, ListType: &GitTemplateList{}, }, { Type: &Job{}, ListType: &JobList{}, }, { Type: &JobRun{}, ListType: &JobRunList{}, }, { Type: &NodePool{}, ListType: &NodePoolList{}, }, { Type: &Service{}, ListType: &ServiceList{}, }, { Type: &System{}, ListType: &SystemList{}, }, { Type: &Teardown{}, ListType: &TeardownList{}, }, { Type: &Template{}, ListType: &TemplateList{}, }, } )
var ( ServiceKind = SchemeGroupVersion.WithKind("Service") ServiceListKind = SchemeGroupVersion.WithKind("ServiceList") // ServiceID label is the key that should be used in a label referencing a service's ID. ServiceIDLabelKey = fmt.Sprintf("service.%v/id", GroupName) // ServiceID label is the key that should be used for the path of the service. ServicePathLabelKey = fmt.Sprintf("service.%v/path", GroupName) ServiceDeploymentSpecHashAnnotationKey = fmt.Sprintf("service.%v/deployment-spec-hash", GroupName) )
var ( SystemKind = SchemeGroupVersion.WithKind("System") SystemListKind = SchemeGroupVersion.WithKind("SystemList") SystemDefinitionVersionLabelKey = fmt.Sprintf("system.%v/definition-version", GroupName) )
var ( TeardownKind = SchemeGroupVersion.WithKind("Teardown") TeardownListKind = SchemeGroupVersion.WithKind("TeardownList") )
var ( TemplateKind = SchemeGroupVersion.WithKind("Template") TemplateListKind = SchemeGroupVersion.WithKind("TemplateList") )
var ( // SecretPath label is the key that should be used for the path of the secret. SecretPathLabelKey = fmt.Sprintf("secret.%v/path", GroupName) )
Functions ¶
func GroupVersionResource ¶
func GroupVersionResource(resource string) schema.GroupVersionResource
func KubeContainerForContainer ¶
func KubeContainerForContainer( container definitionv1.Container, containerName string, buildArtifacts ContainerBuildArtifacts, componentPath tree.Path, ) (corev1.Container, error)
func PodTemplateSpecForV1Workload ¶
func PodTemplateSpecForV1Workload( workload definitionv1.Workload, path tree.Path, latticeID v1.LatticeID, internalDNSDomain string, namespacePrefix, namespace, name string, labels map[string]string, buildArtifacts WorkloadContainerBuildArtifacts, restartPolicy corev1.RestartPolicy, affinity *corev1.Affinity, tolerations []corev1.Toleration, ) (*corev1.PodTemplateSpec, error)
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
Types ¶
type Address ¶
type Address struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec AddressSpec `json:"spec"` Status AddressStatus `json:"status"` }
func (*Address) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Address.
func (*Address) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Address) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Address) Description ¶
func (*Address) UpdateProcessed ¶
type AddressList ¶
type AddressList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Address `json:"items"` }
func (*AddressList) DeepCopy ¶
func (in *AddressList) DeepCopy() *AddressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressList.
func (*AddressList) DeepCopyInto ¶
func (in *AddressList) DeepCopyInto(out *AddressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddressList) DeepCopyObject ¶
func (in *AddressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AddressSpec ¶
type AddressSpec struct { Service *tree.Path `json:"service,omitempty"` ExternalName *string `json:"externalName,omitempty"` }
func (*AddressSpec) DeepCopy ¶
func (in *AddressSpec) DeepCopy() *AddressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressSpec.
func (*AddressSpec) DeepCopyInto ¶
func (in *AddressSpec) DeepCopyInto(out *AddressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddressState ¶
type AddressState string
const ( AddressStatePending AddressState = "" AddressStateUpdating AddressState = "updating" AddressStateStable AddressState = "stable" AddressStateFailed AddressState = "failed" AddressStateDeleting AddressState = "deleting" )
type AddressStatus ¶
type AddressStatus struct { ObservedGeneration int64 `json:"observedGeneration"` State AddressState `json:"state"` Message *string `json:"message"` FailureInfo *AddressStatusFailureInfo `json:"failureInfo"` // Ports maps ports to their publicly accessible address Ports map[int32]string `json:"ports"` }
func (*AddressStatus) DeepCopy ¶
func (in *AddressStatus) DeepCopy() *AddressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressStatus.
func (*AddressStatus) DeepCopyInto ¶
func (in *AddressStatus) DeepCopyInto(out *AddressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddressStatusFailureInfo ¶
type AddressStatusFailureInfo struct { Message string `json:"message"` Time metav1.Time `json:"time"` }
func (*AddressStatusFailureInfo) DeepCopy ¶
func (in *AddressStatusFailureInfo) DeepCopy() *AddressStatusFailureInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressStatusFailureInfo.
func (*AddressStatusFailureInfo) DeepCopyInto ¶
func (in *AddressStatusFailureInfo) DeepCopyInto(out *AddressStatusFailureInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Build ¶
type Build struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec BuildSpec `json:"spec"` Status BuildStatus `json:"status,omitempty"` }
func (*Build) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Build.
func (*Build) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Build) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Build) Description ¶
type BuildList ¶
type BuildList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Build `json:"items"` }
func (*BuildList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildList.
func (*BuildList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuildList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BuildSpec ¶
func (*BuildSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*BuildSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildState ¶
type BuildState string
const ( BuildStatePending BuildState = "" BuildStateAccepted BuildState = "accepted" BuildStateRunning BuildState = "running" BuildStateSucceeded BuildState = "succeeded" BuildStateFailed BuildState = "failed" )
type BuildStatus ¶
type BuildStatus struct { State BuildState `json:"state"` Message string `json:"message"` InternalError *string `json:"internalError,omitempty"` Definition *resolver.ResolutionTree `json:"definition,omitempty"` Path *tree.Path `json:"path,omitempty"` Version *v1.Version `json:"version,omitempty"` StartTimestamp *metav1.Time `json:"startTimestamp,omitempty"` CompletionTimestamp *metav1.Time `json:"completionTimestamp,omitempty"` // Maps a workload path to the information about its container builds Workloads map[tree.Path]BuildStatusWorkload `json:"workloads"` // Maps a container build's ID to its status ContainerBuildStatuses map[v1.ContainerBuildID]ContainerBuildStatus `json:"containerBuildStatuses"` }
+k8s:deepcopy-gen=false
func (*BuildStatus) DeepCopy ¶
func (in *BuildStatus) DeepCopy() *BuildStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*BuildStatus) DeepCopyInto ¶
func (in *BuildStatus) DeepCopyInto(out *BuildStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuildStatusWorkload ¶
type BuildStatusWorkload struct { MainContainer v1.ContainerBuildID `json:"mainContainer"` Sidecars map[string]v1.ContainerBuildID `json:"sidecars"` }
func (*BuildStatusWorkload) DeepCopy ¶
func (in *BuildStatusWorkload) DeepCopy() *BuildStatusWorkload
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStatusWorkload.
func (*BuildStatusWorkload) DeepCopyInto ¶
func (in *BuildStatusWorkload) DeepCopyInto(out *BuildStatusWorkload)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentBuildState ¶
type ComponentBuildState string
const ( ContainerBuildStatePending ComponentBuildState = "" ContainerBuildStateQueued ComponentBuildState = "queued" ContainerBuildStateRunning ComponentBuildState = "running" ContainerBuildStateSucceeded ComponentBuildState = "succeeded" ContainerBuildStateFailed ComponentBuildState = "failed" )
type Config ¶
type Config struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ConfigSpec `json:"spec"` }
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Config) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigCloudProvider ¶
type ConfigCloudProvider struct { Local *ConfigCloudProviderLocal `json:"local,omitempty"` AWS *ConfigCloudProviderAWS `json:"aws,omitempty"` }
func (*ConfigCloudProvider) DeepCopy ¶
func (in *ConfigCloudProvider) DeepCopy() *ConfigCloudProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigCloudProvider.
func (*ConfigCloudProvider) DeepCopyInto ¶
func (in *ConfigCloudProvider) DeepCopyInto(out *ConfigCloudProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigCloudProviderAWS ¶
type ConfigCloudProviderAWS struct { WorkerNodeAMIID string `json:"workerNodeAmiId"` KeyName string `json:"keyName"` }
func (*ConfigCloudProviderAWS) DeepCopy ¶
func (in *ConfigCloudProviderAWS) DeepCopy() *ConfigCloudProviderAWS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigCloudProviderAWS.
func (*ConfigCloudProviderAWS) DeepCopyInto ¶
func (in *ConfigCloudProviderAWS) DeepCopyInto(out *ConfigCloudProviderAWS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigCloudProviderLocal ¶
type ConfigCloudProviderLocal struct { }
func (*ConfigCloudProviderLocal) DeepCopy ¶
func (in *ConfigCloudProviderLocal) DeepCopy() *ConfigCloudProviderLocal
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigCloudProviderLocal.
func (*ConfigCloudProviderLocal) DeepCopyInto ¶
func (in *ConfigCloudProviderLocal) DeepCopyInto(out *ConfigCloudProviderLocal)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigComponentBuildBuilder ¶
type ConfigComponentBuildBuilder struct { Image string `json:"image"` // Version of the docker API used by the build node docker daemons DockerAPIVersion string `json:"dockerApiVersion"` }
func (*ConfigComponentBuildBuilder) DeepCopy ¶
func (in *ConfigComponentBuildBuilder) DeepCopy() *ConfigComponentBuildBuilder
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigComponentBuildBuilder.
func (*ConfigComponentBuildBuilder) DeepCopyInto ¶
func (in *ConfigComponentBuildBuilder) DeepCopyInto(out *ConfigComponentBuildBuilder)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigComponentBuildDockerArtifact ¶
type ConfigComponentBuildDockerArtifact struct { // Registry used to tag images. Registry string `json:"registry"` // If auth is required, specify the auth type RegistryAuthType *string `json:"registryAuthType"` // If true, make a new repository for the image. // If false, use Repository as the repository for the image and give it // a unique tag. RepositoryPerImage bool `json:"repositoryPerImage"` Repository string `json:"repository"` // If true push the image to the repository. // Set to false for the local case. Push bool `json:"push"` }
func (*ConfigComponentBuildDockerArtifact) DeepCopy ¶
func (in *ConfigComponentBuildDockerArtifact) DeepCopy() *ConfigComponentBuildDockerArtifact
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigComponentBuildDockerArtifact.
func (*ConfigComponentBuildDockerArtifact) DeepCopyInto ¶
func (in *ConfigComponentBuildDockerArtifact) DeepCopyInto(out *ConfigComponentBuildDockerArtifact)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigContainerBuild ¶
type ConfigContainerBuild struct { Builder ConfigComponentBuildBuilder `json:"builderConfig"` DockerArtifact ConfigComponentBuildDockerArtifact `json:"dockerConfig"` }
func (*ConfigContainerBuild) DeepCopy ¶
func (in *ConfigContainerBuild) DeepCopy() *ConfigContainerBuild
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigContainerBuild.
func (*ConfigContainerBuild) DeepCopyInto ¶
func (in *ConfigContainerBuild) DeepCopyInto(out *ConfigContainerBuild)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigList ¶
type ConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Config `json:"items"` }
func (*ConfigList) DeepCopy ¶
func (in *ConfigList) DeepCopy() *ConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigList.
func (*ConfigList) DeepCopyInto ¶
func (in *ConfigList) DeepCopyInto(out *ConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigList) DeepCopyObject ¶
func (in *ConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigServiceMesh ¶
type ConfigServiceMesh struct {
Envoy *ConfigServiceMeshEnvoy `json:"envoy"`
}
func (*ConfigServiceMesh) DeepCopy ¶
func (in *ConfigServiceMesh) DeepCopy() *ConfigServiceMesh
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigServiceMesh.
func (*ConfigServiceMesh) DeepCopyInto ¶
func (in *ConfigServiceMesh) DeepCopyInto(out *ConfigServiceMesh)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigServiceMeshEnvoy ¶
type ConfigServiceMeshEnvoy struct { PrepareImage string `json:"prepareImage"` Image string `json:"image"` XDSAPIImage string `json:"xdsApiImage"` }
func (*ConfigServiceMeshEnvoy) DeepCopy ¶
func (in *ConfigServiceMeshEnvoy) DeepCopy() *ConfigServiceMeshEnvoy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigServiceMeshEnvoy.
func (*ConfigServiceMeshEnvoy) DeepCopyInto ¶
func (in *ConfigServiceMeshEnvoy) DeepCopyInto(out *ConfigServiceMeshEnvoy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigSpec ¶
type ConfigSpec struct { CloudProvider ConfigCloudProvider `json:"cloudProvider"` ContainerBuild ConfigContainerBuild `json:"containerBuild"` ServiceMesh ConfigServiceMesh `json:"serviceMesh"` }
func (*ConfigSpec) DeepCopy ¶
func (in *ConfigSpec) DeepCopy() *ConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
func (*ConfigSpec) DeepCopyInto ¶
func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerBuild ¶
type ContainerBuild struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ContainerBuildSpec `json:"spec"` Status ContainerBuildStatus `json:"status"` }
func (*ContainerBuild) DeepCopy ¶
func (in *ContainerBuild) DeepCopy() *ContainerBuild
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerBuild.
func (*ContainerBuild) DeepCopyInto ¶
func (in *ContainerBuild) DeepCopyInto(out *ContainerBuild)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerBuild) DeepCopyObject ¶
func (in *ContainerBuild) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ContainerBuild) DefinitionHashLabel ¶
func (b *ContainerBuild) DefinitionHashLabel() (string, bool)
func (*ContainerBuild) Description ¶
func (b *ContainerBuild) Description(namespacePrefix string) string
func (*ContainerBuild) FailureInfoAnnotation ¶
func (b *ContainerBuild) FailureInfoAnnotation() (*v1.ContainerBuildFailureInfo, error)
func (*ContainerBuild) LastObservedPhaseAnnotation ¶
func (b *ContainerBuild) LastObservedPhaseAnnotation() (v1.ContainerBuildPhase, bool)
type ContainerBuildArtifacts ¶
type ContainerBuildArtifacts struct {
DockerImageFQN string `json:"dockerImageFqn"`
}
func (*ContainerBuildArtifacts) DeepCopy ¶
func (in *ContainerBuildArtifacts) DeepCopy() *ContainerBuildArtifacts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerBuildArtifacts.
func (*ContainerBuildArtifacts) DeepCopyInto ¶
func (in *ContainerBuildArtifacts) DeepCopyInto(out *ContainerBuildArtifacts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerBuildList ¶
type ContainerBuildList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ContainerBuild `json:"items"` }
func (*ContainerBuildList) DeepCopy ¶
func (in *ContainerBuildList) DeepCopy() *ContainerBuildList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerBuildList.
func (*ContainerBuildList) DeepCopyInto ¶
func (in *ContainerBuildList) DeepCopyInto(out *ContainerBuildList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerBuildList) DeepCopyObject ¶
func (in *ContainerBuildList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ContainerBuildSpec ¶
type ContainerBuildSpec struct {
Definition *definitionv1.ContainerBuild `json:"definition"`
}
+k8s:deepcopy-gen=false
func (*ContainerBuildSpec) DeepCopy ¶
func (in *ContainerBuildSpec) DeepCopy() *ContainerBuildSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*ContainerBuildSpec) DeepCopyInto ¶
func (in *ContainerBuildSpec) DeepCopyInto(out *ContainerBuildSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerBuildStatus ¶
type ContainerBuildStatus struct { State ComponentBuildState `json:"state"` FailureInfo *v1.ContainerBuildFailureInfo `json:"failureInfo,omitempty"` StartTimestamp *metav1.Time `json:"startTimestamp,omitempty"` CompletionTimestamp *metav1.Time `json:"completionTimestamp,omitempty"` Artifacts *ContainerBuildArtifacts `json:"artifacts,omitempty"` LastObservedPhase *v1.ContainerBuildPhase `json:"lastObservedPhase,omitempty"` }
func (*ContainerBuildStatus) DeepCopy ¶
func (in *ContainerBuildStatus) DeepCopy() *ContainerBuildStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerBuildStatus.
func (*ContainerBuildStatus) DeepCopyInto ¶
func (in *ContainerBuildStatus) DeepCopyInto(out *ContainerBuildStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Deploy ¶
type Deploy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec DeploySpec `json:"spec"` Status DeployStatus `json:"status"` }
func (*Deploy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deploy.
func (*Deploy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Deploy) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Deploy) Description ¶
type DeployList ¶
type DeployList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Deploy `json:"items"` }
func (*DeployList) DeepCopy ¶
func (in *DeployList) DeepCopy() *DeployList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployList.
func (*DeployList) DeepCopyInto ¶
func (in *DeployList) DeepCopyInto(out *DeployList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DeployList) DeepCopyObject ¶
func (in *DeployList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeploySpec ¶
type DeploySpec struct { Build *v1.BuildID `json:"build,omitempty"` Version *v1.Version `json:"version,omitempty"` Path *tree.Path `json:"path"` }
func (*DeploySpec) DeepCopy ¶
func (in *DeploySpec) DeepCopy() *DeploySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*DeploySpec) DeepCopyInto ¶
func (in *DeploySpec) DeepCopyInto(out *DeploySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeployState ¶
type DeployState string
const ( DeployStatePending DeployState = "" DeployStateAccepted DeployState = "accepted" DeployStateInProgress DeployState = "in progress" DeployStateSucceeded DeployState = "succeeded" DeployStateFailed DeployState = "failed" )
type DeployStatus ¶
type DeployStatus struct { State DeployState `json:"state"` Message string `json:"message,omitempty"` InternalError *string `json:"internalError,omitempty"` Build *v1.BuildID `json:"build,omitempty"` Path *tree.Path `json:"path,omitempty"` Version *v1.Version `json:"version,omitempty"` StartTimestamp *metav1.Time `json:"startTimestamp,omitempty"` CompletionTimestamp *metav1.Time `json:"completionTimestamp,omitempty"` }
func (*DeployStatus) DeepCopy ¶
func (in *DeployStatus) DeepCopy() *DeployStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeployStatus.
func (*DeployStatus) DeepCopyInto ¶
func (in *DeployStatus) DeepCopyInto(out *DeployStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitTemplate ¶
type GitTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec GitTemplateSpec `json:"spec"` }
func (*GitTemplate) DeepCopy ¶
func (in *GitTemplate) DeepCopy() *GitTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitTemplate.
func (*GitTemplate) DeepCopyInto ¶
func (in *GitTemplate) DeepCopyInto(out *GitTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitTemplate) DeepCopyObject ¶
func (in *GitTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitTemplateList ¶
type GitTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []GitTemplate `json:"items"` }
func (*GitTemplateList) DeepCopy ¶
func (in *GitTemplateList) DeepCopy() *GitTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitTemplateList.
func (*GitTemplateList) DeepCopyInto ¶
func (in *GitTemplateList) DeepCopyInto(out *GitTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitTemplateList) DeepCopyObject ¶
func (in *GitTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitTemplateSpec ¶
type GitTemplateSpec struct {
TemplateDigest string `json:"templateDigest"`
}
func (*GitTemplateSpec) DeepCopy ¶
func (in *GitTemplateSpec) DeepCopy() *GitTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitTemplateSpec.
func (*GitTemplateSpec) DeepCopyInto ¶
func (in *GitTemplateSpec) DeepCopyInto(out *GitTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Job ¶
type Job struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec JobSpec `json:"spec"` }
func (*Job) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Job.
func (*Job) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Job) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Job) Description ¶
func (*Job) NodePoolAnnotation ¶
func (s *Job) NodePoolAnnotation() (NodePoolAnnotationValue, error)
type JobList ¶
type JobList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Job `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*JobList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobList.
func (*JobList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JobList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type JobRun ¶
type JobRun struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec JobRunSpec `json:"spec"` Status JobRunStatus `json:"status,omitempty"` }
func (*JobRun) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobRun.
func (*JobRun) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JobRun) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*JobRun) Description ¶
func (*JobRun) NodePoolAnnotation ¶
func (s *JobRun) NodePoolAnnotation() (NodePoolAnnotationValue, error)
type JobRunList ¶
type JobRunList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []JobRun `json:"items"` }
func (*JobRunList) DeepCopy ¶
func (in *JobRunList) DeepCopy() *JobRunList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobRunList.
func (*JobRunList) DeepCopyInto ¶
func (in *JobRunList) DeepCopyInto(out *JobRunList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*JobRunList) DeepCopyObject ¶
func (in *JobRunList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type JobRunSpec ¶
type JobRunSpec struct { Definition definitionv1.Job `json:"definition"` NumRetries *int32 `json:"numRetries"` Command []string `json:"command"` Environment definitionv1.ContainerEnvironment `json:"environment"` // ContainerBuildArtifacts maps container names to the artifacts created by their build ContainerBuildArtifacts WorkloadContainerBuildArtifacts `json:"containerBuildArtifacts"` }
+k8s:deepcopy-gen=false
func (*JobRunSpec) DeepCopy ¶
func (in *JobRunSpec) DeepCopy() *JobRunSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*JobRunSpec) DeepCopyInto ¶
func (in *JobRunSpec) DeepCopyInto(out *JobRunSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobRunState ¶
type JobRunState string
const ( JobRunStatePending JobRunState = "" JobRunStateDeleting JobRunState = "deleting" JobRunStateQueued JobRunState = "queued" JobRunStateRunning JobRunState = "running" JobRunStateSucceeded JobRunState = "succeeded" JobRunStateFailed JobRunState = "failed" )
type JobRunStatus ¶
type JobRunStatus struct { State JobRunState `json:"state"` StartTimestamp *metav1.Time `json:"startTimestamp,omitempty"` CompletionTimestamp *metav1.Time `json:"completionTimestamp,omitempty"` }
func (*JobRunStatus) DeepCopy ¶
func (in *JobRunStatus) DeepCopy() *JobRunStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobRunStatus.
func (*JobRunStatus) DeepCopyInto ¶
func (in *JobRunStatus) DeepCopyInto(out *JobRunStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobSpec ¶
type JobSpec struct { Definition definitionv1.Job `json:"definition"` // ContainerBuildArtifacts maps Sidecar names to the artifacts created by their build ContainerBuildArtifacts WorkloadContainerBuildArtifacts `json:"containerBuildArtifacts"` }
+k8s:deepcopy-gen=false
func (*JobSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*JobSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePool ¶
type NodePool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec NodePoolSpec `json:"spec"` Status NodePoolStatus `json:"status,omitempty"` }
func (*NodePool) Affinity ¶
func (np *NodePool) Affinity(epoch NodePoolEpoch) *corev1.NodeAffinity
func (*NodePool) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePool.
func (*NodePool) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodePool) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NodePool) Description ¶
func (*NodePool) ID ¶
func (np *NodePool) ID(epoch NodePoolEpoch) string
func (*NodePool) ServiceDedicatedIDLabel ¶
func (*NodePool) SystemSharedPathLabel ¶
func (np *NodePool) SystemSharedPathLabel() (tree.PathSubcomponent, bool, error)
func (*NodePool) Toleration ¶
func (np *NodePool) Toleration(epoch NodePoolEpoch) corev1.Toleration
func (*NodePool) TypeDescription ¶
func (*NodePool) UpdateProcessed ¶
type NodePoolAnnotationValue ¶
type NodePoolAnnotationValue map[string]NodePoolAnnotationValueNamespace
NodePoolAnnotation is the type that should be the value of the NodePoolWorkloadAnnotationKey annotation. It maps from namespaces to a map of names to a slice of epochs. For example, if a service is currently running on the abc node pool in namespace bar, and is on both epochs 1 and 2 of that node pool, and is also currently running on the xyz node pool in namespace foo, and is running on epoch 5 of that node pool, the annotation should have the following value:
{ "bar": { "abc": [1, 2] }, "foo": { "xyz": [5] } }
+k8s:deepcopy-gen=false
func (NodePoolAnnotationValue) Add ¶
func (a NodePoolAnnotationValue) Add(namespace, nodePool string, epoch NodePoolEpoch)
func (NodePoolAnnotationValue) ContainsEpoch ¶
func (a NodePoolAnnotationValue) ContainsEpoch(namespace, nodePool string, epoch NodePoolEpoch) bool
func (NodePoolAnnotationValue) ContainsLargerEpoch ¶
func (a NodePoolAnnotationValue) ContainsLargerEpoch(namespace, nodePool string, epoch NodePoolEpoch) bool
func (NodePoolAnnotationValue) ContainsNodePool ¶
func (a NodePoolAnnotationValue) ContainsNodePool(namespace, nodePool string) bool
func (NodePoolAnnotationValue) Epochs ¶
func (a NodePoolAnnotationValue) Epochs(namespace, nodePool string) ([]NodePoolEpoch, bool)
func (NodePoolAnnotationValue) IsEmpty ¶
func (a NodePoolAnnotationValue) IsEmpty() bool
func (NodePoolAnnotationValue) NodePools ¶
func (a NodePoolAnnotationValue) NodePools(namespace string) (map[string][]NodePoolEpoch, bool)
type NodePoolAnnotationValueNamespace ¶
type NodePoolAnnotationValueNamespace map[string][]NodePoolEpoch
+k8s:deepcopy-gen=false
type NodePoolList ¶
type NodePoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []NodePool `json:"items"` }
func (*NodePoolList) DeepCopy ¶
func (in *NodePoolList) DeepCopy() *NodePoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolList.
func (*NodePoolList) DeepCopyInto ¶
func (in *NodePoolList) DeepCopyInto(out *NodePoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodePoolList) DeepCopyObject ¶
func (in *NodePoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodePoolSpec ¶
type NodePoolSpec struct { NumInstances int32 `json:"numInstances"` InstanceType string `json:"instanceType"` }
func (*NodePoolSpec) DeepCopy ¶
func (in *NodePoolSpec) DeepCopy() *NodePoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolSpec.
func (*NodePoolSpec) DeepCopyInto ¶
func (in *NodePoolSpec) DeepCopyInto(out *NodePoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolState ¶
type NodePoolState string
const ( NodePoolStatePending NodePoolState = "" NodePoolStateScaling NodePoolState = "scaling" NodePoolStateUpdating NodePoolState = "updating" NodePoolStateStable NodePoolState = "stable" NodePoolStateFailed NodePoolState = "failed" NodePoolStateDeleting NodePoolState = "deleting" )
type NodePoolStatus ¶
type NodePoolStatus struct { ObservedGeneration int64 `json:"observedGeneration"` State NodePoolState `json:"state"` FailureInfo *NodePoolStatusFailureInfo `json:"failureInfo"` // Epochs is a mapping from an epoch to the status of that epoch. // An epoch is a manifestation of the node pool that requires replacing infrastructure. // For example, changing the instance type of a node pool will require new nodes, // and thus requires a new epoch of the node pool. // Changing the number of nodes in a node pool does not require replacing the // existing nodes, simply scaling them, and thus does not require a new epoch. Epochs NodePoolStatusEpochs `json:"epochs"` }
func (*NodePoolStatus) DeepCopy ¶
func (in *NodePoolStatus) DeepCopy() *NodePoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolStatus.
func (*NodePoolStatus) DeepCopyInto ¶
func (in *NodePoolStatus) DeepCopyInto(out *NodePoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolStatusEpoch ¶
type NodePoolStatusEpoch struct { Spec NodePoolSpec `json:"spec"` Status NodePoolStatusEpochStatus `json:"status"` }
func (*NodePoolStatusEpoch) DeepCopy ¶
func (in *NodePoolStatusEpoch) DeepCopy() *NodePoolStatusEpoch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolStatusEpoch.
func (*NodePoolStatusEpoch) DeepCopyInto ¶
func (in *NodePoolStatusEpoch) DeepCopyInto(out *NodePoolStatusEpoch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolStatusEpochStatus ¶
type NodePoolStatusEpochStatus struct { NumInstances int32 `json:"numInstances"` InstanceType string `json:"instanceType"` State NodePoolState `json:"state"` }
func (*NodePoolStatusEpochStatus) DeepCopy ¶
func (in *NodePoolStatusEpochStatus) DeepCopy() *NodePoolStatusEpochStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolStatusEpochStatus.
func (*NodePoolStatusEpochStatus) DeepCopyInto ¶
func (in *NodePoolStatusEpochStatus) DeepCopyInto(out *NodePoolStatusEpochStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolStatusEpochs ¶
type NodePoolStatusEpochs map[NodePoolEpoch]NodePoolStatusEpoch
func (NodePoolStatusEpochs) CurrentEpoch ¶
func (e NodePoolStatusEpochs) CurrentEpoch() (NodePoolEpoch, bool)
func (NodePoolStatusEpochs) DeepCopy ¶
func (in NodePoolStatusEpochs) DeepCopy() NodePoolStatusEpochs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolStatusEpochs.
func (NodePoolStatusEpochs) DeepCopyInto ¶
func (in NodePoolStatusEpochs) DeepCopyInto(out *NodePoolStatusEpochs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (NodePoolStatusEpochs) Epoch ¶
func (e NodePoolStatusEpochs) Epoch(epoch NodePoolEpoch) (*NodePoolStatusEpoch, bool)
func (NodePoolStatusEpochs) Epochs ¶
func (e NodePoolStatusEpochs) Epochs() []NodePoolEpoch
func (NodePoolStatusEpochs) NextEpoch ¶
func (e NodePoolStatusEpochs) NextEpoch() NodePoolEpoch
type NodePoolStatusFailureInfo ¶
type NodePoolStatusFailureInfo struct { Message string `json:"message"` Timestamp metav1.Time `json:"time"` }
func (*NodePoolStatusFailureInfo) DeepCopy ¶
func (in *NodePoolStatusFailureInfo) DeepCopy() *NodePoolStatusFailureInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePoolStatusFailureInfo.
func (*NodePoolStatusFailureInfo) DeepCopyInto ¶
func (in *NodePoolStatusFailureInfo) DeepCopyInto(out *NodePoolStatusFailureInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodePoolType ¶
type NodePoolType string
const ( NodePoolTypeServiceDedicated NodePoolType = "service-dedicated" )
type Service ¶
type Service struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ServiceSpec `json:"spec"` Status ServiceStatus `json:"status,omitempty"` }
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Service) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Service) DeploymentSpecHashAnnotation ¶
func (*Service) Description ¶
func (*Service) NeedsAddressLoadBalancer ¶
func (*Service) NodePoolAnnotation ¶
func (s *Service) NodePoolAnnotation() (NodePoolAnnotationValue, error)
func (*Service) UpdateProcessed ¶
type ServiceList ¶
type ServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Service `json:"items"` }
func (*ServiceList) DeepCopy ¶
func (in *ServiceList) DeepCopy() *ServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.
func (*ServiceList) DeepCopyInto ¶
func (in *ServiceList) DeepCopyInto(out *ServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceList) DeepCopyObject ¶
func (in *ServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceSpec ¶
type ServiceSpec struct { Definition definitionv1.Service `json:"definition"` // ContainerBuildArtifacts maps Sidecar names to the artifacts created by their build ContainerBuildArtifacts WorkloadContainerBuildArtifacts `json:"containerBuildArtifacts"` }
+k8s:deepcopy-gen=false
func (*ServiceSpec) DeepCopy ¶
func (in *ServiceSpec) DeepCopy() *ServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*ServiceSpec) DeepCopyInto ¶
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceState ¶
type ServiceState string
const ( ServiceStatePending ServiceState = "" ServiceStateDeleting ServiceState = "deleting" ServiceStateScaling ServiceState = "scaling" ServiceStateUpdating ServiceState = "updating" ServiceStateStable ServiceState = "stable" ServiceStateFailed ServiceState = "failed" )
type ServiceStatus ¶
type ServiceStatus struct { ObservedGeneration int64 `json:"observedGeneration"` State ServiceState `json:"state"` Message *string `json:"message"` FailureInfo *ServiceStatusFailureInfo `json:"failureInfo,omitempty"` AvailableInstances int32 `json:"availableInstances"` UpdatedInstances int32 `json:"updatedInstances"` StaleInstances int32 `json:"staleInstances"` TerminatingInstances int32 `json:"terminatingInstances"` Ports map[int32]string `json:"ports"` }
func (*ServiceStatus) DeepCopy ¶
func (in *ServiceStatus) DeepCopy() *ServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.
func (*ServiceStatus) DeepCopyInto ¶
func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceStatusFailureInfo ¶
type ServiceStatusFailureInfo struct { Message string `json:"message"` Internal bool `json:"internal"` Timestamp metav1.Time `json:"timestamp"` }
func (*ServiceStatusFailureInfo) DeepCopy ¶
func (in *ServiceStatusFailureInfo) DeepCopy() *ServiceStatusFailureInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatusFailureInfo.
func (*ServiceStatusFailureInfo) DeepCopyInto ¶
func (in *ServiceStatusFailureInfo) DeepCopyInto(out *ServiceStatusFailureInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type System ¶
type System struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec SystemSpec `json:"spec"` Status SystemStatus `json:"status,omitempty"` }
func (*System) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new System.
func (*System) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*System) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*System) DefinitionVersionLabel ¶
func (*System) Description ¶
func (*System) ResourceNamespace ¶
func (*System) UpdateProcessed ¶
type SystemList ¶
type SystemList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []System `json:"items"` }
func (*SystemList) DeepCopy ¶
func (in *SystemList) DeepCopy() *SystemList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemList.
func (*SystemList) DeepCopyInto ¶
func (in *SystemList) DeepCopyInto(out *SystemList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SystemList) DeepCopyObject ¶
func (in *SystemList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SystemSpec ¶
type SystemSpec struct { DefinitionURL string `json:"definitionUrl"` Definition *resolver.ResolutionTree `json:"definition"` WorkloadBuildArtifacts *SystemSpecWorkloadBuildArtifacts `json:"workloadBuildArtifacts"` }
N.B.: important: if you update the SystemSpec or SystemSpecServiceInfo you must also update the systemSpecEncoder and SystemSpec's UnmarshalJSON +k8s:deepcopy-gen=false
func (*SystemSpec) DeepCopy ¶
func (in *SystemSpec) DeepCopy() *SystemSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*SystemSpec) DeepCopyInto ¶
func (in *SystemSpec) DeepCopyInto(out *SystemSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SystemSpecWorkloadBuildArtifacts ¶
type SystemSpecWorkloadBuildArtifacts struct {
// contains filtered or unexported fields
}
+k8s:deepcopy-gen=false
func NewSystemSpecWorkloadBuildArtifacts ¶
func NewSystemSpecWorkloadBuildArtifacts() *SystemSpecWorkloadBuildArtifacts
func (*SystemSpecWorkloadBuildArtifacts) Get ¶
func (a *SystemSpecWorkloadBuildArtifacts) Get(p tree.Path) (WorkloadContainerBuildArtifacts, bool)
func (*SystemSpecWorkloadBuildArtifacts) Insert ¶
func (a *SystemSpecWorkloadBuildArtifacts) Insert( p tree.Path, w WorkloadContainerBuildArtifacts, ) (WorkloadContainerBuildArtifacts, bool)
func (*SystemSpecWorkloadBuildArtifacts) MarshalJSON ¶
func (a *SystemSpecWorkloadBuildArtifacts) MarshalJSON() ([]byte, error)
func (*SystemSpecWorkloadBuildArtifacts) ReplacePrefix ¶
func (a *SystemSpecWorkloadBuildArtifacts) ReplacePrefix(p tree.Path, other *SystemSpecWorkloadBuildArtifacts)
func (*SystemSpecWorkloadBuildArtifacts) UnmarshalJSON ¶
func (a *SystemSpecWorkloadBuildArtifacts) UnmarshalJSON(data []byte) error
type SystemState ¶
type SystemState string
const ( // lifecycle states // note that the "deleting" state is implied by a non-nil metadata.DeletionTimestamp SystemStatePending SystemState = "" SystemStateFailed SystemState = "failed" // transient states once the system has been created SystemStateStable SystemState = "stable" SystemStateDegraded SystemState = "degraded" SystemStateScaling SystemState = "scaling" SystemStateUpdating SystemState = "updating" )
type SystemStatus ¶
type SystemStatus struct { ObservedGeneration int64 `json:"observedGeneration"` State SystemState `json:"state"` Services map[tree.Path]SystemStatusService `json:"services"` NodePools map[tree.PathSubcomponent]SystemStatusNodePool `json:"nodePools"` }
+k8s:deepcopy-gen=false
func (*SystemStatus) DeepCopy ¶
func (in *SystemStatus) DeepCopy() *SystemStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*SystemStatus) DeepCopyInto ¶
func (in *SystemStatus) DeepCopyInto(out *SystemStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SystemStatusNodePool ¶
type SystemStatusNodePool struct { Name string `json:"name"` Generation int64 `json:"generation"` NodePoolStatus }
func (*SystemStatusNodePool) DeepCopy ¶
func (in *SystemStatusNodePool) DeepCopy() *SystemStatusNodePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemStatusNodePool.
func (*SystemStatusNodePool) DeepCopyInto ¶
func (in *SystemStatusNodePool) DeepCopyInto(out *SystemStatusNodePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SystemStatusService ¶
type SystemStatusService struct { Name string `json:"name"` Generation int64 `json:"generation"` ServiceStatus }
func (*SystemStatusService) DeepCopy ¶
func (in *SystemStatusService) DeepCopy() *SystemStatusService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemStatusService.
func (*SystemStatusService) DeepCopyInto ¶
func (in *SystemStatusService) DeepCopyInto(out *SystemStatusService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Teardown ¶
type Teardown struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec TeardownSpec `json:"spec"` Status TeardownStatus `json:"status"` }
func (*Teardown) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Teardown.
func (*Teardown) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Teardown) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Teardown) Description ¶
func (*Teardown) V1ID ¶
func (t *Teardown) V1ID() v1.TeardownID
type TeardownList ¶
type TeardownList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Teardown `json:"items"` }
func (*TeardownList) DeepCopy ¶
func (in *TeardownList) DeepCopy() *TeardownList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeardownList.
func (*TeardownList) DeepCopyInto ¶
func (in *TeardownList) DeepCopyInto(out *TeardownList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TeardownList) DeepCopyObject ¶
func (in *TeardownList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TeardownSpec ¶
type TeardownSpec struct { }
func (*TeardownSpec) DeepCopy ¶
func (in *TeardownSpec) DeepCopy() *TeardownSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeardownSpec.
func (*TeardownSpec) DeepCopyInto ¶
func (in *TeardownSpec) DeepCopyInto(out *TeardownSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TeardownState ¶
type TeardownState string
const ( TeardownStatePending TeardownState = "" TeardownStateInProgress TeardownState = "in progress" TeardownStateSucceeded TeardownState = "succeeded" TeardownStateFailed TeardownState = "failed" )
type TeardownStatus ¶
type TeardownStatus struct { ObservedGeneration int64 `json:"observedGeneration"` State TeardownState `json:"state"` Message string `json:"message"` StartTimestamp *metav1.Time `json:"startTimestamp,omitempty"` CompletionTimestamp *metav1.Time `json:"completionTimestamp,omitempty"` }
func (*TeardownStatus) DeepCopy ¶
func (in *TeardownStatus) DeepCopy() *TeardownStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TeardownStatus.
func (*TeardownStatus) DeepCopyInto ¶
func (in *TeardownStatus) DeepCopyInto(out *TeardownStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Template ¶
type Template struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec TemplateSpec `json:"spec"` }
func (*Template) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Template.
func (*Template) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Template) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemplateList ¶
type TemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Template `json:"items"` }
func (*TemplateList) DeepCopy ¶
func (in *TemplateList) DeepCopy() *TemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateList.
func (*TemplateList) DeepCopyInto ¶
func (in *TemplateList) DeepCopyInto(out *TemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateList) DeepCopyObject ¶
func (in *TemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemplateSpec ¶
func (*TemplateSpec) DeepCopy ¶
func (sbs *TemplateSpec) DeepCopy() *TemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExampleSpec.
func (*TemplateSpec) DeepCopyInto ¶
func (sbs *TemplateSpec) DeepCopyInto(out *TemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadContainerBuildArtifacts ¶
type WorkloadContainerBuildArtifacts struct { MainContainer ContainerBuildArtifacts `json:"mainContainer"` Sidecars map[string]ContainerBuildArtifacts `json:"sidecars"` }
func (*WorkloadContainerBuildArtifacts) DeepCopy ¶
func (in *WorkloadContainerBuildArtifacts) DeepCopy() *WorkloadContainerBuildArtifacts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadContainerBuildArtifacts.
func (*WorkloadContainerBuildArtifacts) DeepCopyInto ¶
func (in *WorkloadContainerBuildArtifacts) DeepCopyInto(out *WorkloadContainerBuildArtifacts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.