v1

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 31 Imported by: 3

Documentation

Index

Constants

View Source
const (
	PublishModeAll     = PublishMode("all")
	PublishModeNone    = PublishMode("none")
	PublishModeDefined = PublishMode("defined")
)
View Source
const (
	ChangeTypeRedeploy = "redeploy"
	ChangeTypeNoAction = "noAction"
)
View Source
const (
	DependencySecret    = DependencyType("secret")
	DependencyService   = DependencyType("service")
	DependencyJob       = DependencyType("job")
	DependencyContainer = DependencyType("container")
	DependencyFunction  = DependencyType("function")
)
View Source
const (
	LabelTypeRouter    = "router"
	LabelTypeContainer = "container"
	LabelTypeFunction  = "function"
	LabelTypeJob       = "job"
	LabelTypeVolume    = "volume"
	LabelTypeSecret    = "secret"
	LabelTypeMeta      = "metadata"
	LabelTypeAcorn     = "acorn"
	LabelTypeService   = "service"
)
View Source
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"
	SecretTypeCredentialPrefix                   = "credential."
)
View Source
const Version = "v1"

Variables

View Source
var (
	AppInstanceConditionDefined             = "defined"
	AppInstanceConditionDefaults            = "defaults"
	AppInstanceConditionResolvedOfferings   = "resolved-offerings"
	AppInstanceConditionScheduling          = "scheduling"
	AppInstanceConditionNamespace           = "namespace"
	AppInstanceConditionParsed              = "parsed"
	AppInstanceConditionController          = "controller"
	AppInstanceConditionPulled              = "image-pull"
	AppInstanceConditionSecrets             = "secrets"
	AppInstanceConditionServices            = "services"
	AppInstanceConditionContainers          = "containers"
	AppInstanceConditionFunctions           = "functions"
	AppInstanceConditionJobs                = "jobs"
	AppInstanceConditionAcorns              = "acorns"
	AppInstanceConditionRouters             = "routers"
	AppInstanceConditionPermissions         = "permissions"
	AppInstanceConditionConsumerPermissions = "consumer-permissions"
	AppInstanceConditionReady               = "Ready"
	AppInstanceConditionVolumes             = "volumes"
	AppInstanceConditionQuota               = "quota"
)
View Source
var (
	ProtocolTCP   = Protocol("tcp")
	ProtocolUDP   = Protocol("udp")
	ProtocolHTTP  = Protocol("http")
	ProtocolHTTP2 = Protocol("http2")
)
View Source
var (
	PublishProtocolTCP   = PublishProtocol("tcp")
	PublishProtocolUDP   = PublishProtocol("udp")
	PublishProtocolHTTP  = PublishProtocol("http")
	PublishProtocolHTTPS = PublishProtocol("https")
	PublishProtocolHTTP2 = PublishProtocol("http2")
)
View Source
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")
)
View Source
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"}
)
View Source
var (
	AcornImageBuildInstanceConditionBuild = "build"
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   acorn_io.Group,
	Version: Version,
}
View Source
var (
	ServiceInstanceConditionDefined = "defined"
)

Functions

func AddImpliedResources added in v0.10.0

func AddImpliedResources(in *AppSpec) error

func AddToScheme

func AddToScheme(scheme *runtime.Scheme) error

func GroupByServiceName

func GroupByServiceName(perms []Permissions) map[string]Permissions

func KVMap

func KVMap(val string, sep string) map[string]string

func MustParseResourceQuantity

func MustParseResourceQuantity(s Quantity) *resource.Quantity

func ValidateMemory

func ValidateMemory(memSpec MemoryMap, containerName string, container Container, specMemDefault, specMemMaximum *int64) (resource.Quantity, error)

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"`
	Name                string                 `json:"name,omitempty"`
	Description         string                 `json:"description,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:"class,omitempty"`
	Permissions         map[string]Permissions `json:"permissions,omitempty"`
}

func (*Acorn) DeepCopy

func (in *Acorn) DeepCopy() *Acorn

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

func (*Acorn) DeepCopyInto

func (in *Acorn) DeepCopyInto(out *Acorn)

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

func (Acorn) GetOriginalImage

func (in Acorn) GetOriginalImage() string

func (*Acorn) UnmarshalJSON

func (in *Acorn) UnmarshalJSON(data []byte) error

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

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

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

func (*AcornImageBuildInstanceList) DeepCopyInto

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

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

func (*AcornImageBuildInstanceSpec) DeepCopyInto

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

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

func (*AcornImageBuildInstanceStatus) DeepCopyInto

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

func (in *Alias) DeepCopy() *Alias

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

func (*Alias) DeepCopyInto

func (in *Alias) DeepCopyInto(out *Alias)

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"`
	BuildContext BuildContext     `json:"buildContext,omitempty"`
	Profiles     []string         `json:"profiles,omitempty"`
	VCS          VCS              `json:"vcs,omitempty"`
	Version      *AppImageVersion `json:"version,omitempty"`
}

func (*AppImage) DeepCopy

func (in *AppImage) DeepCopy() *AppImage

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

func (*AppImage) DeepCopyInto

func (in *AppImage) DeepCopyInto(out *AppImage)

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

type AppImageVersion added in v0.9.0

type AppImageVersion struct {
	RuntimeVersion  string `json:"runtimeVersion,omitempty"`
	AcornfileSchema string `json:"acornfileSchema,omitempty"`
}

func (*AppImageVersion) DeepCopy added in v0.9.0

func (in *AppImageVersion) DeepCopy() *AppImageVersion

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

func (*AppImageVersion) DeepCopyInto added in v0.9.0

func (in *AppImageVersion) DeepCopyInto(out *AppImageVersion)

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) GetAllContainerNames added in v0.10.1

func (in *AppInstance) GetAllContainerNames() []string

GetAllContainerNames returns a string slice containing the name of every container, job, and sidecar defined in Status.AppSpec.

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"`
	Links                   []ServiceBinding `json:"services,omitempty"`
	Publish                 []PortBinding    `json:"ports,omitempty"`
	DeployArgs              *GenericMap      `json:"deployArgs,omitempty"`
	GrantedPermissions      []Permissions    `json:"permissions,omitempty"`             // Permissions granted by the user (later mixed with other granted perms)
	ImageGrantedPermissions []Permissions    `json:"imageGrantedPermissions,omitempty"` // Permissions implicitly granted to the image
	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) GetGrantedPermissions added in v0.9.0

func (in *AppInstanceSpec) GetGrantedPermissions() []Permissions

GetGrantedPermissions returns the permissions for the app as granted by the user or granted implicitly to the image. Those are not necessarily equal to the permissions actually requested by the images within the app.

func (*AppInstanceSpec) GetNotifyUpgrade

func (in *AppInstanceSpec) GetNotifyUpgrade() bool

func (*AppInstanceSpec) GetProfiles

func (in *AppInstanceSpec) GetProfiles(devMode bool) []string

type AppInstanceStatus

type AppInstanceStatus struct {
	EmbeddedAppStatus `json:",inline"`
	Scheduling        map[string]Scheduling `json:"scheduling,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.

type AppSpec

type AppSpec struct {
	Labels      map[string]string        `json:"labels,omitempty"`
	Annotations map[string]string        `json:"annotations,omitempty"`
	Name        string                   `json:"name,omitempty"`
	Description string                   `json:"description,omitempty"`
	Readme      string                   `json:"readme,omitempty"`
	Info        string                   `json:"info,omitempty"`
	Icon        string                   `json:"icon,omitempty"`
	Containers  map[string]Container     `json:"containers,omitempty"`
	Functions   map[string]Container     `json:"functions,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"`
	Assistants  map[string]Assistant     `json:"assistants,omitempty"`
}

func (*AppSpec) DeepCopy

func (in *AppSpec) DeepCopy() *AppSpec

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

func (*AppSpec) DeepCopyInto

func (in *AppSpec) DeepCopyInto(out *AppSpec)

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

func (*AppSpec) UnmarshalJSON

func (in *AppSpec) UnmarshalJSON(data []byte) error

type AppStatus

type AppStatus struct {
	Permissions []Permissions `json:"permissions,omitempty"`

	Containers map[string]ContainerStatus `json:"containers,omitempty"`
	Functions  map[string]ContainerStatus `json:"functions,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"`
	Completed     bool       `json:"completed,omitempty"`
	LoginRequired bool       `json:"loginRequired,omitempty"`
}

func (*AppStatus) DeepCopy

func (in *AppStatus) DeepCopy() *AppStatus

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

func (*AppStatus) DeepCopyInto

func (in *AppStatus) DeepCopyInto(out *AppStatus)

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

type AppStatusStaged

type AppStatusStaged struct {
	// Staged for promotion to Status
	AppImage             AppImage      `json:"appImage,omitempty"`
	AppScopedPermissions []Permissions `json:"appScopedPermissions,omitempty"` // Permissions requested by the app (narrow scope, not including nested Acorns/Services)

	PermissionsChecked            bool          `json:"permissionsChecked,omitempty"`
	PermissionsMissing            []Permissions `json:"permissionsMissing,omitempty"`
	PermissionsObservedGeneration int64         `json:"permissionsObservedGeneration,omitempty"`
	ImagePermissionsDenied        []Permissions `json:"imagePermissionsDenied,omitempty"`
	ImageAllowed                  *bool         `json:"imageAllowed,omitempty"`
}

func (*AppStatusStaged) DeepCopy

func (in *AppStatusStaged) DeepCopy() *AppStatusStaged

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

func (*AppStatusStaged) DeepCopyInto

func (in *AppStatusStaged) DeepCopyInto(out *AppStatusStaged)

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

type Array added in v0.9.0

type Array struct {
	Types []FieldType `json:"items,omitempty"`
}

func (*Array) DeepCopy added in v0.9.0

func (in *Array) DeepCopy() *Array

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

func (*Array) DeepCopyInto added in v0.9.0

func (in *Array) DeepCopyInto(out *Array)

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

type Assistant added in v0.10.0

type Assistant struct {
	Labels       map[string]string  `json:"labels,omitempty"`
	Annotations  map[string]string  `json:"annotations,omitempty"`
	Name         string             `json:"name,omitempty"`
	Description  string             `json:"description,omitempty"`
	Prompts      Prompts            `json:"prompts,omitempty"`
	Vision       bool               `json:"vision,omitempty"`
	Model        string             `json:"model,omitempty"`
	Dependencies Dependencies       `json:"tools,omitempty"`
	InputSchema  *jsonschema.Schema `json:"inputSchema,omitempty"`
	MaxTokens    int                `json:"maxTokens,omitempty"`
	JSONResponse bool               `json:"jsonResponse,omitempty"`
	Cache        *bool              `json:"cache,omitempty"`
}

func (*Assistant) DeepCopy added in v0.10.0

func (in *Assistant) DeepCopy() *Assistant

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

func (*Assistant) DeepCopyInto added in v0.10.0

func (in *Assistant) DeepCopyInto(out *Assistant)

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"`
	AdditionalContexts map[string]string `json:"additionalContexts,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"`
	WatchFiles         []string          `json:"watchFiles,omitempty"`
}

func (Build) BaseBuild

func (in Build) BaseBuild() Build

func (*Build) DeepCopy

func (in *Build) DeepCopy() *Build

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

func (*Build) DeepCopyInto

func (in *Build) DeepCopyInto(out *Build)

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

func (*Build) UnmarshalJSON

func (in *Build) UnmarshalJSON(data []byte) error

type BuildContext added in v0.9.0

type BuildContext struct {
	Cwd           string `json:"cwd,omitempty"`
	AcornfilePath string `json:"acornfilePath,omitempty"`
}

func (*BuildContext) DeepCopy added in v0.9.0

func (in *BuildContext) DeepCopy() *BuildContext

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

func (*BuildContext) DeepCopyInto added in v0.9.0

func (in *BuildContext) DeepCopyInto(out *BuildContext)

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

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

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 {
	Icon       string                               `json:"icon,omitempty"`
	Readme     string                               `json:"readme,omitempty"`
	Services   map[string]AcornBuilderSpec          `json:"services,omitempty"`
	Containers map[string]ContainerImageBuilderSpec `json:"containers,omitempty"`
	Functions  map[string]ContainerImageBuilderSpec `json:"functions,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 {
	State                 string   `json:"state,omitempty"`
	Ready                 bool     `json:"ready,omitempty"`
	UpToDate              bool     `json:"upToDate,omitempty"`
	Defined               bool     `json:"defined,omitempty"`
	LinkOverride          string   `json:"linkOverride,omitempty"`
	Messages              []string `json:"messages,omitempty"`
	TransitioningMessages []string `json:"transitioningMessages,omitempty"`
	ErrorMessages         []string `json:"errorMessages,omitempty"`
	ConfigHash            string   `json:"configHash,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 CommonSummary

type CommonSummary struct {
	State                 string   `json:"state,omitempty"`
	Messages              []string `json:"messages,omitempty"`
	TransitioningMessages []string `json:"transitioningMessages,omitempty"`
	ErrorMessages         []string `json:"errorMessages,omitempty"`
}

func (*CommonSummary) DeepCopy

func (in *CommonSummary) DeepCopy() *CommonSummary

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

func (*CommonSummary) DeepCopyInto

func (in *CommonSummary) DeepCopyInto(out *CommonSummary)

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

type ComputeClassMap

type ComputeClassMap map[string]string

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.

func (*ComputeClassMap) UnmarshalJSON

func (in *ComputeClassMap) UnmarshalJSON(data []byte) error

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

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

func (Condition) Init

func (in Condition) Init(name string, generation int64) Condition

func (Condition) Set

func (in Condition) Set(cond Condition, generation int64) Condition

func (Condition) ToReason

func (in Condition) ToReason() string

func (Condition) ToStatus

func (in Condition) ToStatus() metav1.ConditionStatus

type Constraint added in v0.9.0

type Constraint struct {
	Op    string `json:"op,omitempty"`
	Right string `json:"right,omitempty"`
}

func (*Constraint) DeepCopy added in v0.9.0

func (in *Constraint) DeepCopy() *Constraint

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

func (*Constraint) DeepCopyInto added in v0.9.0

func (in *Constraint) DeepCopyInto(out *Constraint)

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

type Container

type Container struct {
	Labels       map[string]string      `json:"labels,omitempty"`
	Annotations  map[string]string      `json:"annotations,omitempty"`
	Name         string                 `json:"name,omitempty"`
	Description  string                 `json:"description,omitempty"`
	Dirs         map[string]VolumeMount `json:"dirs,omitempty"`
	Files        Files                  `json:"files,omitempty"`
	Image        string                 `json:"image,omitempty"`
	Build        *Build                 `json:"build,omitempty"`
	Src          string                 `json:"src,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"`
	UserContext  *UserContext           `json:"user,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"`

	// InputSchema is only available on function
	InputSchema *jsonschema.Schema `json:"inputSchema,omitempty"`
}

func (*Container) DeepCopy

func (in *Container) DeepCopy() *Container

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

func (*Container) DeepCopyInto

func (in *Container) DeepCopyInto(out *Container)

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

func (*Container) UnmarshalJSON

func (in *Container) UnmarshalJSON(data []byte) error

type ContainerData

type ContainerData struct {
	Image             string               `json:"image,omitempty"`
	Sidecars          map[string]ImageData `json:"sidecars,omitempty"`
	AcornfileFragment string               `json:"acornfileFragment,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"`
	Src   string `json:"src,omitempty"`
	// Sidecars is only populated for non-sidecar containers
	Sidecars map[string]ContainerImageBuilderSpec `json:"sidecars,omitempty"`
}

func (*ContainerImageBuilderSpec) DeepCopy

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

func (*ContainerImageBuilderSpec) DeepCopyInto

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

func (*ContainerImageBuilderSpec) Normalize

func (*ContainerImageBuilderSpec) UnmarshalJSON

func (in *ContainerImageBuilderSpec) UnmarshalJSON(data []byte) error

type ContainerResolvedOffering added in v0.10.0

type ContainerResolvedOffering struct {
	Class  string `json:"class,omitempty"`
	Memory *int64 `json:"memory,omitempty"`
	CPU    *int64 `json:"cpu,omitempty"`
}

func (*ContainerResolvedOffering) DeepCopy added in v0.10.0

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

func (*ContainerResolvedOffering) DeepCopyInto added in v0.10.0

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

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 {
	VolumeSize *resource.Quantity       `json:"volumeSize,omitempty"`
	Volumes    map[string]VolumeDefault `json:"volumes,omitempty"`
	Memory     map[string]*int64        `json:"memory,omitempty"`
	Region     string                   `json:"region,omitempty"`
}

func (*Defaults) DeepCopy

func (in *Defaults) DeepCopy() *Defaults

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

func (*Defaults) DeepCopyInto

func (in *Defaults) DeepCopyInto(out *Defaults)

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"`
	SubKey         string         `json:"subKey,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

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.

func (*DevSessionInstance) HasRegion

func (in *DevSessionInstance) HasRegion(region string) bool

type DevSessionInstanceClient

type DevSessionInstanceClient struct {
	Hostname    string                `json:"hostname,omitempty"`
	ImageSource DevSessionImageSource `json:"imageSource,omitempty"`
}

func (*DevSessionInstanceClient) DeepCopy

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

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

func (*DevSessionInstanceExpireAction) DeepCopyInto

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

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 {
	Region                string                   `json:"region,omitempty"`
	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

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

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 EmbeddedAppStatus added in v0.10.1

type EmbeddedAppStatus struct {
	DevSession             *DevSessionInstanceSpec `json:"devSession,omitempty"`
	ObservedGeneration     int64                   `json:"observedGeneration,omitempty"`
	ObservedImageDigest    string                  `json:"observedImageDigest,omitempty"`
	ObservedAutoUpgrade    bool                    `json:"observedAutoUpgrade,omitempty"`
	Columns                AppColumns              `json:"columns,omitempty"`
	Ready                  bool                    `json:"ready,omitempty"`
	Namespace              string                  `json:"namespace,omitempty"`
	Staged                 AppStatusStaged         `json:"staged,omitempty"`
	AppImage               AppImage                `json:"appImage,omitempty"`
	AvailableAppImage      string                  `json:"availableAppImage,omitempty"`
	ConfirmUpgradeAppImage string                  `json:"confirmUpgradeAppImage,omitempty"`
	AppSpec                AppSpec                 `json:"appSpec,omitempty"`
	AppStatus              AppStatus               `json:"appStatus,omitempty"`
	Conditions             []Condition             `json:"conditions,omitempty"`
	Defaults               Defaults                `json:"defaults,omitempty"`
	ResolvedOfferings      ResolvedOfferings       `json:"resolvedOfferings,omitempty"`
	Summary                CommonSummary           `json:"summary,omitempty"`

	// Permissions granted to the app (only containers within, not nested Acorns/Services).
	Permissions []Permissions `json:"permissions,omitempty"`

	// Permissions required by services the app, but have not been granted to the App.
	DeniedConsumerPermissions []Permissions `json:"deniedConsumerPermissions,omitempty"`
}

func (*EmbeddedAppStatus) DeepCopy added in v0.10.1

func (in *EmbeddedAppStatus) DeepCopy() *EmbeddedAppStatus

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

func (*EmbeddedAppStatus) DeepCopyInto added in v0.10.1

func (in *EmbeddedAppStatus) DeepCopyInto(out *EmbeddedAppStatus)

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

func (EmbeddedAppStatus) GetDevMode added in v0.10.1

func (in EmbeddedAppStatus) GetDevMode() bool

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"`
	Path            string          `json:"path,omitempty"`
	Pending         bool            `json:"pending,omitempty"`
}

func (*Endpoint) DeepCopy

func (in *Endpoint) DeepCopy() *Endpoint

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

func (*Endpoint) DeepCopyInto

func (in *Endpoint) DeepCopyInto(out *Endpoint)

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

func (in *EnvVar) DeepCopy() *EnvVar

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

func (*EnvVar) DeepCopyInto

func (in *EnvVar) DeepCopyInto(out *EnvVar)

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

func (*EnvVar) UnmarshalJSON

func (in *EnvVar) UnmarshalJSON(data []byte) error

type EnvVars

type EnvVars []EnvVar

func (EnvVars) DeepCopy

func (in EnvVars) DeepCopy() EnvVars

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

func (EnvVars) DeepCopyInto

func (in EnvVars) DeepCopyInto(out *EnvVars)

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

func (*EnvVars) UnmarshalJSON

func (in *EnvVars) UnmarshalJSON(data []byte) error

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.
	// +optional
	Actor string `json:"actor,omitempty"`

	// AppName is the name of the app that the event is related to, if any.
	// +optional
	AppName string `json:"appName,omitempty"`

	// ServiceName is the name of the service that the event is related to, if any.
	// +optional
	ServiceName string `json:"serviceName,omitempty"`

	// Resource identifies the object the Event is regarding.
	// +optional
	Resource *EventResource `json:"resource,omitempty"`

	// Description is a human-readable description of the Event.
	// +optional
	Description string `json:"description,omitempty"`

	// Observed represents the time the Event was first observed.
	// +optional
	Observed MicroTime `json:"observed,omitempty" 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 EventResource

type EventResource struct {
	// Kind is the resource kind.
	Kind string `json:"kind"`

	// Name is the name of the resource.
	Name string `json:"name"`

	// UID uniquely identifies the resource.
	UID types.UID `json:"uuid"`
}

EventResource identifies a resource related to an Event.

The referenced resource 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 (*EventResource) DeepCopy

func (in *EventResource) DeepCopy() *EventResource

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

func (*EventResource) DeepCopyInto

func (in *EventResource) DeepCopyInto(out *EventResource)

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

func (EventResource) String

func (e EventResource) String() string

type EventSeverity

type EventSeverity string

EventSeverity indicates the severity of an event.

const (
	// EventSeverityInfo indicates an event describes a system operating "as expected".
	EventSeverityInfo EventSeverity = "info"

	// EventSeverityError indicates an event describes an error.
	EventSeverityError EventSeverity = "error"
)

type ExecProbe

type ExecProbe struct {
	Command []string `json:"command,omitempty"`
}

func (*ExecProbe) DeepCopy

func (in *ExecProbe) DeepCopy() *ExecProbe

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

func (*ExecProbe) DeepCopyInto

func (in *ExecProbe) DeepCopyInto(out *ExecProbe)

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) IsMissingDependencyError

func (e *ExpressionError) IsMissingDependencyError() bool

IsMissingDependencyError indicates this error is because of a missing resource and can typically be treated as a transient error

func (*ExpressionError) String

func (e *ExpressionError) String() string

type Field added in v0.9.0

type Field struct {
	Name        string    `json:"name,omitempty"`
	Description string    `json:"description,omitempty"`
	Type        FieldType `json:"type,omitempty"`
	Match       bool      `json:"match,omitempty"`
	Optional    bool      `json:"optional,omitempty"`
}

func (*Field) DeepCopy added in v0.9.0

func (in *Field) DeepCopy() *Field

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

func (*Field) DeepCopyInto added in v0.9.0

func (in *Field) DeepCopyInto(out *Field)

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

type FieldType added in v0.9.0

type FieldType struct {
	Kind        string       `json:"kind,omitempty"`
	Object      *Object      `json:"object,omitempty"`
	Array       *Array       `json:"array,omitempty"`
	Constraints []Constraint `json:"constraints,omitempty"`
	Default     string       `json:"default,omitempty"`
	Alternates  []FieldType  `json:"alternates,omitempty"`
}

func (*FieldType) DeepCopy added in v0.9.0

func (in *FieldType) DeepCopy() *FieldType

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

func (*FieldType) DeepCopyInto added in v0.9.0

func (in *FieldType) DeepCopyInto(out *FieldType)

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

type File

type File struct {
	Mode    string          `json:"mode,omitempty"`
	Content string          `json:"content,omitempty"`
	Secret  SecretReference `json:"secret,omitempty"`
}

func (*File) DeepCopy

func (in *File) DeepCopy() *File

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

func (*File) DeepCopyInto

func (in *File) DeepCopyInto(out *File)

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

func (*File) UnmarshalJSON

func (in *File) UnmarshalJSON(data []byte) error

type Files

type Files map[string]File

func (Files) DeepCopy

func (in Files) DeepCopy() Files

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

func (Files) DeepCopyInto

func (in Files) DeepCopyInto(out *Files)

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

func (*Files) UnmarshalJSON

func (in *Files) UnmarshalJSON(data []byte) error

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 struct {
	// +optional
	Data map[string]any `json:"-"`
}

func Mapify

func Mapify(data any) (GenericMap, error)

func NewGenericMap added in v0.9.0

func NewGenericMap(data map[string]any) *GenericMap

func (GenericMap) DeepCopy

func (in GenericMap) DeepCopy() GenericMap

func (*GenericMap) DeepCopyInto

func (in *GenericMap) DeepCopyInto(out *GenericMap)

func (*GenericMap) GetData added in v0.9.0

func (g *GenericMap) GetData() map[string]any

GetData returns the underlying map[string]any and nil if the GenericMap is nil.

func (*GenericMap) MarshalJSON

func (g *GenericMap) MarshalJSON() ([]byte, error)

MarshalJSON may get called on pointers or values, so implement MarshalJSON on value.

func (*GenericMap) Merge added in v0.9.0

func (g *GenericMap) Merge(from *GenericMap) *GenericMap

Merge merges the given map into this map, returning a new map, leaving the original unchanged.

func (GenericMap) OpenAPIDefinition added in v0.9.0

func (GenericMap) OpenAPIDefinition() common.OpenAPIDefinition

func (*GenericMap) UnmarshalJSON

func (g *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

func (in *HTTPProbe) DeepCopy() *HTTPProbe

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

func (*HTTPProbe) DeepCopyInto

func (in *HTTPProbe) DeepCopyInto(out *HTTPProbe)

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

func (in *Image) DeepCopy() *Image

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

func (*Image) DeepCopyInto

func (in *Image) DeepCopyInto(out *Image)

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

	ImageSelector ImageSelector `json:"imageSelector,omitempty"`
}

func (*ImageAllowRuleInstance) DeepCopy

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

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

func (*ImageAllowRuleInstanceList) DeepCopyInto

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

func (in *ImageData) DeepCopy() *ImageData

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

func (*ImageData) DeepCopyInto

func (in *ImageData) DeepCopyInto(out *ImageData)

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
	ZZ_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 ImageMetadataCache added in v0.9.0

type ImageMetadataCache struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Data              []byte `json:"data,omitempty"`
}

func (*ImageMetadataCache) DeepCopy added in v0.9.0

func (in *ImageMetadataCache) DeepCopy() *ImageMetadataCache

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

func (*ImageMetadataCache) DeepCopyInto added in v0.9.0

func (in *ImageMetadataCache) DeepCopyInto(out *ImageMetadataCache)

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

func (*ImageMetadataCache) DeepCopyObject added in v0.9.0

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

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

type ImageMetadataCacheList added in v0.9.0

type ImageMetadataCacheList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ImageMetadataCache `json:"items"`
}

func (*ImageMetadataCacheList) DeepCopy added in v0.9.0

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

func (*ImageMetadataCacheList) DeepCopyInto added in v0.9.0

func (in *ImageMetadataCacheList) DeepCopyInto(out *ImageMetadataCacheList)

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

func (*ImageMetadataCacheList) DeepCopyObject added in v0.9.0

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

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

type ImageSelector added in v0.9.0

type ImageSelector struct {
	NamePatterns []string         `json:"namePatterns,omitempty"`
	Signatures   []SignatureRules `json:"signatures,omitempty"`
}

func (*ImageSelector) DeepCopy added in v0.9.0

func (in *ImageSelector) DeepCopy() *ImageSelector

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

func (*ImageSelector) DeepCopyInto added in v0.9.0

func (in *ImageSelector) DeepCopyInto(out *ImageSelector)

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

type ImagesData

type ImagesData struct {
	Containers map[string]ContainerData `json:"containers,omitempty"`
	Functions  map[string]ContainerData `json:"functions,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"`
	Schedule             string                      `json:"schedule,omitempty"`
	JobName              string                      `json:"name,omitempty"`
	JobNamespace         string                      `json:"namespace,omitempty"`
	CreationTime         *metav1.Time                `json:"creationTime,omitempty"`
	StartTime            *metav1.Time                `json:"startTime,omitempty"`
	CompletionTime       *metav1.Time                `json:"completionTime,omitempty"`
	LastRun              *metav1.Time                `json:"lastRun,omitempty"`
	NextRun              *metav1.Time                `json:"nextRun,omitempty"`
	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

func (in *JobStatus) DeepCopy() *JobStatus

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

func (*JobStatus) DeepCopyInto

func (in *JobStatus) DeepCopyInto(out *JobStatus)

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

type MemoryMap map[string]*int64

Workload to its memory

func ParseMemory

func ParseMemory(s []string) (MemoryMap, error)

func (MemoryMap) DeepCopy

func (in MemoryMap) DeepCopy() MemoryMap

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

func (MemoryMap) DeepCopyInto

func (in MemoryMap) DeepCopyInto(out *MemoryMap)

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

func (*MemoryMap) UnmarshalJSON

func (in *MemoryMap) UnmarshalJSON(data []byte) error

type MetricsDef

type MetricsDef struct {
	Port int32  `json:"port,omitempty"`
	Path string `json:"path,omitempty"`
}

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

type MicroTime metav1.MicroTime

MicroTime represents a time with microsecond level precision.

It extends metav1.MicroTime to allow unmarshaling from RFC3339.

func NewMicroTime

func NewMicroTime(t time.Time) MicroTime

func NowMicro

func NowMicro() MicroTime

func (*MicroTime) DeepCopy

func (in *MicroTime) DeepCopy() *MicroTime

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

func (*MicroTime) DeepCopyInto

func (t *MicroTime) DeepCopyInto(out *MicroTime)

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) MarshalJSON

func (t MicroTime) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (MicroTime) OpenAPISchemaFormat

func (_ MicroTime) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

func (MicroTime) OpenAPISchemaType

func (_ MicroTime) OpenAPISchemaType() []string

OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators

func (*MicroTime) UnmarshalJSON

func (t *MicroTime) UnmarshalJSON(b []byte) error

UnmarshalJSON implements the json.Unmarshaller interface.

type NameValue

type NameValue struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

func ParseNameValues

func ParseNameValues(fillEnv bool, s ...string) (result []NameValue)

func (*NameValue) DeepCopy

func (in *NameValue) DeepCopy() *NameValue

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

func (*NameValue) DeepCopyInto

func (in *NameValue) DeepCopyInto(out *NameValue)

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

func (*NameValue) UnmarshalJSON

func (in *NameValue) UnmarshalJSON(data []byte) error

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 Object added in v0.9.0

type Object struct {
	Path         string  `json:"path,omitempty"`
	Reference    bool    `json:"reference,omitempty"`
	Description  string  `json:"description,omitempty"`
	Fields       []Field `json:"fields,omitempty"`
	AllowNewKeys bool    `json:"allowNewKeys,omitempty"`
}

func (*Object) DeepCopy added in v0.9.0

func (in *Object) DeepCopy() *Object

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

func (*Object) DeepCopyInto added in v0.9.0

func (in *Object) DeepCopyInto(out *Object)

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

type ParamSpec

type ParamSpec struct {
	Args     []Field   `json:"args,omitempty"`
	Profiles []Profile `json:"profiles,omitempty"`
}

func (*ParamSpec) DeepCopy

func (in *ParamSpec) DeepCopy() *ParamSpec

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

func (*ParamSpec) DeepCopyInto

func (in *ParamSpec) DeepCopyInto(out *ParamSpec)

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

type PathType

type PathType string
const (
	PathTypeExact  PathType = "exact"
	PathTypePrefix PathType = "prefix"
)

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) (result Permissions)

func Grants

func Grants(currentNamespace string, requestedPermissions, grantedPermissions Permissions) (missing Permissions, granted bool)

func GrantsAll

func GrantsAll(currentNamespace string, requestedPerms, grantedPerms []Permissions) (missing []Permissions, granted bool)

func Simplify

func Simplify(perms Permissions) (result Permissions)

func SimplifySet

func SimplifySet(perms []Permissions) (result []Permissions)

SimplifySet takes a set of permissions and simplifies them by combining rules

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) Grants

func (in Permissions) Grants(currentNamespace string, forService string, requested PolicyRule) bool

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

func (in *Platform) DeepCopy() *Platform

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

func (*Platform) DeepCopyInto

func (in *Platform) DeepCopyInto(out *Platform)

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) Exploded

func (p PolicyRule) Exploded() (result []PolicyRule)

func (PolicyRule) Grants

func (p PolicyRule) Grants(currentNamespace string, requested PolicyRule) bool

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"`
	Path       string   `json:"path,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 ParsePorts(args []string) (result []PortDef, _ error)

func (PortDef) Complete

func (in PortDef) Complete() PortDef

func (*PortDef) DeepCopy

func (in *PortDef) DeepCopy() *PortDef

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

func (*PortDef) DeepCopyInto

func (in *PortDef) DeepCopyInto(out *PortDef)

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

func (PortDef) FormatString

func (in PortDef) FormatString(serviceName string) string

func (*PortDef) UnmarshalJSON

func (in *PortDef) UnmarshalJSON(data []byte) error

type PortPublish

type PortPublish struct {
	Port       int32    `json:"port,omitempty"`
	Protocol   Protocol `json:"protocol,omitempty"`
	Hostname   string   `json:"hostname,omitempty"`
	Path       string   `json:"path,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

func (in Ports) DeepCopy() Ports

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

func (Ports) DeepCopyInto

func (in Ports) DeepCopyInto(out *Ports)

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

func (*Ports) UnmarshalJSON

func (in *Ports) UnmarshalJSON(data []byte) error

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

func (in *Probe) DeepCopy() *Probe

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

func (*Probe) DeepCopyInto

func (in *Probe) DeepCopyInto(out *Probe)

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

func (*Probe) UnmarshalJSON

func (in *Probe) UnmarshalJSON(data []byte) error

type ProbeType

type ProbeType string
const (
	ReadinessProbeType ProbeType = "readiness"
	LivenessProbeType  ProbeType = "liveness"
	StartupProbeType   ProbeType = "startup"
)

type Probes

type Probes []Probe

func (Probes) DeepCopy

func (in Probes) DeepCopy() Probes

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

func (Probes) DeepCopyInto

func (in Probes) DeepCopyInto(out *Probes)

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

func (*Probes) UnmarshalJSON

func (in *Probes) UnmarshalJSON(data []byte) error

type Profile

type Profile struct {
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

func (*Profile) DeepCopy

func (in *Profile) DeepCopy() *Profile

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

func (*Profile) DeepCopyInto

func (in *Profile) DeepCopyInto(out *Profile)

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

type ProjectInstance

type ProjectInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ProjectInstanceSpec   `json:"spec,omitempty"`
	Status            ProjectInstanceStatus `json:"status,omitempty"`
}

func (*ProjectInstance) DeepCopy

func (in *ProjectInstance) DeepCopy() *ProjectInstance

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

func (*ProjectInstance) DeepCopyInto

func (in *ProjectInstance) DeepCopyInto(out *ProjectInstance)

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

func (*ProjectInstance) DeepCopyObject

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

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

func (*ProjectInstance) GetRegion

func (in *ProjectInstance) GetRegion() string

func (*ProjectInstance) GetSupportedRegions

func (in *ProjectInstance) GetSupportedRegions() []string

func (*ProjectInstance) HasRegion

func (in *ProjectInstance) HasRegion(region string) bool

func (*ProjectInstance) NamespaceScoped

func (in *ProjectInstance) NamespaceScoped() bool

func (*ProjectInstance) SetDefaultRegion

func (in *ProjectInstance) SetDefaultRegion(region string)

type ProjectInstanceList

type ProjectInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ProjectInstance `json:"items"`
}

func (*ProjectInstanceList) DeepCopy

func (in *ProjectInstanceList) DeepCopy() *ProjectInstanceList

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

func (*ProjectInstanceList) DeepCopyInto

func (in *ProjectInstanceList) DeepCopyInto(out *ProjectInstanceList)

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

func (*ProjectInstanceList) DeepCopyObject

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

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

type ProjectInstanceSpec

type ProjectInstanceSpec struct {
	DefaultRegion    string   `json:"defaultRegion,omitempty"`
	SupportedRegions []string `json:"supportedRegions,omitempty"`
}

func (*ProjectInstanceSpec) DeepCopy

func (in *ProjectInstanceSpec) DeepCopy() *ProjectInstanceSpec

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

func (*ProjectInstanceSpec) DeepCopyInto

func (in *ProjectInstanceSpec) DeepCopyInto(out *ProjectInstanceSpec)

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

type ProjectInstanceStatus

type ProjectInstanceStatus struct {
	Namespace     string `json:"namespace,omitempty"`
	DefaultRegion string `json:"defaultRegion,omitempty"`
	// SupportedRegions on the status field should be an explicit list of supported regions.
	// That is, if the user specifies "*" for supported regions, then the status value should be the list of all regions.
	// This is to avoid having to make another call to explicitly list all regions.
	SupportedRegions []string `json:"supportedRegions,omitempty"`
}

func (*ProjectInstanceStatus) DeepCopy

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

func (*ProjectInstanceStatus) DeepCopyInto

func (in *ProjectInstanceStatus) DeepCopyInto(out *ProjectInstanceStatus)

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

type Prompts added in v0.10.0

type Prompts []string

func (Prompts) DeepCopy added in v0.10.0

func (in Prompts) DeepCopy() Prompts

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

func (Prompts) DeepCopyInto added in v0.10.0

func (in Prompts) DeepCopyInto(out *Prompts)

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

func (*Prompts) UnmarshalJSON added in v0.10.0

func (in *Prompts) UnmarshalJSON(data []byte) error

type Protocol

type Protocol string

type PublishMode

type PublishMode string

type PublishProtocol

type PublishProtocol string

type Quantity

type Quantity string

func ParseQuantity

func ParseQuantity(s string) (Quantity, error)

func (*Quantity) UnmarshalJSON

func (in *Quantity) UnmarshalJSON(data []byte) error

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 ResolvedOfferings added in v0.10.0

type ResolvedOfferings struct {
	Volumes    map[string]VolumeResolvedOffering    `json:"volumes,omitempty"`
	VolumeSize *resource.Quantity                   `json:"volumeSize,omitempty"`
	Containers map[string]ContainerResolvedOffering `json:"containers,omitempty"`
	Region     string                               `json:"region,omitempty"`
}

func (*ResolvedOfferings) DeepCopy added in v0.10.0

func (in *ResolvedOfferings) DeepCopy() *ResolvedOfferings

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

func (*ResolvedOfferings) DeepCopyInto added in v0.10.0

func (in *ResolvedOfferings) DeepCopyInto(out *ResolvedOfferings)

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

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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"`
	Name        string            `json:"name,omitempty"`
	Description string            `json:"description,omitempty"`
	Routes      Routes            `json:"routes,omitempty"`
}

func (*Router) DeepCopy

func (in *Router) DeepCopy() *Router

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

func (*Router) DeepCopyInto

func (in *Router) DeepCopyInto(out *Router)

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"`
	MissingTargets []string `json:"missingTargets,omitempty"`
}

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

func (in Routes) DeepCopy() Routes

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

func (Routes) DeepCopyInto

func (in Routes) DeepCopyInto(out *Routes)

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

func (*Routes) UnmarshalJSON

func (in *Routes) UnmarshalJSON(data []byte) error

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"`
	RuntimeClassName  string                      `json:"runtimeClassName,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"`
	Name        string            `json:"name,omitempty"`
	Description string            `json:"description,omitempty"`
	Type        string            `json:"type,omitempty"`
	Params      *GenericMap       `json:"params,omitempty"`
	Data        map[string]string `json:"data,omitempty"`
}

func (*Secret) DeepCopy

func (in *Secret) DeepCopy() *Secret

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

func (*Secret) DeepCopyInto

func (in *Secret) DeepCopyInto(out *Secret)

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"`
	Missing             bool     `json:"missing,omitempty"`
	LoginRequired       bool     `json:"loginRequired,omitempty"`
	LoginInstructions   string   `json:"loginInstructions,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"`
	Name                string                 `json:"name,omitempty"`
	Description         string                 `json:"description,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"`
	ComputeClasses      ComputeClassMap        `json:"class,omitempty"`
	Permissions         map[string]Permissions `json:"permissions,omitempty"`
	Consumer            *ServiceConsumer       `json:"consumer,omitempty"`
	ContainerLabels     map[string]string      `json:"containerLabels,omitempty"`
}

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

func (Service) GetJob

func (in Service) GetJob() string

func (Service) GetOriginalImage

func (in Service) GetOriginalImage() string

func (*Service) UnmarshalJSON

func (in *Service) UnmarshalJSON(data []byte) error

type ServiceBinding

type ServiceBinding struct {
	Target  string `json:"target,omitempty"`
	Service string `json:"service,omitempty"`
}
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 ServiceConsumer

type ServiceConsumer struct {
	Permissions *Permissions `json:"permissions,omitempty"`
	Files       Files        `json:"files,omitempty"`
	Environment EnvVars      `json:"environment,omitempty"`
}

func (*ServiceConsumer) DeepCopy

func (in *ServiceConsumer) DeepCopy() *ServiceConsumer

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

func (*ServiceConsumer) DeepCopyInto

func (in *ServiceConsumer) DeepCopyInto(out *ServiceConsumer)

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

func (*ServiceConsumer) UnmarshalJSON

func (in *ServiceConsumer) 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"`
	Function        string            `json:"function,omitempty"`
	Job             string            `json:"job,omitempty"`
	ContainerLabels map[string]string `json:"containerLabels,omitempty"`
	Secrets         []string          `json:"secrets,omitempty"`
	Data            *GenericMap       `json:"data,omitempty"`
	Consumer        *ServiceConsumer  `json:"consumer,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

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"`
	Consumer                   *ServiceConsumer  `json:"consumer,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"`
	MissingConsumerPermissions []Permissions     `json:"missingConsumerPermissions,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) DeepCopy

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

func (in *SignedBy) DeepCopy() *SignedBy

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

func (*SignedBy) DeepCopyInto

func (in *SignedBy) DeepCopyInto(out *SignedBy)

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

func (in *TCPProbe) DeepCopy() *TCPProbe

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

func (*TCPProbe) DeepCopyInto

func (in *TCPProbe) DeepCopyInto(out *TCPProbe)

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

type UserContext added in v0.10.0

type UserContext struct {
	UID int64 `json:"uid,omitempty"`
	GID int64 `json:"gid,omitempty"`
}

func (*UserContext) DeepCopy added in v0.10.0

func (in *UserContext) DeepCopy() *UserContext

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

func (*UserContext) DeepCopyInto added in v0.10.0

func (in *UserContext) DeepCopyInto(out *UserContext)

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

func (*UserContext) UnmarshalJSON added in v0.10.0

func (in *UserContext) UnmarshalJSON(data []byte) error

type VCS

type VCS struct {
	Remotes  []string `json:"remotes,omitempty"`
	Revision string   `json:"revision,omitempty"`
	// Clean a true value indicates the build contained no modified or untracked files according to git
	Clean bool `json:"clean,omitempty"`
	// Modified a true value indicates the build contained modified files according to git
	Modified bool `json:"modified,omitempty"`
	// Untracked a true value indicates the build contained untracked files according to git
	Untracked bool `json:"untracked,omitempty"`
	// Acornfile the path and filename within the vcs repository that was used to build the running app
	Acornfile string `json:"acornfile,omitempty"`
	// BuildContext the context within the vcs repository that was used when building the running app
	BuildContext string `json:"buildContext,omitempty"`
}

func (*VCS) DeepCopy

func (in *VCS) DeepCopy() *VCS

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

func (*VCS) DeepCopyInto

func (in *VCS) DeepCopyInto(out *VCS)

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"`
	Preload    bool              `json:"preload,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"`
	Name        string            `json:"name,omitempty"`
	Description string            `json:"description,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 VolumeResolvedOffering added in v0.10.0

type VolumeResolvedOffering struct {
	Class       string      `json:"class,omitempty"`
	Size        Quantity    `json:"size,omitempty"`
	AccessModes AccessModes `json:"accessModes,omitempty"`
}

func (*VolumeResolvedOffering) DeepCopy added in v0.10.0

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

func (*VolumeResolvedOffering) DeepCopyInto added in v0.10.0

func (in *VolumeResolvedOffering) DeepCopyInto(out *VolumeResolvedOffering)

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"`
	Unused            bool   `json:"unused,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

Jump to

Keyboard shortcuts

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