Documentation
¶
Index ¶
- Constants
- Variables
- func AddToScheme(scheme *runtime.Scheme) error
- func KVMap(val string, sep string) map[string]string
- func MustParseResourceQuantity(s Quantity) *resource.Quantity
- func ValidateMemory(memSpec MemoryMap, containerName string, container Container, ...) (resource.Quantity, error)
- type AccessMode
- type AccessModes
- type Acorn
- type AcornBuild
- type AcornBuilderSpec
- type AcornImageBuildInstance
- func (in *AcornImageBuildInstance) Conditions() *[]Condition
- func (in *AcornImageBuildInstance) DeepCopy() *AcornImageBuildInstance
- func (in *AcornImageBuildInstance) DeepCopyInto(out *AcornImageBuildInstance)
- func (in *AcornImageBuildInstance) DeepCopyObject() runtime.Object
- func (in *AcornImageBuildInstance) GetRegion() string
- func (in *AcornImageBuildInstance) HasRegion(region string) bool
- func (in *AcornImageBuildInstance) SetDefaultRegion(region string)
- type AcornImageBuildInstanceList
- type AcornImageBuildInstanceSpec
- type AcornImageBuildInstanceStatus
- type AcornStatus
- type Alias
- type AppColumns
- type AppImage
- type AppInstance
- func (in *AppInstance) Conditions() *[]Condition
- func (in *AppInstance) DeepCopy() *AppInstance
- func (in *AppInstance) DeepCopyInto(out *AppInstance)
- func (in *AppInstance) DeepCopyObject() runtime.Object
- func (in *AppInstance) GetRegion() string
- func (in *AppInstance) GetStopped() bool
- func (in *AppInstance) HasRegion(region string) bool
- func (in *AppInstance) SetDefaultRegion(region string)
- func (in *AppInstance) ShortID() string
- type AppInstanceCondition
- type AppInstanceList
- type AppInstanceSpec
- type AppInstanceStatus
- type AppSpec
- type AppStatus
- type Build
- type BuildRecord
- type BuilderInstance
- func (in *BuilderInstance) DeepCopy() *BuilderInstance
- func (in *BuilderInstance) DeepCopyInto(out *BuilderInstance)
- func (in *BuilderInstance) DeepCopyObject() runtime.Object
- func (b *BuilderInstance) GetRegion() string
- func (b *BuilderInstance) HasRegion(region string) bool
- func (b *BuilderInstance) SetDefaultRegion(region string)
- type BuilderInstanceList
- type BuilderInstanceStatus
- type BuilderSpec
- type ChangeType
- type CommandSlice
- type CommonStatus
- type ComputeClassMap
- type Condition
- func (in *Condition) DeepCopy() *Condition
- func (in *Condition) DeepCopyInto(out *Condition)
- func (in Condition) Init(name string, generation int64) Condition
- func (in Condition) Set(cond Condition, generation int64) Condition
- func (in Condition) ToReason() string
- func (in Condition) ToStatus() metav1.ConditionStatus
- type Container
- type ContainerData
- type ContainerImageBuilderSpec
- func (in *ContainerImageBuilderSpec) DeepCopy() *ContainerImageBuilderSpec
- func (in *ContainerImageBuilderSpec) DeepCopyInto(out *ContainerImageBuilderSpec)
- func (in *ContainerImageBuilderSpec) Normalize() *ContainerImageBuilderSpec
- func (in *ContainerImageBuilderSpec) UnmarshalJSON(data []byte) error
- type ContainerStatus
- type Defaults
- type Dependencies
- type Dependency
- type DependencyNotFound
- type DependencyStatus
- type DependencyType
- type DevSessionImageSource
- type DevSessionInstance
- type DevSessionInstanceClient
- type DevSessionInstanceExpireAction
- type DevSessionInstanceList
- type DevSessionInstanceSpec
- type DevSessionInstanceStatus
- type Endpoint
- type EnvVar
- type EnvVars
- type EventInstance
- type EventInstanceList
- type EventSeverity
- type EventSource
- type ExecProbe
- type ExpressionError
- type File
- type Files
- type GeneratedService
- type GenericMap
- type HTTPProbe
- type Image
- type ImageAllowRuleInstance
- type ImageAllowRuleInstanceList
- type ImageAllowRuleSignatures
- type ImageBuilderSpec
- type ImageData
- type ImageInstance
- type ImageInstanceList
- type ImagesData
- type JobStatus
- type MemoryMap
- type MetricsDef
- type MicroTime
- type NameValue
- type NameValues
- type Param
- type ParamSpec
- type PathType
- type Permissions
- type Platform
- type PolicyRule
- func (in *PolicyRule) DeepCopy() *PolicyRule
- func (in *PolicyRule) DeepCopyInto(out *PolicyRule)
- func (p PolicyRule) IsAccountScoped() bool
- func (p PolicyRule) IsProjectScoped() bool
- func (p PolicyRule) Namespaces() (result []string)
- func (p PolicyRule) ResolveNamespaces(currentNamespace string) (result []string)
- func (in *PolicyRule) UnmarshalJSON(data []byte) error
- type PortBinding
- type PortBindings
- type PortDef
- type PortPublish
- type Ports
- type Probe
- type ProbeType
- type Probes
- type Profile
- type Protocol
- type PublishMode
- type PublishProtocol
- type Quantity
- type ReplicasSummary
- type Route
- type Router
- type RouterStatus
- type Routes
- type Scheduling
- type ScopedLabel
- type ScopedLabels
- type Secret
- type SecretBinding
- type SecretBindings
- type SecretReference
- type SecretStatus
- type Service
- type ServiceBinding
- type ServiceBindings
- type ServiceInstance
- type ServiceInstanceCondition
- type ServiceInstanceList
- type ServiceInstanceSpec
- type ServiceInstanceStatus
- type ServiceStatus
- type SignatureAnnotations
- type SignatureRules
- type SignedBy
- type TCPProbe
- type VCS
- type VolumeBinding
- type VolumeBindings
- type VolumeDefault
- type VolumeMount
- type VolumeRequest
- type VolumeSecretMount
- type VolumeStatus
Constants ¶
const ( PublishModeAll = PublishMode("all") PublishModeNone = PublishMode("none") PublishModeDefined = PublishMode("defined") )
const ( ChangeTypeRedeploy = "redeploy" ChangeTypeNoAction = "noAction" )
const ( DependencySecret = DependencyType("secret") DependencyService = DependencyType("service") DependencyJob = DependencyType("job") DependencyContainer = DependencyType("container") )
const ( LabelTypeRouter = "router" LabelTypeContainer = "container" LabelTypeJob = "job" LabelTypeVolume = "volume" LabelTypeSecret = "secret" LabelTypeMeta = "metadata" LabelTypeAcorn = "acorn" LabelTypeService = "service" )
const ( SecretTypePrefix = "secrets.acorn.io/" SecretTypeOpaque corev1.SecretType = "secrets.acorn.io/opaque" SecretTypeGenerated corev1.SecretType = "secrets.acorn.io/generated" SecretTypeTemplate corev1.SecretType = "secrets.acorn.io/template" SecretTypeBasic corev1.SecretType = "secrets.acorn.io/basic" SecretTypeToken corev1.SecretType = "secrets.acorn.io/token" )
const Version = "v1"
Variables ¶
var ( AppInstanceConditionDefined = "defined" AppInstanceConditionDefaults = "defaults" AppInstanceConditionScheduling = "scheduling" AppInstanceConditionNamespace = "namespace" AppInstanceConditionParsed = "parsed" AppInstanceConditionController = "controller" AppInstanceConditionPulled = "image-pull" AppInstanceConditionSecrets = "secrets" AppInstanceConditionServices = "services" AppInstanceConditionContainers = "containers" AppInstanceConditionJobs = "jobs" AppInstanceConditionAcorns = "acorns" AppInstanceConditionReady = "Ready" AppInstanceConditionVolumes = "volumes" AppInstanceConditionImageAllowed = "image-allowed" AppInstanceConditionQuotaAllocated = "quota-allocated" )
var ( ProtocolTCP = Protocol("tcp") ProtocolUDP = Protocol("udp") ProtocolHTTP = Protocol("http") )
var ( PublishProtocolTCP = PublishProtocol("tcp") PublishProtocolUDP = PublishProtocol("udp") PublishProtocolHTTP = PublishProtocol("http") PublishProtocolHTTPS = PublishProtocol("https") )
var ( ErrInvalidAcornMemory = errors.New("invalid memory from Acornfile") ErrInvalidSetMemory = errors.New("invalid memory set by user") ErrInvalidDefaultMemory = errors.New("invalid memory default") ErrInvalidWorkload = errors.New("workload name set by user does not exist") )
var ( DefaultSizeQuantity = Quantity("10G") MinSizeQuantity = Quantity("5M") DefaultSize = MustParseResourceQuantity(DefaultSizeQuantity) MinSize = MustParseResourceQuantity(MinSizeQuantity) DefaultVerbs = []string{"get", "list", "watch", "update", "patch", "delete", "deletecollection", "create"} ReadVerbs = []string{"get", "list", "watch"} )
var (
AcornImageBuildInstanceConditionBuild = "build"
)
var SchemeGroupVersion = schema.GroupVersion{ Group: acorn_io.Group, Version: Version, }
var ( SecretTypes = map[corev1.SecretType]bool{ SecretTypeOpaque: true, SecretTypeGenerated: true, SecretTypeTemplate: true, SecretTypeBasic: true, SecretTypeToken: true, } )
var (
ServiceInstanceConditionDefined = "defined"
)
Functions ¶
func AddToScheme ¶
Types ¶
type AccessMode ¶
type AccessMode string
const ( VolumeRequestTypeEphemeral = "ephemeral" AccessModeReadWriteMany AccessMode = "readWriteMany" AccessModeReadWriteOnce AccessMode = "readWriteOnce" AccessModeReadOnlyMany AccessMode = "readOnlyMany" )
type AccessModes ¶
type AccessModes []AccessMode
func (AccessModes) DeepCopy ¶
func (in AccessModes) DeepCopy() AccessModes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccessModes.
func (AccessModes) DeepCopyInto ¶
func (in AccessModes) DeepCopyInto(out *AccessModes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccessModes) UnmarshalJSON ¶
func (in *AccessModes) UnmarshalJSON(data []byte) error
type Acorn ¶
type Acorn struct { Labels ScopedLabels `json:"labels,omitempty"` Annotations ScopedLabels `json:"annotations,omitempty"` Image string `json:"image,omitempty"` Build *AcornBuild `json:"build,omitempty"` Profiles []string `json:"profiles,omitempty"` DeployArgs GenericMap `json:"deployArgs,omitempty"` Publish PortBindings `json:"publish,omitempty"` PublishMode PublishMode `json:"publishMode,omitempty"` Environment NameValues `json:"environment,omitempty"` Secrets SecretBindings `json:"secrets,omitempty"` Volumes VolumeBindings `json:"volumes,omitempty"` Links ServiceBindings `json:"links,omitempty"` AutoUpgrade *bool `json:"autoUpgrade,omitempty"` NotifyUpgrade *bool `json:"notifyUpgrade,omitempty"` AutoUpgradeInterval string `json:"autoUpgradeInterval,omitempty"` Memory MemoryMap `json:"memory,omitempty"` ComputeClasses ComputeClassMap `json:"computeClasses,omitempty"` }
func (*Acorn) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Acorn.
func (*Acorn) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Acorn) UnmarshalJSON ¶
type AcornBuild ¶
type AcornBuild struct { OriginalImage string `json:"originalImage,omitempty"` Context string `json:"context,omitempty"` Acornfile string `json:"acornfile,omitempty"` BuildArgs GenericMap `json:"buildArgs,omitempty"` }
func (*AcornBuild) DeepCopy ¶
func (in *AcornBuild) DeepCopy() *AcornBuild
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcornBuild.
func (*AcornBuild) DeepCopyInto ¶
func (in *AcornBuild) DeepCopyInto(out *AcornBuild)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AcornBuild) UnmarshalJSON ¶
func (in *AcornBuild) UnmarshalJSON(data []byte) error
type AcornBuilderSpec ¶
type AcornBuilderSpec struct { AutoUpgrade bool `json:"autoUpgrade,omitempty"` Image string `json:"image,omitempty"` Build *AcornBuild `json:"build,omitempty"` }
func (*AcornBuilderSpec) DeepCopy ¶
func (in *AcornBuilderSpec) DeepCopy() *AcornBuilderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcornBuilderSpec.
func (*AcornBuilderSpec) DeepCopyInto ¶
func (in *AcornBuilderSpec) DeepCopyInto(out *AcornBuilderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AcornBuilderSpec) Normalize ¶
func (in *AcornBuilderSpec) Normalize() *AcornBuilderSpec
type AcornImageBuildInstance ¶
type AcornImageBuildInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec AcornImageBuildInstanceSpec `json:"spec,omitempty"` Status AcornImageBuildInstanceStatus `json:"status,omitempty"` }
func (*AcornImageBuildInstance) Conditions ¶
func (in *AcornImageBuildInstance) Conditions() *[]Condition
func (*AcornImageBuildInstance) DeepCopy ¶
func (in *AcornImageBuildInstance) DeepCopy() *AcornImageBuildInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcornImageBuildInstance.
func (*AcornImageBuildInstance) DeepCopyInto ¶
func (in *AcornImageBuildInstance) DeepCopyInto(out *AcornImageBuildInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AcornImageBuildInstance) DeepCopyObject ¶
func (in *AcornImageBuildInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AcornImageBuildInstance) GetRegion ¶
func (in *AcornImageBuildInstance) GetRegion() string
func (*AcornImageBuildInstance) HasRegion ¶
func (in *AcornImageBuildInstance) HasRegion(region string) bool
func (*AcornImageBuildInstance) SetDefaultRegion ¶
func (in *AcornImageBuildInstance) SetDefaultRegion(region string)
type AcornImageBuildInstanceList ¶
type AcornImageBuildInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AcornImageBuildInstance `json:"items"` }
func (*AcornImageBuildInstanceList) DeepCopy ¶
func (in *AcornImageBuildInstanceList) DeepCopy() *AcornImageBuildInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcornImageBuildInstanceList.
func (*AcornImageBuildInstanceList) DeepCopyInto ¶
func (in *AcornImageBuildInstanceList) DeepCopyInto(out *AcornImageBuildInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AcornImageBuildInstanceList) DeepCopyObject ¶
func (in *AcornImageBuildInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AcornImageBuildInstanceSpec ¶
type AcornImageBuildInstanceSpec struct { ContextCacheKey string `json:"contextCacheKey,omitempty"` BuilderName string `json:"builderName,omitempty" wrangler:"required"` Acornfile string `json:"acornfile,omitempty"` Profiles []string `json:"profiles,omitempty"` Platforms []Platform `json:"platforms,omitempty"` Args GenericMap `json:"args,omitempty"` VCS VCS `json:"vcs,omitempty"` }
func (*AcornImageBuildInstanceSpec) DeepCopy ¶
func (in *AcornImageBuildInstanceSpec) DeepCopy() *AcornImageBuildInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcornImageBuildInstanceSpec.
func (*AcornImageBuildInstanceSpec) DeepCopyInto ¶
func (in *AcornImageBuildInstanceSpec) DeepCopyInto(out *AcornImageBuildInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AcornImageBuildInstanceStatus ¶
type AcornImageBuildInstanceStatus struct { ObservedGeneration int64 `json:"observedGeneration,omitempty"` Recorded bool `json:"recorded,omitempty"` BuildURL string `json:"buildURL,omitempty"` Token string `json:"token,omitempty"` AppImage AppImage `json:"appImage,omitempty"` Conditions []Condition `json:"conditions,omitempty"` BuildError string `json:"buildError,omitempty"` Region string `json:"region,omitempty"` }
func (*AcornImageBuildInstanceStatus) DeepCopy ¶
func (in *AcornImageBuildInstanceStatus) DeepCopy() *AcornImageBuildInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcornImageBuildInstanceStatus.
func (*AcornImageBuildInstanceStatus) DeepCopyInto ¶
func (in *AcornImageBuildInstanceStatus) DeepCopyInto(out *AcornImageBuildInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AcornStatus ¶
type AcornStatus struct { CommonStatus `json:",inline"` AcornName string `json:"acornName,omitempty"` }
func (*AcornStatus) DeepCopy ¶
func (in *AcornStatus) DeepCopy() *AcornStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AcornStatus.
func (*AcornStatus) DeepCopyInto ¶
func (in *AcornStatus) DeepCopyInto(out *AcornStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (AcornStatus) GetCommonStatus ¶
func (in AcornStatus) GetCommonStatus() CommonStatus
type Alias ¶
type Alias struct {
Name string `json:"name,omitempty"`
}
func (*Alias) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alias.
func (*Alias) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppColumns ¶
type AppColumns struct { Healthy string `json:"healthy,omitempty" column:"name=Healthy,jsonpath=.status.columns.healthy"` UpToDate string `json:"upToDate,omitempty" column:"name=Up-To-Date,jsonpath=.status.columns.upToDate"` Message string `json:"message,omitempty" column:"name=Message,jsonpath=.status.columns.message"` Endpoints string `json:"endpoints,omitempty" column:"name=Endpoints,jsonpath=.status.columns.endpoints"` Created string `json:"created,omitempty" column:"name=Created,jsonpath=.metadata.creationTimestamp"` }
func (*AppColumns) DeepCopy ¶
func (in *AppColumns) DeepCopy() *AppColumns
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppColumns.
func (*AppColumns) DeepCopyInto ¶
func (in *AppColumns) DeepCopyInto(out *AppColumns)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppImage ¶
type AppImage struct { // ID is the "image ID" that Name resolves to, which might be the same as Name or a string matching // ImageInstance.Name ID string `json:"id,omitempty"` // Name is the image name requested by the user of any format Name string `json:"name,omitempty"` Digest string `json:"digest,omitempty"` Acornfile string `json:"acornfile,omitempty"` ImageData ImagesData `json:"imageData,omitempty"` BuildArgs GenericMap `json:"buildArgs,omitempty"` VCS VCS `json:"vcs,omitempty"` }
func (*AppImage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppImage.
func (*AppImage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppInstance ¶
type AppInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec AppInstanceSpec `json:"spec,omitempty"` Status AppInstanceStatus `json:"status,omitempty"` }
func (*AppInstance) Conditions ¶
func (in *AppInstance) Conditions() *[]Condition
func (*AppInstance) DeepCopy ¶
func (in *AppInstance) DeepCopy() *AppInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppInstance.
func (*AppInstance) DeepCopyInto ¶
func (in *AppInstance) DeepCopyInto(out *AppInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppInstance) DeepCopyObject ¶
func (in *AppInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AppInstance) GetRegion ¶
func (in *AppInstance) GetRegion() string
func (*AppInstance) GetStopped ¶
func (in *AppInstance) GetStopped() bool
func (*AppInstance) HasRegion ¶
func (in *AppInstance) HasRegion(region string) bool
func (*AppInstance) SetDefaultRegion ¶
func (in *AppInstance) SetDefaultRegion(region string)
func (*AppInstance) ShortID ¶
func (in *AppInstance) ShortID() string
type AppInstanceCondition ¶
type AppInstanceCondition string
type AppInstanceList ¶
type AppInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AppInstance `json:"items"` }
func (*AppInstanceList) DeepCopy ¶
func (in *AppInstanceList) DeepCopy() *AppInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppInstanceList.
func (*AppInstanceList) DeepCopyInto ¶
func (in *AppInstanceList) DeepCopyInto(out *AppInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppInstanceList) DeepCopyObject ¶
func (in *AppInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AppInstanceSpec ¶
type AppInstanceSpec struct { Region string `json:"region,omitempty"` Labels []ScopedLabel `json:"labels,omitempty"` Annotations []ScopedLabel `json:"annotations,omitempty"` Image string `json:"image,omitempty"` Stop *bool `json:"stop,omitempty"` Profiles []string `json:"profiles,omitempty"` Volumes []VolumeBinding `json:"volumes,omitempty"` Secrets []SecretBinding `json:"secrets,omitempty"` Environment []NameValue `json:"environment,omitempty"` PublishMode PublishMode `json:"publishMode,omitempty"` TargetNamespace string `json:"targetNamespace,omitempty"` Links []ServiceBinding `json:"services,omitempty"` Publish []PortBinding `json:"ports,omitempty"` DeployArgs GenericMap `json:"deployArgs,omitempty"` Permissions []Permissions `json:"permissions,omitempty"` AutoUpgrade *bool `json:"autoUpgrade,omitempty"` NotifyUpgrade *bool `json:"notifyUpgrade,omitempty"` AutoUpgradeInterval string `json:"autoUpgradeInterval,omitempty"` ComputeClasses ComputeClassMap `json:"computeClass,omitempty"` Memory MemoryMap `json:"memory,omitempty"` }
func (*AppInstanceSpec) DeepCopy ¶
func (in *AppInstanceSpec) DeepCopy() *AppInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppInstanceSpec.
func (*AppInstanceSpec) DeepCopyInto ¶
func (in *AppInstanceSpec) DeepCopyInto(out *AppInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppInstanceSpec) GetAutoUpgrade ¶
func (in *AppInstanceSpec) GetAutoUpgrade() bool
func (*AppInstanceSpec) GetNotifyUpgrade ¶
func (in *AppInstanceSpec) GetNotifyUpgrade() bool
func (*AppInstanceSpec) GetProfiles ¶
func (in *AppInstanceSpec) GetProfiles(devMode bool) []string
type AppInstanceStatus ¶
type AppInstanceStatus struct { DevSession *DevSessionInstanceSpec `json:"devSession,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` ObservedImageDigest string `json:"observedImageDigest,omitempty"` Columns AppColumns `json:"columns,omitempty"` Ready bool `json:"ready,omitempty"` Namespace string `json:"namespace,omitempty"` AppImage AppImage `json:"appImage,omitempty"` AvailableAppImage string `json:"availableAppImage,omitempty"` AvailableAppImageRemote bool `json:"availableAppImageRemote,omitempty"` ConfirmUpgradeAppImage string `json:"confirmUpgradeAppImage,omitempty"` ConfirmUpgradeAppImageRemote bool `json:"confirmUpgradeAppImageRemote,omitempty"` AppSpec AppSpec `json:"appSpec,omitempty"` AppStatus AppStatus `json:"appStatus,omitempty"` Scheduling map[string]Scheduling `json:"scheduling,omitempty"` Conditions []Condition `json:"conditions,omitempty"` Defaults Defaults `json:"defaults,omitempty"` }
func (*AppInstanceStatus) Condition ¶
func (in *AppInstanceStatus) Condition(name string) Condition
func (*AppInstanceStatus) DeepCopy ¶
func (in *AppInstanceStatus) DeepCopy() *AppInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppInstanceStatus.
func (*AppInstanceStatus) DeepCopyInto ¶
func (in *AppInstanceStatus) DeepCopyInto(out *AppInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (AppInstanceStatus) GetDevMode ¶
func (a AppInstanceStatus) GetDevMode() bool
type AppSpec ¶
type AppSpec struct { Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Containers map[string]Container `json:"containers,omitempty"` Jobs map[string]Container `json:"jobs,omitempty"` Images map[string]Image `json:"images,omitempty"` Volumes map[string]VolumeRequest `json:"volumes,omitempty"` Secrets map[string]Secret `json:"secrets,omitempty"` Acorns map[string]Acorn `json:"acorns,omitempty"` Routers map[string]Router `json:"routers,omitempty"` Services map[string]Service `json:"services,omitempty"` }
func (*AppSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec.
func (*AppSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppSpec) UnmarshalJSON ¶
type AppStatus ¶
type AppStatus struct { Containers map[string]ContainerStatus `json:"containers,omitempty"` Jobs map[string]JobStatus `json:"jobs,omitempty"` Volumes map[string]VolumeStatus `json:"volumes,omitempty"` Secrets map[string]SecretStatus `json:"secrets,omitempty"` Acorns map[string]AcornStatus `json:"acorns,omitempty"` Routers map[string]RouterStatus `json:"routers,omitempty"` Services map[string]ServiceStatus `json:"services,omitempty"` Endpoints []Endpoint `json:"endpoints,omitempty"` Stopped bool `json:"stopped,omitempty"` }
func (*AppStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatus.
func (*AppStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Build ¶
type Build struct { Context string `json:"context,omitempty"` Dockerfile string `json:"dockerfile,omitempty"` DockerfileContents string `json:"dockerfileContents,omitempty"` Target string `json:"target,omitempty"` BaseImage string `json:"baseImage,omitempty"` ContextDirs map[string]string `json:"contextDirs,omitempty"` BuildArgs map[string]string `json:"buildArgs,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) UnmarshalJSON ¶
type BuildRecord ¶
type BuildRecord struct { AcornBuild *AcornBuilderSpec `json:"acornBuild,omitempty"` AcornAppImage *AppImage `json:"acornAppImage,omitempty"` ContainerBuild *ContainerImageBuilderSpec `json:"containerBuild,omitempty"` ImageBuild *ImageBuilderSpec `json:"imageBuild,omitempty"` ImageKey string `json:"imageKey,omitempty"` }
func (*BuildRecord) DeepCopy ¶
func (in *BuildRecord) DeepCopy() *BuildRecord
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildRecord.
func (*BuildRecord) DeepCopyInto ¶
func (in *BuildRecord) DeepCopyInto(out *BuildRecord)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuilderInstance ¶
type BuilderInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Status BuilderInstanceStatus `json:"status,omitempty"` }
func (*BuilderInstance) DeepCopy ¶
func (in *BuilderInstance) DeepCopy() *BuilderInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuilderInstance.
func (*BuilderInstance) DeepCopyInto ¶
func (in *BuilderInstance) DeepCopyInto(out *BuilderInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuilderInstance) DeepCopyObject ¶
func (in *BuilderInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BuilderInstance) GetRegion ¶
func (b *BuilderInstance) GetRegion() string
func (*BuilderInstance) HasRegion ¶
func (b *BuilderInstance) HasRegion(region string) bool
func (*BuilderInstance) SetDefaultRegion ¶
func (b *BuilderInstance) SetDefaultRegion(region string)
type BuilderInstanceList ¶
type BuilderInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BuilderInstance `json:"items"` }
func (*BuilderInstanceList) DeepCopy ¶
func (in *BuilderInstanceList) DeepCopy() *BuilderInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuilderInstanceList.
func (*BuilderInstanceList) DeepCopyInto ¶
func (in *BuilderInstanceList) DeepCopyInto(out *BuilderInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BuilderInstanceList) DeepCopyObject ¶
func (in *BuilderInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BuilderInstanceStatus ¶
type BuilderInstanceStatus struct { UUID string `json:"uuid"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` Ready bool `json:"ready,omitempty"` Endpoint string `json:"endpoint,omitempty"` PublicKey string `json:"publicKey,omitempty"` ServiceName string `json:"serviceName,omitempty"` Region string `json:"region,omitempty"` }
func (*BuilderInstanceStatus) DeepCopy ¶
func (in *BuilderInstanceStatus) DeepCopy() *BuilderInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuilderInstanceStatus.
func (*BuilderInstanceStatus) DeepCopyInto ¶
func (in *BuilderInstanceStatus) DeepCopyInto(out *BuilderInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BuilderSpec ¶
type BuilderSpec struct { Services map[string]AcornBuilderSpec `json:"services,omitempty"` Containers map[string]ContainerImageBuilderSpec `json:"containers,omitempty"` Jobs map[string]ContainerImageBuilderSpec `json:"jobs,omitempty"` Images map[string]ImageBuilderSpec `json:"images,omitempty"` Acorns map[string]AcornBuilderSpec `json:"acorns,omitempty"` }
func (*BuilderSpec) DeepCopy ¶
func (in *BuilderSpec) DeepCopy() *BuilderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuilderSpec.
func (*BuilderSpec) DeepCopyInto ¶
func (in *BuilderSpec) DeepCopyInto(out *BuilderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChangeType ¶
type ChangeType string
type CommandSlice ¶
type CommandSlice []string
func (CommandSlice) DeepCopy ¶
func (in CommandSlice) DeepCopy() CommandSlice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommandSlice.
func (CommandSlice) DeepCopyInto ¶
func (in CommandSlice) DeepCopyInto(out *CommandSlice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CommandSlice) UnmarshalJSON ¶
func (in *CommandSlice) UnmarshalJSON(data []byte) error
type CommonStatus ¶
type CommonStatus struct { Ready bool `json:"ready,omitempty"` UpToDate bool `json:"upToDate,omitempty"` Defined bool `json:"defined,omitempty"` LinkOverride string `json:"linkOverride,omitempty"` TransitioningMessages []string `json:"transitioningMessages,omitempty"` ErrorMessages []string `json:"errorMessages,omitempty"` }
func (*CommonStatus) DeepCopy ¶
func (in *CommonStatus) DeepCopy() *CommonStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonStatus.
func (*CommonStatus) DeepCopyInto ¶
func (in *CommonStatus) DeepCopyInto(out *CommonStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComputeClassMap ¶
Workload to its class
func ParseComputeClass ¶
func ParseComputeClass(s []string) (ComputeClassMap, error)
func (ComputeClassMap) DeepCopy ¶
func (in ComputeClassMap) DeepCopy() ComputeClassMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeClassMap.
func (ComputeClassMap) DeepCopyInto ¶
func (in ComputeClassMap) DeepCopyInto(out *ComputeClassMap)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct { Type string `json:"type,omitempty"` Reason string `json:"reason,omitempty"` Message string `json:"message,omitempty"` Status metav1.ConditionStatus `json:"status,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` LastTransitionTime metav1.Time `json:"lastTransitionTime"` Success bool `json:"success,omitempty"` Error bool `json:"error,omitempty"` Transitioning bool `json:"transitioning,omitempty"` }
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Condition) ToStatus ¶
func (in Condition) ToStatus() metav1.ConditionStatus
type Container ¶
type Container struct { Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Dirs map[string]VolumeMount `json:"dirs,omitempty"` Files Files `json:"files,omitempty"` Image string `json:"image,omitempty"` Build *Build `json:"build,omitempty"` Command CommandSlice `json:"command,omitempty"` Interactive bool `json:"interactive,omitempty"` Entrypoint CommandSlice `json:"entrypoint,omitempty"` Environment EnvVars `json:"environment,omitempty"` WorkingDir string `json:"workingDir,omitempty"` Ports Ports `json:"ports,omitempty"` Probes Probes `json:"probes"` // Don't omitempty so that nil vs empty is recorded Dependencies Dependencies `json:"dependencies,omitempty"` Permissions *Permissions `json:"permissions,omitempty"` ComputeClass *string `json:"class,omitempty"` Memory *int64 `json:"memory,omitempty"` // Metrics is available on containers and jobs, but not sidecars Metrics MetricsDef `json:"metrics,omitempty"` // Scale is only available on containers, not sidecars or jobs Scale *int32 `json:"scale,omitempty"` // Schedule is only available on jobs Schedule string `json:"schedule,omitempty"` // Events is only available on jobs Events []string `json:"events,omitempty"` // Init is only available on sidecars Init bool `json:"init,omitempty"` // Sidecars are not available on sidecars Sidecars map[string]Container `json:"sidecars,omitempty"` }
func (*Container) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Container) UnmarshalJSON ¶
type ContainerData ¶
type ContainerData struct { Image string `json:"image,omitempty"` Sidecars map[string]ImageData `json:"sidecars,omitempty"` }
func (*ContainerData) DeepCopy ¶
func (in *ContainerData) DeepCopy() *ContainerData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerData.
func (*ContainerData) DeepCopyInto ¶
func (in *ContainerData) DeepCopyInto(out *ContainerData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerImageBuilderSpec ¶
type ContainerImageBuilderSpec struct { Image string `json:"image,omitempty"` Build *Build `json:"build,omitempty"` // Sidecars is only populated for non-sidecar containers Sidecars map[string]ContainerImageBuilderSpec `json:"sidecars,omitempty"` }
func (*ContainerImageBuilderSpec) DeepCopy ¶
func (in *ContainerImageBuilderSpec) DeepCopy() *ContainerImageBuilderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImageBuilderSpec.
func (*ContainerImageBuilderSpec) DeepCopyInto ¶
func (in *ContainerImageBuilderSpec) DeepCopyInto(out *ContainerImageBuilderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ContainerImageBuilderSpec) Normalize ¶
func (in *ContainerImageBuilderSpec) Normalize() *ContainerImageBuilderSpec
func (*ContainerImageBuilderSpec) UnmarshalJSON ¶
func (in *ContainerImageBuilderSpec) UnmarshalJSON(data []byte) error
type ContainerStatus ¶
type ContainerStatus struct { CommonStatus `json:",inline"` ReadyReplicaCount int32 `json:"readyCount,omitempty"` DesiredReplicaCount int32 `json:"readyDesiredCount,omitempty"` RunningReplicaCount int32 `json:"runningReplicaCount,omitempty"` UpToDateReplicaCount int32 `json:"upToDateCount,omitempty"` MaxReplicaRestartCount int32 `json:"maxReplicaRestartCount,omitempty"` Dependencies map[string]DependencyStatus `json:"dependencies,omitempty"` ExpressionErrors []ExpressionError `json:"expressionErrors,omitempty"` }
func (*ContainerStatus) DeepCopy ¶
func (in *ContainerStatus) DeepCopy() *ContainerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerStatus.
func (*ContainerStatus) DeepCopyInto ¶
func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ContainerStatus) GetCommonStatus ¶
func (in ContainerStatus) GetCommonStatus() CommonStatus
type Defaults ¶
type Defaults struct { Volumes map[string]VolumeDefault `json:"volumes,omitempty"` Memory map[string]*int64 `json:"memory,omitempty"` Region string `json:"region,omitempty"` }
func (*Defaults) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Defaults.
func (*Defaults) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Dependencies ¶
type Dependencies []Dependency
func (Dependencies) DeepCopy ¶
func (in Dependencies) DeepCopy() Dependencies
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dependencies.
func (Dependencies) DeepCopyInto ¶
func (in Dependencies) DeepCopyInto(out *Dependencies)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Dependencies) UnmarshalJSON ¶
func (in *Dependencies) UnmarshalJSON(data []byte) error
type Dependency ¶
type Dependency struct {
TargetName string `json:"targetName,omitempty"`
}
func (*Dependency) DeepCopy ¶
func (in *Dependency) DeepCopy() *Dependency
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dependency.
func (*Dependency) DeepCopyInto ¶
func (in *Dependency) DeepCopyInto(out *Dependency)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Dependency) UnmarshalJSON ¶
func (in *Dependency) UnmarshalJSON(data []byte) error
type DependencyNotFound ¶
type DependencyNotFound struct { DependencyType DependencyType `json:"dependencyType,omitempty"` Name string `json:"name,omitempty"` }
func (*DependencyNotFound) DeepCopy ¶
func (in *DependencyNotFound) DeepCopy() *DependencyNotFound
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependencyNotFound.
func (*DependencyNotFound) DeepCopyInto ¶
func (in *DependencyNotFound) DeepCopyInto(out *DependencyNotFound)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DependencyStatus ¶
type DependencyStatus struct { Ready bool `json:"ready,omitempty"` Missing bool `json:"missing,omitempty"` DependencyType DependencyType `json:"serviceType,omitempty"` }
func (*DependencyStatus) DeepCopy ¶
func (in *DependencyStatus) DeepCopy() *DependencyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependencyStatus.
func (*DependencyStatus) DeepCopyInto ¶
func (in *DependencyStatus) DeepCopyInto(out *DependencyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DependencyType ¶
type DependencyType string
type DevSessionImageSource ¶
type DevSessionImageSource struct { Image string `json:"image,omitempty"` File string `json:"file,omitempty"` }
func (*DevSessionImageSource) DeepCopy ¶
func (in *DevSessionImageSource) DeepCopy() *DevSessionImageSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSessionImageSource.
func (*DevSessionImageSource) DeepCopyInto ¶
func (in *DevSessionImageSource) DeepCopyInto(out *DevSessionImageSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevSessionInstance ¶
type DevSessionInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec DevSessionInstanceSpec `json:"spec,omitempty"` Status DevSessionInstanceStatus `json:"status,omitempty"` }
func (*DevSessionInstance) DeepCopy ¶
func (in *DevSessionInstance) DeepCopy() *DevSessionInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSessionInstance.
func (*DevSessionInstance) DeepCopyInto ¶
func (in *DevSessionInstance) DeepCopyInto(out *DevSessionInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DevSessionInstance) DeepCopyObject ¶
func (in *DevSessionInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DevSessionInstanceClient ¶
type DevSessionInstanceClient struct { Hostname string `json:"hostname,omitempty"` ImageSource DevSessionImageSource `json:"imageSource,omitempty"` }
func (*DevSessionInstanceClient) DeepCopy ¶
func (in *DevSessionInstanceClient) DeepCopy() *DevSessionInstanceClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSessionInstanceClient.
func (*DevSessionInstanceClient) DeepCopyInto ¶
func (in *DevSessionInstanceClient) DeepCopyInto(out *DevSessionInstanceClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevSessionInstanceExpireAction ¶
type DevSessionInstanceExpireAction struct {
Stop bool `json:"stop,omitempty"`
}
func (*DevSessionInstanceExpireAction) DeepCopy ¶
func (in *DevSessionInstanceExpireAction) DeepCopy() *DevSessionInstanceExpireAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSessionInstanceExpireAction.
func (*DevSessionInstanceExpireAction) DeepCopyInto ¶
func (in *DevSessionInstanceExpireAction) DeepCopyInto(out *DevSessionInstanceExpireAction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevSessionInstanceList ¶
type DevSessionInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DevSessionInstance `json:"items"` }
func (*DevSessionInstanceList) DeepCopy ¶
func (in *DevSessionInstanceList) DeepCopy() *DevSessionInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSessionInstanceList.
func (*DevSessionInstanceList) DeepCopyInto ¶
func (in *DevSessionInstanceList) DeepCopyInto(out *DevSessionInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DevSessionInstanceList) DeepCopyObject ¶
func (in *DevSessionInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DevSessionInstanceSpec ¶
type DevSessionInstanceSpec struct { Client DevSessionInstanceClient `json:"client,omitempty"` SessionTimeoutSeconds int32 `json:"sessionTimeoutSeconds,omitempty"` SessionStartTime metav1.Time `json:"sessionStartTime,omitempty"` SessionRenewTime metav1.Time `json:"sessionRenewTime,omitempty"` SpecOverride *AppInstanceSpec `json:"specOverride,omitempty"` }
func (*DevSessionInstanceSpec) DeepCopy ¶
func (in *DevSessionInstanceSpec) DeepCopy() *DevSessionInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSessionInstanceSpec.
func (*DevSessionInstanceSpec) DeepCopyInto ¶
func (in *DevSessionInstanceSpec) DeepCopyInto(out *DevSessionInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DevSessionInstanceStatus ¶
type DevSessionInstanceStatus struct { Expired bool `json:"expired,omitempty"` Conditions []Condition `json:"conditions,omitempty"` }
func (*DevSessionInstanceStatus) DeepCopy ¶
func (in *DevSessionInstanceStatus) DeepCopy() *DevSessionInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DevSessionInstanceStatus.
func (*DevSessionInstanceStatus) DeepCopyInto ¶
func (in *DevSessionInstanceStatus) DeepCopyInto(out *DevSessionInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Endpoint ¶
type Endpoint struct { Target string `json:"target,omitempty"` TargetPort int32 `json:"targetPort,omitempty"` Address string `json:"address,omitempty"` Protocol Protocol `json:"protocol,omitempty"` PublishProtocol PublishProtocol `json:"publishProtocol,omitempty"` Pending bool `json:"pending,omitempty"` }
func (*Endpoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvVar ¶
type EnvVar struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Secret SecretReference `json:"secret,omitempty"` }
func (*EnvVar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVar.
func (*EnvVar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvVar) UnmarshalJSON ¶
type EnvVars ¶
type EnvVars []EnvVar
func (EnvVars) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVars.
func (EnvVars) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvVars) UnmarshalJSON ¶
type EventInstance ¶
type EventInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Type is a short, machine-readable string that describes the kind of Event that took place. Type string `json:"type"` // Severity indicates the severity of the event. // +optional Severity EventSeverity `json:"severity,omitempty"` // Actor is the ID of the entity that generated the Event. // This can be the name of a particular user or controller. Actor string `json:"actor"` // Source identifies the object the Event is regarding. Source EventSource `json:"source"` // Description is a human-readable description of the Event. // +optional Description string `json:"description,omitempty"` // Observed represents the time the Event was first observed. Observed MicroTime `json:"observed" wrangler:"type=string"` // Details provides additional information about the cluster at the time the Event occurred. // // It's typically used to embed the subject resource, in its entirety, at the time the Event occurred, // but can be used to hold any data related to the event. // // +optional Details GenericMap `json:"details,omitempty"` }
func (*EventInstance) DeepCopy ¶
func (in *EventInstance) DeepCopy() *EventInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventInstance.
func (*EventInstance) DeepCopyInto ¶
func (in *EventInstance) DeepCopyInto(out *EventInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventInstance) DeepCopyObject ¶
func (in *EventInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (EventInstance) GetObserved ¶
func (e EventInstance) GetObserved() MicroTime
GetObserved returns the time that the Event was first observed.
type EventInstanceList ¶
type EventInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []EventInstance `json:"items"` }
func (*EventInstanceList) DeepCopy ¶
func (in *EventInstanceList) DeepCopy() *EventInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventInstanceList.
func (*EventInstanceList) DeepCopyInto ¶
func (in *EventInstanceList) DeepCopyInto(out *EventInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventInstanceList) DeepCopyObject ¶
func (in *EventInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventSeverity ¶
type EventSeverity string
EventSeverity indicates the severity of an event.
const ( // EventSeverityInfo indicates an event describes a system operating "as expected". // It is the lowest severity level. EventSeverityInfo EventSeverity = "info" // EventSeverityWarn indicates an event describes a recoverable error. EventSeverityWarn EventSeverity = "warn" // EventSeverityCritical indicates an event describes an unrecoverable error. // It is the highest severity level. EventSeverityCritical EventSeverity = "critical" )
type EventSource ¶
type EventSource struct { // Kind is the source object kind. Kind string `json:"kind"` // Name is the name of the source object. Name string `json:"name"` // UID uniquely identifies the source object. UID types.UID `json:"uuid"` }
EventSource identifies an object related to an Event.
The referenced object may or may not exist.
Note: corev1.ObjectReference was explicitly avoided because its use in new schemas is discouraged. See https://github.com/kubernetes/api/blob/cdff1d4efea5d7ddc52c4085f82748c5f3e5cc8e/core/v1/types.go#L5919 for more details.
func (*EventSource) DeepCopy ¶
func (in *EventSource) DeepCopy() *EventSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSource.
func (*EventSource) DeepCopyInto ¶
func (in *EventSource) DeepCopyInto(out *EventSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (EventSource) String ¶
func (e EventSource) String() string
type ExecProbe ¶
type ExecProbe struct {
Command []string `json:"command,omitempty"`
}
func (*ExecProbe) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecProbe.
func (*ExecProbe) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExpressionError ¶
type ExpressionError struct { DependencyNotFound *DependencyNotFound `json:"dependencyNotFound,omitempty"` Expression string `json:"expression,omitempty"` Error string `json:"error,omitempty"` }
func (*ExpressionError) DeepCopy ¶
func (in *ExpressionError) DeepCopy() *ExpressionError
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpressionError.
func (*ExpressionError) DeepCopyInto ¶
func (in *ExpressionError) DeepCopyInto(out *ExpressionError)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExpressionError) String ¶
func (e *ExpressionError) String() string
type File ¶
type File struct { Mode string `json:"mode,omitempty"` Content string `json:"content,omitempty"` Secret SecretReference `json:"secret,omitempty"` }
func (*File) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new File.
func (*File) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*File) UnmarshalJSON ¶
type Files ¶
func (Files) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Files.
func (Files) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Files) UnmarshalJSON ¶
type GeneratedService ¶
type GeneratedService struct {
Job string `json:"job,omitempty"`
}
func (*GeneratedService) DeepCopy ¶
func (in *GeneratedService) DeepCopy() *GeneratedService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GeneratedService.
func (*GeneratedService) DeepCopyInto ¶
func (in *GeneratedService) DeepCopyInto(out *GeneratedService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericMap ¶
type GenericMap map[string]interface{}
func Mapify ¶
func Mapify(obj any) (GenericMap, error)
func (GenericMap) DeepCopy ¶
func (in GenericMap) DeepCopy() GenericMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericMap.
func (*GenericMap) DeepCopyInto ¶
func (in *GenericMap) DeepCopyInto(out *GenericMap)
func (GenericMap) MarshalJSON ¶
func (in GenericMap) MarshalJSON() ([]byte, error)
func (*GenericMap) UnmarshalJSON ¶
func (in *GenericMap) UnmarshalJSON(data []byte) error
type HTTPProbe ¶
type HTTPProbe struct { URL string `json:"url,omitempty"` Headers map[string]string `json:"headers,omitempty"` }
func (*HTTPProbe) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPProbe.
func (*HTTPProbe) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Image ¶
type Image struct { Image string `json:"image,omitempty"` Build *Build `json:"containerBuild,omitempty"` AcornBuild *AcornBuild `json:"build,omitempty"` }
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageAllowRuleInstance ¶
type ImageAllowRuleInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Images []string `json:"images,omitempty"` // list of patterns to match against image names Signatures ImageAllowRuleSignatures `json:"signatures,omitempty"` }
func (*ImageAllowRuleInstance) DeepCopy ¶
func (in *ImageAllowRuleInstance) DeepCopy() *ImageAllowRuleInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageAllowRuleInstance.
func (*ImageAllowRuleInstance) DeepCopyInto ¶
func (in *ImageAllowRuleInstance) DeepCopyInto(out *ImageAllowRuleInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageAllowRuleInstance) DeepCopyObject ¶
func (in *ImageAllowRuleInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageAllowRuleInstanceList ¶
type ImageAllowRuleInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ImageAllowRuleInstance `json:"items"` }
func (*ImageAllowRuleInstanceList) DeepCopy ¶
func (in *ImageAllowRuleInstanceList) DeepCopy() *ImageAllowRuleInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageAllowRuleInstanceList.
func (*ImageAllowRuleInstanceList) DeepCopyInto ¶
func (in *ImageAllowRuleInstanceList) DeepCopyInto(out *ImageAllowRuleInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageAllowRuleInstanceList) DeepCopyObject ¶
func (in *ImageAllowRuleInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImageAllowRuleSignatures ¶
type ImageAllowRuleSignatures struct {
Rules []SignatureRules `json:"rules,omitempty"`
}
func (*ImageAllowRuleSignatures) DeepCopy ¶
func (in *ImageAllowRuleSignatures) DeepCopy() *ImageAllowRuleSignatures
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageAllowRuleSignatures.
func (*ImageAllowRuleSignatures) DeepCopyInto ¶
func (in *ImageAllowRuleSignatures) DeepCopyInto(out *ImageAllowRuleSignatures)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageBuilderSpec ¶
type ImageBuilderSpec struct { Image string `json:"image,omitempty"` ContainerBuild *Build `json:"containerBuild,omitempty"` AcornBuild *AcornBuild `json:"acornBuild,omitempty"` }
func (*ImageBuilderSpec) DeepCopy ¶
func (in *ImageBuilderSpec) DeepCopy() *ImageBuilderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageBuilderSpec.
func (*ImageBuilderSpec) DeepCopyInto ¶
func (in *ImageBuilderSpec) DeepCopyInto(out *ImageBuilderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageBuilderSpec) Normalize ¶
func (in *ImageBuilderSpec) Normalize() *ImageBuilderSpec
type ImageData ¶
type ImageData struct {
Image string `json:"image,omitempty"`
}
func (*ImageData) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageData.
func (*ImageData) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageInstance ¶
type ImageInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Remote indicates that this image has not been locally cached to the internal registry // meaning that it may not exist at the location recorded in the Repo field if the user // has deleted the image after the fact Remote bool `json:"remote,omitempty"` Repo string `json:"repo,omitempty"` Digest string `json:"digest,omitempty"` Tags []string `json:"tags,omitempty"` }
func (*ImageInstance) DeepCopy ¶
func (in *ImageInstance) DeepCopy() *ImageInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageInstance.
func (*ImageInstance) DeepCopyInto ¶
func (in *ImageInstance) DeepCopyInto(out *ImageInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageInstance) DeepCopyObject ¶
func (in *ImageInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ImageInstance) ShortID ¶
func (in *ImageInstance) ShortID() string
type ImageInstanceList ¶
type ImageInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ImageInstance `json:"items"` }
func (*ImageInstanceList) DeepCopy ¶
func (in *ImageInstanceList) DeepCopy() *ImageInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageInstanceList.
func (*ImageInstanceList) DeepCopyInto ¶
func (in *ImageInstanceList) DeepCopyInto(out *ImageInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ImageInstanceList) DeepCopyObject ¶
func (in *ImageInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ImagesData ¶
type ImagesData struct { Containers map[string]ContainerData `json:"containers,omitempty"` Jobs map[string]ContainerData `json:"jobs,omitempty"` Images map[string]ImageData `json:"images,omitempty"` Acorns map[string]ImageData `json:"acorns,omitempty"` Builds []BuildRecord `json:"builds,omitempty"` }
func (*ImagesData) DeepCopy ¶
func (in *ImagesData) DeepCopy() *ImagesData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagesData.
func (*ImagesData) DeepCopyInto ¶
func (in *ImagesData) DeepCopyInto(out *ImagesData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobStatus ¶
type JobStatus struct { CommonStatus `json:",inline"` RunningCount int `json:"runningCount,omitempty"` ErrorCount int `json:"errorCount,omitempty"` CreateEventSucceeded bool `json:"createEventSucceeded,omitempty"` Dependencies map[string]DependencyStatus `json:"dependencies,omitempty"` Skipped bool `json:"skipped,omitempty"` ExpressionErrors []ExpressionError `json:"expressionErrors,omitempty"` }
func (*JobStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStatus.
func (*JobStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (JobStatus) GetCommonStatus ¶
func (in JobStatus) GetCommonStatus() CommonStatus
type MemoryMap ¶
Workload to its memory
func ParseMemory ¶
func (MemoryMap) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemoryMap.
func (MemoryMap) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MemoryMap) UnmarshalJSON ¶
type MetricsDef ¶
func (*MetricsDef) DeepCopy ¶
func (in *MetricsDef) DeepCopy() *MetricsDef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricsDef.
func (*MetricsDef) DeepCopyInto ¶
func (in *MetricsDef) DeepCopyInto(out *MetricsDef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MicroTime ¶
MicroTime represents a time with microsecond level precision.
It extends metav1.MicroTime to allow unmarshaling from RFC3339.
func (*MicroTime) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicroTime.
func (*MicroTime) DeepCopyInto ¶
DeepCopyInto returns a deep-copy of the MicroTime value. The underlying time.Time type is effectively immutable in the time API, so it is safe to copy-by-assign, despite the presence of (unexported) Pointer fields.
func (*MicroTime) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface.
type NameValue ¶
func ParseNameValues ¶
func (*NameValue) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameValue.
func (*NameValue) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NameValue) UnmarshalJSON ¶
type NameValues ¶
type NameValues []NameValue
func (NameValues) DeepCopy ¶
func (in NameValues) DeepCopy() NameValues
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NameValues.
func (NameValues) DeepCopyInto ¶
func (in NameValues) DeepCopyInto(out *NameValues)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NameValues) UnmarshalJSON ¶
func (in *NameValues) UnmarshalJSON(data []byte) error
type Param ¶
type Param struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Type string `json:"type,omitempty" wrangler:"options=string|int|float|bool|object|array"` Schema string `json:"schema,omitempty"` }
func (*Param) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Param.
func (*Param) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParamSpec ¶
type ParamSpec struct { Params []Param `json:"params,omitempty"` Profiles []Profile `json:"profiles,omitempty"` }
func (*ParamSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParamSpec.
func (*ParamSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Permissions ¶
type Permissions struct { ServiceName string `json:"serviceName,omitempty"` Rules []PolicyRule `json:"rules,omitempty"` // Deprecated, use Rules with the 'scopes: ["cluster"]' field ZZ_ClusterRules []PolicyRule `json:"clusterRules,omitempty"` }
func FindPermission ¶
func FindPermission(serviceName string, perms []Permissions) Permissions
func (*Permissions) DeepCopy ¶
func (in *Permissions) DeepCopy() *Permissions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permissions.
func (*Permissions) DeepCopyInto ¶
func (in *Permissions) DeepCopyInto(out *Permissions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Permissions) Get ¶
func (in *Permissions) Get() Permissions
func (Permissions) GetRules ¶
func (in Permissions) GetRules() []PolicyRule
func (*Permissions) HasRules ¶
func (in *Permissions) HasRules() bool
func (*Permissions) UnmarshalJSON ¶
func (in *Permissions) UnmarshalJSON(data []byte) error
type Platform ¶
type Platform struct { Architecture string `json:"architecture"` OS string `json:"os"` OSVersion string `json:"os.version,omitempty"` OSFeatures []string `json:"os.features,omitempty"` Variant string `json:"variant,omitempty"` }
func (*Platform) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Platform.
func (*Platform) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyRule ¶
type PolicyRule struct { rbacv1.PolicyRule `json:",inline"` Scopes []string `json:"scopes,omitempty"` }
func (*PolicyRule) DeepCopy ¶
func (in *PolicyRule) DeepCopy() *PolicyRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyRule.
func (*PolicyRule) DeepCopyInto ¶
func (in *PolicyRule) DeepCopyInto(out *PolicyRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PolicyRule) IsAccountScoped ¶
func (p PolicyRule) IsAccountScoped() bool
func (PolicyRule) IsProjectScoped ¶
func (p PolicyRule) IsProjectScoped() bool
func (PolicyRule) Namespaces ¶
func (p PolicyRule) Namespaces() (result []string)
func (PolicyRule) ResolveNamespaces ¶
func (p PolicyRule) ResolveNamespaces(currentNamespace string) (result []string)
func (*PolicyRule) UnmarshalJSON ¶
func (in *PolicyRule) UnmarshalJSON(data []byte) error
type PortBinding ¶
type PortBinding struct { Port int32 `json:"port,omitempty"` Protocol Protocol `json:"protocol,omitempty"` Hostname string `json:"hostname,omitempty"` // Deprecated Use Hostname instead ZZ_ServiceName string `json:"serviceName,omitempty"` // Deprecated Has no meaning, publish=true is always assumed Publish bool `json:"publish,omitempty"` // Deprecated Has no meaning, all ports are exposed by default, if this is true // The binding is ignored unless publish is also set to true (which is also deprecated) Expose bool `json:"expose,omitempty"` // Deprecated All ports are exposed by default TargetPort int32 `json:"targetPort,omitempty"` TargetServiceName string `json:"targetServiceName,omitempty"` }
func ParsePortBindings ¶
func ParsePortBindings(args []string) (result []PortBinding, _ error)
func (PortBinding) Complete ¶
func (in PortBinding) Complete() PortBinding
func (*PortBinding) DeepCopy ¶
func (in *PortBinding) DeepCopy() *PortBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortBinding.
func (*PortBinding) DeepCopyInto ¶
func (in *PortBinding) DeepCopyInto(out *PortBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortBinding) UnmarshalJSON ¶
func (in *PortBinding) UnmarshalJSON(data []byte) error
type PortBindings ¶
type PortBindings []PortBinding
func (PortBindings) DeepCopy ¶
func (in PortBindings) DeepCopy() PortBindings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortBindings.
func (PortBindings) DeepCopyInto ¶
func (in PortBindings) DeepCopyInto(out *PortBindings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PortBindings) UnmarshalJSON ¶
func (in *PortBindings) UnmarshalJSON(data []byte) error
type PortDef ¶
type PortDef struct { Hostname string `json:"hostname,omitempty"` Protocol Protocol `json:"protocol,omitempty"` Publish bool `json:"publish,omitempty"` Dev bool `json:"dev,omitempty"` Port int32 `json:"port,omitempty"` TargetPort int32 `json:"targetPort,omitempty"` }
func ParsePorts ¶
func (*PortDef) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortDef.
func (*PortDef) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PortDef) FormatString ¶
func (*PortDef) UnmarshalJSON ¶
type PortPublish ¶
type PortPublish struct { Port int32 `json:"port,omitempty"` Protocol Protocol `json:"protocol,omitempty"` Hostname string `json:"hostname,omitempty"` TargetPort int32 `json:"targetPort,omitempty"` }
func (PortPublish) Complete ¶
func (in PortPublish) Complete() PortPublish
func (*PortPublish) DeepCopy ¶
func (in *PortPublish) DeepCopy() *PortPublish
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortPublish.
func (*PortPublish) DeepCopyInto ¶
func (in *PortPublish) DeepCopyInto(out *PortPublish)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ports ¶
type Ports []PortDef
func (Ports) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ports.
func (Ports) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ports) UnmarshalJSON ¶
type Probe ¶
type Probe struct { Type ProbeType `json:"type,omitempty"` Exec *ExecProbe `json:"exec,omitempty"` HTTP *HTTPProbe `json:"http,omitempty"` TCP *TCPProbe `json:"tcp,omitempty"` InitialDelaySeconds int32 `json:"initialDelaySeconds,omitempty"` TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"` PeriodSeconds int32 `json:"periodSeconds,omitempty"` SuccessThreshold int32 `json:"successThreshold,omitempty"` FailureThreshold int32 `json:"failureThreshold,omitempty"` }
func (*Probe) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probe.
func (*Probe) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Probe) UnmarshalJSON ¶
type Probes ¶
type Probes []Probe
func (Probes) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Probes.
func (Probes) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Probes) UnmarshalJSON ¶
type Profile ¶
type Profile struct { Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` }
func (*Profile) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile.
func (*Profile) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublishMode ¶
type PublishMode string
type PublishProtocol ¶
type PublishProtocol string
type ReplicasSummary ¶
type ReplicasSummary struct { RunningCount int MaxReplicaRestartCount int32 TransitioningMessages []string ErrorMessages []string }
func (*ReplicasSummary) DeepCopy ¶
func (in *ReplicasSummary) DeepCopy() *ReplicasSummary
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicasSummary.
func (*ReplicasSummary) DeepCopyInto ¶
func (in *ReplicasSummary) DeepCopyInto(out *ReplicasSummary)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route ¶
type Route struct { Path string `json:"path,omitempty"` TargetServiceName string `json:"targetServiceName,omitempty"` TargetPort int `json:"targetPort,omitempty"` PathType PathType `json:"pathType,omitempty"` }
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Router ¶
type Router struct { Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Routes Routes `json:"routes,omitempty"` }
func (*Router) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Router.
func (*Router) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouterStatus ¶
type RouterStatus struct {
CommonStatus `json:",inline"`
}
func (*RouterStatus) DeepCopy ¶
func (in *RouterStatus) DeepCopy() *RouterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouterStatus.
func (*RouterStatus) DeepCopyInto ¶
func (in *RouterStatus) DeepCopyInto(out *RouterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (RouterStatus) GetCommonStatus ¶
func (in RouterStatus) GetCommonStatus() CommonStatus
type Routes ¶
type Routes []Route
func (Routes) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Routes.
func (Routes) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Routes) UnmarshalJSON ¶
type Scheduling ¶
type Scheduling struct { Requirements corev1.ResourceRequirements `json:"requirements,omitempty"` Affinity *corev1.Affinity `json:"affinity,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` PriorityClassName string `json:"priorityClassName,omitempty"` }
func (*Scheduling) DeepCopy ¶
func (in *Scheduling) DeepCopy() *Scheduling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduling.
func (*Scheduling) DeepCopyInto ¶
func (in *Scheduling) DeepCopyInto(out *Scheduling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScopedLabel ¶
type ScopedLabel struct { ResourceType string `json:"resourceType,omitempty"` ResourceName string `json:"resourceName,omitempty"` Key string `json:"key,omitempty"` Value string `json:"value,omitempty"` }
func ParseScopedLabels ¶
func ParseScopedLabels(s ...string) (result []ScopedLabel, err error)
ParseScopedLabels parses labels from their string format into the struct form. Examples of the string format: --label k=v (global, no resource scope) --label containers:k=v (apply to all containers) --label containers:foo:k=v (apply to container named foo) --label foo:k=v (apply to any resource named foo)
func (*ScopedLabel) DeepCopy ¶
func (in *ScopedLabel) DeepCopy() *ScopedLabel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopedLabel.
func (*ScopedLabel) DeepCopyInto ¶
func (in *ScopedLabel) DeepCopyInto(out *ScopedLabel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScopedLabels ¶
type ScopedLabels []ScopedLabel
func (ScopedLabels) DeepCopy ¶
func (in ScopedLabels) DeepCopy() ScopedLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopedLabels.
func (ScopedLabels) DeepCopyInto ¶
func (in ScopedLabels) DeepCopyInto(out *ScopedLabels)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScopedLabels) UnmarshalJSON ¶
func (in *ScopedLabels) UnmarshalJSON(data []byte) error
UnmarshalJSON unmarshalls into this ScopedLabels type from either: - a map whose entries look like "containers:foo:key": "v" - an array of objects whose entries look like {resourceTYpe: "container" ... value: "v"} When unmarshalling from a map, the resulting entries are ordered so that they stay consistent across multiple unmarshallings
type Secret ¶
type Secret struct { External string `json:"external,omitempty"` Alias string `json:"alias,omitempty"` Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Type string `json:"type,omitempty"` Params GenericMap `json:"params,omitempty"` Data map[string]string `json:"data,omitempty"` }
func (*Secret) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
func (*Secret) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretBinding ¶
type SecretBinding struct { Secret string `json:"secret,omitempty"` Target string `json:"target,omitempty"` }
func ParseSecrets ¶
func ParseSecrets(args []string) (result []SecretBinding, _ error)
func (*SecretBinding) DeepCopy ¶
func (in *SecretBinding) DeepCopy() *SecretBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBinding.
func (*SecretBinding) DeepCopyInto ¶
func (in *SecretBinding) DeepCopyInto(out *SecretBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretBinding) UnmarshalJSON ¶
func (in *SecretBinding) UnmarshalJSON(data []byte) error
type SecretBindings ¶
type SecretBindings []SecretBinding
func (SecretBindings) DeepCopy ¶
func (in SecretBindings) DeepCopy() SecretBindings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBindings.
func (SecretBindings) DeepCopyInto ¶
func (in SecretBindings) DeepCopyInto(out *SecretBindings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretBindings) UnmarshalJSON ¶
func (in *SecretBindings) UnmarshalJSON(data []byte) error
type SecretReference ¶
type SecretReference struct { Name string `json:"name,omitempty"` Key string `json:"key,omitempty"` OnChange ChangeType `json:"onChange,omitempty"` }
func (*SecretReference) DeepCopy ¶
func (in *SecretReference) DeepCopy() *SecretReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.
func (*SecretReference) DeepCopyInto ¶
func (in *SecretReference) DeepCopyInto(out *SecretReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretStatus ¶
type SecretStatus struct { CommonStatus `json:",inline"` SecretName string `json:"secretName,omitempty"` JobName string `json:"jobName,omitempty"` JobReady bool `json:"jobReady,omitempty"` LookupErrors []string `json:"lookupErrors,omitempty"` LookupTransitioning []string `json:"lookupTransitioning,omitempty"` DataKeys []string `json:"dataKeys,omitempty"` }
func (*SecretStatus) DeepCopy ¶
func (in *SecretStatus) DeepCopy() *SecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretStatus.
func (*SecretStatus) DeepCopyInto ¶
func (in *SecretStatus) DeepCopyInto(out *SecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (SecretStatus) GetCommonStatus ¶
func (in SecretStatus) GetCommonStatus() CommonStatus
type Service ¶
type Service struct { Labels ScopedLabels `json:"labels,omitempty"` Annotations ScopedLabels `json:"annotations,omitempty"` Default bool `json:"default,omitempty"` External string `json:"external,omitempty"` Alias string `json:"alias,omitempty"` Address string `json:"address,omitempty"` Ports Ports `json:"ports,omitempty"` Container string `json:"container,omitempty"` Data GenericMap `json:"data,omitempty"` Generated *GeneratedService `json:"generated,omitempty"` Image string `json:"image,omitempty"` Build *AcornBuild `json:"build,omitempty"` ServiceArgs GenericMap `json:"serviceArgs,omitempty"` Environment NameValues `json:"environment,omitempty"` Secrets SecretBindings `json:"secrets,omitempty"` Links ServiceBindings `json:"links,omitempty"` AutoUpgrade *bool `json:"autoUpgrade,omitempty"` NotifyUpgrade *bool `json:"notifyUpgrade,omitempty"` AutoUpgradeInterval string `json:"autoUpgradeInterval,omitempty"` Memory MemoryMap `json:"memory,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) UnmarshalJSON ¶
type ServiceBinding ¶
type ServiceBinding struct { Target string `json:"target,omitempty"` Service string `json:"service,omitempty"` }
func ParseLinks ¶
func ParseLinks(args []string) (result []ServiceBinding, _ error)
func (*ServiceBinding) DeepCopy ¶
func (in *ServiceBinding) DeepCopy() *ServiceBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBinding.
func (*ServiceBinding) DeepCopyInto ¶
func (in *ServiceBinding) DeepCopyInto(out *ServiceBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBinding) UnmarshalJSON ¶
func (in *ServiceBinding) UnmarshalJSON(data []byte) error
type ServiceBindings ¶
type ServiceBindings []ServiceBinding
func (ServiceBindings) DeepCopy ¶
func (in ServiceBindings) DeepCopy() ServiceBindings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBindings.
func (ServiceBindings) DeepCopyInto ¶
func (in ServiceBindings) DeepCopyInto(out *ServiceBindings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBindings) UnmarshalJSON ¶
func (in *ServiceBindings) UnmarshalJSON(data []byte) error
type ServiceInstance ¶
type ServiceInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec ServiceInstanceSpec `json:"spec,omitempty"` Status ServiceInstanceStatus `json:"status,omitempty"` }
func (*ServiceInstance) DeepCopy ¶
func (in *ServiceInstance) DeepCopy() *ServiceInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInstance.
func (*ServiceInstance) DeepCopyInto ¶
func (in *ServiceInstance) DeepCopyInto(out *ServiceInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceInstance) DeepCopyObject ¶
func (in *ServiceInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ServiceInstance) ShortID ¶
func (in *ServiceInstance) ShortID() string
type ServiceInstanceCondition ¶
type ServiceInstanceCondition string
type ServiceInstanceList ¶
type ServiceInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceInstance `json:"items"` }
func (*ServiceInstanceList) DeepCopy ¶
func (in *ServiceInstanceList) DeepCopy() *ServiceInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInstanceList.
func (*ServiceInstanceList) DeepCopyInto ¶
func (in *ServiceInstanceList) DeepCopyInto(out *ServiceInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceInstanceList) DeepCopyObject ¶
func (in *ServiceInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceInstanceSpec ¶
type ServiceInstanceSpec struct { Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Default bool `json:"default"` External string `json:"external,omitempty"` Alias string `json:"alias,omitempty"` Address string `json:"address,omitempty"` Ports Ports `json:"ports,omitempty"` Container string `json:"container,omitempty"` Job string `json:"job,omitempty"` ContainerLabels map[string]string `json:"containerLabels,omitempty"` Secrets []string `json:"secrets,omitempty"` Data GenericMap `json:"data,omitempty"` // Fields from app AppName string `json:"appName,omitempty"` AppNamespace string `json:"appNamespace,omitempty"` Routes []Route `json:"routes,omitempty"` PublishMode PublishMode `json:"publishMode,omitempty"` Publish []PortPublish `json:"publish,omitempty"` }
func (*ServiceInstanceSpec) DeepCopy ¶
func (in *ServiceInstanceSpec) DeepCopy() *ServiceInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInstanceSpec.
func (*ServiceInstanceSpec) DeepCopyInto ¶
func (in *ServiceInstanceSpec) DeepCopyInto(out *ServiceInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceInstanceStatus ¶
type ServiceInstanceStatus struct { Conditions []Condition `json:"conditions,omitempty"` Endpoints []Endpoint `json:"endpoints,omitempty"` HasService bool `json:"hasService,omitempty"` }
func (*ServiceInstanceStatus) DeepCopy ¶
func (in *ServiceInstanceStatus) DeepCopy() *ServiceInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceInstanceStatus.
func (*ServiceInstanceStatus) DeepCopyInto ¶
func (in *ServiceInstanceStatus) DeepCopyInto(out *ServiceInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceStatus ¶
type ServiceStatus struct { CommonStatus `json:",inline"` Default bool `json:"default,omitempty"` Ports Ports `json:"ports,omitempty"` Data GenericMap `json:"data,omitempty"` Secrets []string `json:"secrets,omitempty"` Address string `json:"address,omitempty"` Endpoint string `json:"endpoint,omitempty"` ServiceAcornName string `json:"serviceAcornName,omitempty"` ServiceAcornReady bool `json:"serviceAcornReady,omitempty"` ExpressionErrors []ExpressionError `json:"expressionErrors,omitempty"` }
func (*ServiceStatus) DeepCopy ¶
func (in *ServiceStatus) DeepCopy() *ServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.
func (*ServiceStatus) DeepCopyInto ¶
func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ServiceStatus) GetCommonStatus ¶
func (in ServiceStatus) GetCommonStatus() CommonStatus
type SignatureAnnotations ¶
type SignatureAnnotations struct { Match map[string]string `json:"match,omitempty"` Expressions []metav1.LabelSelectorRequirement `json:"expressions,omitempty"` }
func (*SignatureAnnotations) AsSelector ¶
func (r *SignatureAnnotations) AsSelector() (labels.Selector, error)
func (*SignatureAnnotations) DeepCopy ¶
func (in *SignatureAnnotations) DeepCopy() *SignatureAnnotations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignatureAnnotations.
func (*SignatureAnnotations) DeepCopyInto ¶
func (in *SignatureAnnotations) DeepCopyInto(out *SignatureAnnotations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SignatureRules ¶
type SignatureRules struct { SignedBy SignedBy `json:"signedBy,omitempty"` Annotations SignatureAnnotations `json:"annotations,omitempty"` }
func (*SignatureRules) DeepCopy ¶
func (in *SignatureRules) DeepCopy() *SignatureRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignatureRules.
func (*SignatureRules) DeepCopyInto ¶
func (in *SignatureRules) DeepCopyInto(out *SignatureRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SignedBy ¶
type SignedBy struct { AnyOf []string `json:"anyOf,omitempty"` AllOf []string `json:"allOf,omitempty"` }
func (*SignedBy) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SignedBy.
func (*SignedBy) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TCPProbe ¶
type TCPProbe struct {
URL string `json:"url,omitempty"`
}
func (*TCPProbe) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPProbe.
func (*TCPProbe) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VCS ¶
type VCS struct { Remotes []string `json:"remotes,omitempty"` Revision string `json:"revision,omitempty"` Modified bool `json:"modified,omitempty"` }
func (*VCS) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VCS.
func (*VCS) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeBinding ¶
type VolumeBinding struct { Volume string `json:"volume,omitempty"` Target string `json:"target,omitempty"` Size Quantity `json:"size,omitempty"` AccessModes AccessModes `json:"accessModes,omitempty"` Class string `json:"class,omitempty"` }
func ParseVolumes ¶
func ParseVolumes(args []string, fromCLI bool) (result []VolumeBinding, _ error)
func (*VolumeBinding) DeepCopy ¶
func (in *VolumeBinding) DeepCopy() *VolumeBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeBinding.
func (*VolumeBinding) DeepCopyInto ¶
func (in *VolumeBinding) DeepCopyInto(out *VolumeBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeBinding) UnmarshalJSON ¶
func (in *VolumeBinding) UnmarshalJSON(data []byte) error
type VolumeBindings ¶
type VolumeBindings []VolumeBinding
func (VolumeBindings) DeepCopy ¶
func (in VolumeBindings) DeepCopy() VolumeBindings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeBindings.
func (VolumeBindings) DeepCopyInto ¶
func (in VolumeBindings) DeepCopyInto(out *VolumeBindings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeBindings) UnmarshalJSON ¶
func (in *VolumeBindings) UnmarshalJSON(data []byte) error
type VolumeDefault ¶
type VolumeDefault struct { Class string `json:"class,omitempty"` Size Quantity `json:"size,omitempty"` AccessModes AccessModes `json:"accessModes,omitempty"` }
func (*VolumeDefault) DeepCopy ¶
func (in *VolumeDefault) DeepCopy() *VolumeDefault
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeDefault.
func (*VolumeDefault) DeepCopyInto ¶
func (in *VolumeDefault) DeepCopyInto(out *VolumeDefault)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeMount ¶
type VolumeMount struct { Volume string `json:"volume,omitempty"` SubPath string `json:"subPath,omitempty"` ContextDir string `json:"contextDir,omitempty"` Secret VolumeSecretMount `json:"secret,omitempty"` }
func (*VolumeMount) DeepCopy ¶
func (in *VolumeMount) DeepCopy() *VolumeMount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMount.
func (*VolumeMount) DeepCopyInto ¶
func (in *VolumeMount) DeepCopyInto(out *VolumeMount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeMount) UnmarshalJSON ¶
func (in *VolumeMount) UnmarshalJSON(data []byte) error
type VolumeRequest ¶
type VolumeRequest struct { Labels map[string]string `json:"labels,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Class string `json:"class,omitempty"` Size Quantity `json:"size,omitempty"` AccessModes AccessModes `json:"accessModes,omitempty"` }
func (*VolumeRequest) DeepCopy ¶
func (in *VolumeRequest) DeepCopy() *VolumeRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeRequest.
func (*VolumeRequest) DeepCopyInto ¶
func (in *VolumeRequest) DeepCopyInto(out *VolumeRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSecretMount ¶
type VolumeSecretMount struct { Name string `json:"name,omitempty"` OnChange ChangeType `json:"onChange,omitempty"` }
func (*VolumeSecretMount) DeepCopy ¶
func (in *VolumeSecretMount) DeepCopy() *VolumeSecretMount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSecretMount.
func (*VolumeSecretMount) DeepCopyInto ¶
func (in *VolumeSecretMount) DeepCopyInto(out *VolumeSecretMount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeStatus ¶
type VolumeStatus struct { CommonStatus `json:",inline"` VolumeName string `json:"volumeName,omitempty"` StorageClassFound bool `json:"storageClassFound,omitempty"` Bound bool `json:"bound,omitempty"` }
func (*VolumeStatus) DeepCopy ¶
func (in *VolumeStatus) DeepCopy() *VolumeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeStatus.
func (*VolumeStatus) DeepCopyInto ¶
func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (VolumeStatus) GetCommonStatus ¶
func (in VolumeStatus) GetCommonStatus() CommonStatus