Documentation
¶
Overview ¶
+kubebuilder:object:generate=true
+kubebuilder:object:generate=true
+kubebuilder:object:generate=true
+kubebuilder:object:generate=true
Index ¶
- type AnnotationSelector
- type App
- type AppComponent
- type ChildUpdateMethod
- type ChildUpdateStatusChecks
- type ComponentKey
- type ComponentProps
- type ComponentStatus
- type ComponentTypeProp
- type CompositeControllerChildResourceRule
- type CompositeControllerChildUpdateStrategy
- type CompositeControllerParentResourceRule
- type CompositeControllerRevisionHistory
- type CompositeControllerSpec
- type ConfigIdReferrer
- type ConfigProp
- type ConfigReferrer
- type ControllerRevisionChildren
- type DecoratorControllerAttachmentRule
- type DecoratorControllerAttachmentUpdateStrategy
- type DecoratorControllerResourceRule
- type DecoratorControllerSpec
- type DeploymentStatus
- type EnvironmentIdProp
- type EnvironmentIdReferrer
- type EnvironmentProp
- type EnvironmentReferrer
- type Fabric
- type FabricApp
- type FabricEnv
- type FabricSystem
- type GitHashProp
- type GitRefProp
- type GitRepoProp
- type ImageProp
- type InheritsProp
- type InheritsReferrer
- type JSONSchema
- type JSONSchemaProp
- type NamedHashed
- type PlatformSpec
- type PlatformStatus
- type PlatformSystem
- type PlatformSystemStatus
- type RelatedResourceRule
- type ReleaseStatus
- type ResourceRule
- type Route
- type RouteTypeProp
- type SecretsProp
- type StatusConditionCheck
- type SystemIdProp
- type SystemIdReferrer
- type SystemProp
- type SystemReferrer
- type Var
- func NewVarArrayFloat(val []float64) *Var
- func NewVarArrayInt(val []int) *Var
- func NewVarArrayString(val []string) *Var
- func NewVarBool(val bool) *Var
- func NewVarFloat(val float64) *Var
- func NewVarInt(val int) *Var
- func NewVarString(val string) *Var
- func VarFromValue(val *structpb.Value) (*Var, error)
- func (val *Var) ArrayFloat() []float64
- func (val *Var) ArrayInt() []int
- func (val *Var) ArrayString() []string
- func (val *Var) Bool() bool
- func (val *Var) BoolOrDefault(def bool) bool
- func (in *Var) DeepCopy() *Var
- func (in *Var) DeepCopyInto(out *Var)
- func (val *Var) Float() float64
- func (val *Var) FloatOrDefault(def float64) float64
- func (val *Var) Int() int
- func (val *Var) IntOrDefault(def int) int
- func (val *Var) IsArrayNumber() bool
- func (val *Var) IsArrayString() bool
- func (val *Var) IsBool() bool
- func (val *Var) IsNumber() bool
- func (val *Var) IsString() bool
- func (val *Var) IsUnknown() bool
- func (val *Var) MarshalJSON() ([]byte, error)
- func (val *Var) String() string
- func (val *Var) StringOrDefault(def string) string
- func (val *Var) UnmarshalJSON(value []byte) error
- func (val *Var) Value() *structpb.Value
- type VarType
- type VarTypeProp
- type VarsProp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotationSelector ¶
type AnnotationSelector struct { MatchAnnotations map[string]string `json:"matchAnnotations,omitempty"` MatchExpressions []metav1.LabelSelectorRequirement `json:"matchExpressions,omitempty" validate:"dive"` }
func (*AnnotationSelector) DeepCopy ¶
func (in *AnnotationSelector) DeepCopy() *AnnotationSelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AnnotationSelector.
func (*AnnotationSelector) DeepCopyInto ¶
func (in *AnnotationSelector) DeepCopyInto(out *AnnotationSelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type App ¶
type App struct { GitHashProp `json:",inline"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` Vars *JSONSchema `json:"vars,omitempty"` Components map[string]*AppComponent `json:"components" validate:"dive"` }
func (*App) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App.
func (*App) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AppComponent ¶
type AppComponent struct { ComponentProps `json:",inline"` Routes []*Route `json:"routes,omitempty" validate:"dive"` }
func (*AppComponent) DeepCopy ¶
func (in *AppComponent) DeepCopy() *AppComponent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppComponent.
func (*AppComponent) DeepCopyInto ¶
func (in *AppComponent) DeepCopyInto(out *AppComponent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChildUpdateMethod ¶
type ChildUpdateMethod string
const ( ChildUpdateOnDelete ChildUpdateMethod = "OnDelete" ChildUpdateRecreate ChildUpdateMethod = "Recreate" ChildUpdateInPlace ChildUpdateMethod = "InPlace" ChildUpdateRollingRecreate ChildUpdateMethod = "RollingRecreate" ChildUpdateRollingInPlace ChildUpdateMethod = "RollingInPlace" )
type ChildUpdateStatusChecks ¶
type ChildUpdateStatusChecks struct {
Conditions []StatusConditionCheck `json:"conditions,omitempty" validate:"dive"`
}
func (*ChildUpdateStatusChecks) DeepCopy ¶
func (in *ChildUpdateStatusChecks) DeepCopy() *ChildUpdateStatusChecks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChildUpdateStatusChecks.
func (*ChildUpdateStatusChecks) DeepCopyInto ¶
func (in *ChildUpdateStatusChecks) DeepCopyInto(out *ChildUpdateStatusChecks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentKey ¶
type ComponentKey string
type ComponentProps ¶
type ComponentProps struct { ComponentTypeProp `json:",inline"` GitHashProp `json:",inline"` ImageProp `json:",inline"` Name string `json:"name,omitempty"` }
func (*ComponentProps) DeepCopy ¶
func (in *ComponentProps) DeepCopy() *ComponentProps
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentProps.
func (*ComponentProps) DeepCopyInto ¶
func (in *ComponentProps) DeepCopyInto(out *ComponentProps)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentProps) Key ¶
func (p *ComponentProps) Key() ComponentKey
func (*ComponentProps) ShortHash ¶
func (p *ComponentProps) ShortHash() string
type ComponentStatus ¶
type ComponentStatus struct { Deployments []uri.Key `json:"deployments,omitempty"` Ready bool `json:"ready"` }
func (*ComponentStatus) DeepCopy ¶
func (in *ComponentStatus) DeepCopy() *ComponentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatus.
func (*ComponentStatus) DeepCopyInto ¶
func (in *ComponentStatus) DeepCopyInto(out *ComponentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ComponentTypeProp ¶
type ComponentTypeProp struct { // +kubebuilder:validation:Enum=graphql;http;kubefox;k8s;kv;object Type string `json:"type" validate:"required,oneof=graphql http kubefox k8s kv object"` }
TODO create enum with custom json marshalling
func (*ComponentTypeProp) DeepCopy ¶
func (in *ComponentTypeProp) DeepCopy() *ComponentTypeProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentTypeProp.
func (*ComponentTypeProp) DeepCopyInto ¶
func (in *ComponentTypeProp) DeepCopyInto(out *ComponentTypeProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeControllerChildResourceRule ¶
type CompositeControllerChildResourceRule struct { ResourceRule `json:",inline"` UpdateStrategy *CompositeControllerChildUpdateStrategy `json:"updateStrategy,omitempty"` }
func (*CompositeControllerChildResourceRule) DeepCopy ¶
func (in *CompositeControllerChildResourceRule) DeepCopy() *CompositeControllerChildResourceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerChildResourceRule.
func (*CompositeControllerChildResourceRule) DeepCopyInto ¶
func (in *CompositeControllerChildResourceRule) DeepCopyInto(out *CompositeControllerChildResourceRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeControllerChildUpdateStrategy ¶
type CompositeControllerChildUpdateStrategy struct { Method ChildUpdateMethod `json:"method,omitempty"` StatusChecks ChildUpdateStatusChecks `json:"statusChecks,omitempty"` }
func (*CompositeControllerChildUpdateStrategy) DeepCopy ¶
func (in *CompositeControllerChildUpdateStrategy) DeepCopy() *CompositeControllerChildUpdateStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerChildUpdateStrategy.
func (*CompositeControllerChildUpdateStrategy) DeepCopyInto ¶
func (in *CompositeControllerChildUpdateStrategy) DeepCopyInto(out *CompositeControllerChildUpdateStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeControllerParentResourceRule ¶
type CompositeControllerParentResourceRule struct { ResourceRule `json:",inline"` RevisionHistory *CompositeControllerRevisionHistory `json:"revisionHistory,omitempty"` }
func (*CompositeControllerParentResourceRule) DeepCopy ¶
func (in *CompositeControllerParentResourceRule) DeepCopy() *CompositeControllerParentResourceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerParentResourceRule.
func (*CompositeControllerParentResourceRule) DeepCopyInto ¶
func (in *CompositeControllerParentResourceRule) DeepCopyInto(out *CompositeControllerParentResourceRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeControllerRevisionHistory ¶
type CompositeControllerRevisionHistory struct {
FieldPaths []string `json:"fieldPaths,omitempty"`
}
func (*CompositeControllerRevisionHistory) DeepCopy ¶
func (in *CompositeControllerRevisionHistory) DeepCopy() *CompositeControllerRevisionHistory
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerRevisionHistory.
func (*CompositeControllerRevisionHistory) DeepCopyInto ¶
func (in *CompositeControllerRevisionHistory) DeepCopyInto(out *CompositeControllerRevisionHistory)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CompositeControllerSpec ¶
type CompositeControllerSpec struct { ParentResource CompositeControllerParentResourceRule `json:"parentResource"` ChildResources []CompositeControllerChildResourceRule `json:"childResources,omitempty" validate:"dive"` ResyncPeriodSeconds *int32 `json:"resyncPeriodSeconds,omitempty"` GenerateSelector *bool `json:"generateSelector,omitempty"` }
func (*CompositeControllerSpec) DeepCopy ¶
func (in *CompositeControllerSpec) DeepCopy() *CompositeControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CompositeControllerSpec.
func (*CompositeControllerSpec) DeepCopyInto ¶
func (in *CompositeControllerSpec) DeepCopyInto(out *CompositeControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigIdReferrer ¶
+kubebuilder:object:generate=false
type ConfigProp ¶
type ConfigProp struct {
Config string `json:"config" validate:"required,configRef"`
}
func (*ConfigProp) DeepCopy ¶
func (in *ConfigProp) DeepCopy() *ConfigProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigProp.
func (*ConfigProp) DeepCopyInto ¶
func (in *ConfigProp) DeepCopyInto(out *ConfigProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigProp) GetConfig ¶
func (p *ConfigProp) GetConfig() string
func (*ConfigProp) SetConfig ¶
func (p *ConfigProp) SetConfig(val string)
type ConfigReferrer ¶
+kubebuilder:object:generate=false
type ControllerRevisionChildren ¶
type ControllerRevisionChildren struct { APIGroup string `json:"apiGroup"` Kind string `json:"kind"` Names []string `json:"names"` }
func (*ControllerRevisionChildren) DeepCopy ¶
func (in *ControllerRevisionChildren) DeepCopy() *ControllerRevisionChildren
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRevisionChildren.
func (*ControllerRevisionChildren) DeepCopyInto ¶
func (in *ControllerRevisionChildren) DeepCopyInto(out *ControllerRevisionChildren)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecoratorControllerAttachmentRule ¶
type DecoratorControllerAttachmentRule struct { ResourceRule `json:",inline"` UpdateStrategy *DecoratorControllerAttachmentUpdateStrategy `json:"updateStrategy,omitempty"` }
func (*DecoratorControllerAttachmentRule) DeepCopy ¶
func (in *DecoratorControllerAttachmentRule) DeepCopy() *DecoratorControllerAttachmentRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorControllerAttachmentRule.
func (*DecoratorControllerAttachmentRule) DeepCopyInto ¶
func (in *DecoratorControllerAttachmentRule) DeepCopyInto(out *DecoratorControllerAttachmentRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecoratorControllerAttachmentUpdateStrategy ¶
type DecoratorControllerAttachmentUpdateStrategy struct {
Method ChildUpdateMethod `json:"method,omitempty"`
}
func (*DecoratorControllerAttachmentUpdateStrategy) DeepCopy ¶
func (in *DecoratorControllerAttachmentUpdateStrategy) DeepCopy() *DecoratorControllerAttachmentUpdateStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorControllerAttachmentUpdateStrategy.
func (*DecoratorControllerAttachmentUpdateStrategy) DeepCopyInto ¶
func (in *DecoratorControllerAttachmentUpdateStrategy) DeepCopyInto(out *DecoratorControllerAttachmentUpdateStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecoratorControllerResourceRule ¶
type DecoratorControllerResourceRule struct { ResourceRule `json:",inline"` LabelSelector *metav1.LabelSelector `json:"labelSelector,omitempty"` AnnotationSelector *AnnotationSelector `json:"annotationSelector,omitempty"` }
func (*DecoratorControllerResourceRule) DeepCopy ¶
func (in *DecoratorControllerResourceRule) DeepCopy() *DecoratorControllerResourceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorControllerResourceRule.
func (*DecoratorControllerResourceRule) DeepCopyInto ¶
func (in *DecoratorControllerResourceRule) DeepCopyInto(out *DecoratorControllerResourceRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecoratorControllerSpec ¶
type DecoratorControllerSpec struct { Resources []DecoratorControllerResourceRule `json:"resources" validate:"dive"` Attachments []DecoratorControllerAttachmentRule `json:"attachments,omitempty" validate:"dive"` ResyncPeriodSeconds *int32 `json:"resyncPeriodSeconds,omitempty"` }
func (*DecoratorControllerSpec) DeepCopy ¶
func (in *DecoratorControllerSpec) DeepCopy() *DecoratorControllerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecoratorControllerSpec.
func (*DecoratorControllerSpec) DeepCopyInto ¶
func (in *DecoratorControllerSpec) DeepCopyInto(out *DecoratorControllerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentStatus ¶
type DeploymentStatus struct {
Ready bool `json:"ready"`
}
func (*DeploymentStatus) DeepCopy ¶
func (in *DeploymentStatus) DeepCopy() *DeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentStatus.
func (*DeploymentStatus) DeepCopyInto ¶
func (in *DeploymentStatus) DeepCopyInto(out *DeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentIdProp ¶
type EnvironmentIdProp struct {
EnvironmentId string `json:"environmentId" validate:"required,environmentIdRef"`
}
func (*EnvironmentIdProp) DeepCopy ¶
func (in *EnvironmentIdProp) DeepCopy() *EnvironmentIdProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentIdProp.
func (*EnvironmentIdProp) DeepCopyInto ¶
func (in *EnvironmentIdProp) DeepCopyInto(out *EnvironmentIdProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentIdProp) GetEnvironmentId ¶
func (p *EnvironmentIdProp) GetEnvironmentId() string
func (*EnvironmentIdProp) SetEnvironmentId ¶
func (p *EnvironmentIdProp) SetEnvironmentId(val string)
type EnvironmentIdReferrer ¶
+kubebuilder:object:generate=false
type EnvironmentProp ¶
type EnvironmentProp struct {
Environment string `json:"environment" validate:"required,environmentRef"`
}
func (*EnvironmentProp) DeepCopy ¶
func (in *EnvironmentProp) DeepCopy() *EnvironmentProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentProp.
func (*EnvironmentProp) DeepCopyInto ¶
func (in *EnvironmentProp) DeepCopyInto(out *EnvironmentProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EnvironmentProp) GetEnvironment ¶
func (p *EnvironmentProp) GetEnvironment() string
func (*EnvironmentProp) SetEnvironment ¶
func (p *EnvironmentProp) SetEnvironment(val string)
type EnvironmentReferrer ¶
+kubebuilder:object:generate=false
type Fabric ¶
type Fabric struct { System *FabricSystem `json:"system" validate:"required,dive"` Env *FabricEnv `json:"environment" validate:"required,dive"` }
func (*Fabric) CheckComponent ¶
func (*Fabric) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fabric.
func (*Fabric) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Fabric) GetAppComponent ¶
func (f *Fabric) GetAppComponent(name string) *AppComponent
type FabricApp ¶
func (*FabricApp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricApp.
func (*FabricApp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FabricEnv ¶
type FabricEnv struct { EnvironmentIdProp `json:",inline"` EnvironmentProp `json:",inline"` Config map[string]*Var `json:"config" validate:"required,dive"` Secrets map[string]*Var `json:"secrets" validate:"required,dive"` EnvVars map[string]*Var `json:"envVars" validate:"required,dive"` }
func (*FabricEnv) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricEnv.
func (*FabricEnv) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FabricSystem ¶
type FabricSystem struct { SystemIdProp `json:",inline"` SystemProp `json:",inline"` App FabricApp `json:"app" validate:"required,dive"` }
func (*FabricSystem) DeepCopy ¶
func (in *FabricSystem) DeepCopy() *FabricSystem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FabricSystem.
func (*FabricSystem) DeepCopyInto ¶
func (in *FabricSystem) DeepCopyInto(out *FabricSystem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitHashProp ¶
type GitHashProp struct { // +kubebuilder:validation:Pattern="^[a-z0-9]{7}$" GitHash string `json:"gitHash" validate:"required,gitHash"` }
func (*GitHashProp) DeepCopy ¶
func (in *GitHashProp) DeepCopy() *GitHashProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHashProp.
func (*GitHashProp) DeepCopyInto ¶
func (in *GitHashProp) DeepCopyInto(out *GitHashProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitRefProp ¶
type GitRefProp struct { // +kubebuilder:validation:MinLength=1 GitRef string `json:"gitRef" validate:"required"` }
TODO add regexp
func (*GitRefProp) DeepCopy ¶
func (in *GitRefProp) DeepCopy() *GitRefProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRefProp.
func (*GitRefProp) DeepCopyInto ¶
func (in *GitRefProp) DeepCopyInto(out *GitRefProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitRepoProp ¶
type GitRepoProp struct { // +kubebuilder:validation:Format=uri GitRepo string `json:"gitRepo" validate:"required,uri"` }
func (*GitRepoProp) DeepCopy ¶
func (in *GitRepoProp) DeepCopy() *GitRepoProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRepoProp.
func (*GitRepoProp) DeepCopyInto ¶
func (in *GitRepoProp) DeepCopyInto(out *GitRepoProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageProp ¶
type ImageProp struct { // +kubebuilder:validation:Pattern="^.*:[a-z0-9-]{7}$" Image string `json:"image" validate:"required,componentImage"` }
TODO use SHA256, switch pattern to ^.*@sha256:[a-z0-9]{64}$
func (*ImageProp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageProp.
func (*ImageProp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InheritsProp ¶
type InheritsProp struct {
Inherits string `json:"inherits,omitempty" validate:"omitempty,environmentRef"`
}
func (*InheritsProp) DeepCopy ¶
func (in *InheritsProp) DeepCopy() *InheritsProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InheritsProp.
func (*InheritsProp) DeepCopyInto ¶
func (in *InheritsProp) DeepCopyInto(out *InheritsProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InheritsProp) GetInherits ¶
func (p *InheritsProp) GetInherits() string
func (*InheritsProp) SetInherits ¶
func (p *InheritsProp) SetInherits(val string)
type InheritsReferrer ¶
+kubebuilder:object:generate=false
type JSONSchema ¶
type JSONSchema struct { Properties map[string]*JSONSchemaProp `json:"properties,omitempty" validate:"dive"` Required []string `json:"required,omitempty"` }
func (*JSONSchema) DeepCopy ¶
func (in *JSONSchema) DeepCopy() *JSONSchema
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchema.
func (*JSONSchema) DeepCopyInto ¶
func (in *JSONSchema) DeepCopyInto(out *JSONSchema)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JSONSchemaProp ¶
type JSONSchemaProp struct { VarTypeProp `json:",inline"` Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` }
func (*JSONSchemaProp) DeepCopy ¶
func (in *JSONSchemaProp) DeepCopy() *JSONSchemaProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JSONSchemaProp.
func (*JSONSchemaProp) DeepCopyInto ¶
func (in *JSONSchemaProp) DeepCopyInto(out *JSONSchemaProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamedHashed ¶
+kubebuilder:object:generate=false
type PlatformSpec ¶
type PlatformSpec struct {
Systems map[uri.Key]*PlatformSystem `json:"systems" validate:"dive"`
}
func (*PlatformSpec) DeepCopy ¶
func (in *PlatformSpec) DeepCopy() *PlatformSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformSpec.
func (*PlatformSpec) DeepCopyInto ¶
func (in *PlatformSpec) DeepCopyInto(out *PlatformSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformStatus ¶
type PlatformStatus struct { Healthy bool `json:"healthy"` Systems map[uri.Key]*PlatformSystemStatus `json:"systems,omitempty" validate:"dive"` }
func (*PlatformStatus) DeepCopy ¶
func (in *PlatformStatus) DeepCopy() *PlatformStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformStatus.
func (*PlatformStatus) DeepCopyInto ¶
func (in *PlatformStatus) DeepCopyInto(out *PlatformStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformSystem ¶
type PlatformSystem struct {
ImagePullSecret string `json:"imagePullSecret,omitempty"`
}
func (*PlatformSystem) DeepCopy ¶
func (in *PlatformSystem) DeepCopy() *PlatformSystem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformSystem.
func (*PlatformSystem) DeepCopyInto ¶
func (in *PlatformSystem) DeepCopyInto(out *PlatformSystem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlatformSystemStatus ¶
type PlatformSystemStatus struct {
Healthy bool `json:"healthy"`
}
func (*PlatformSystemStatus) DeepCopy ¶
func (in *PlatformSystemStatus) DeepCopy() *PlatformSystemStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformSystemStatus.
func (*PlatformSystemStatus) DeepCopyInto ¶
func (in *PlatformSystemStatus) DeepCopyInto(out *PlatformSystemStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RelatedResourceRule ¶
type RelatedResourceRule struct { ResourceRule `json:",inline"` *metav1.LabelSelector `json:"labelSelector"` Namespace string `json:"namespace,omitempty"` Names []string `json:"names"` }
func (*RelatedResourceRule) DeepCopy ¶
func (in *RelatedResourceRule) DeepCopy() *RelatedResourceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RelatedResourceRule.
func (*RelatedResourceRule) DeepCopyInto ¶
func (in *RelatedResourceRule) DeepCopyInto(out *RelatedResourceRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseStatus ¶
type ReleaseStatus struct {
Ready bool `json:"ready"`
}
func (*ReleaseStatus) DeepCopy ¶
func (in *ReleaseStatus) DeepCopy() *ReleaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseStatus.
func (*ReleaseStatus) DeepCopyInto ¶
func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceRule ¶
type ResourceRule struct { APIVersion string `json:"apiVersion"` Resource string `json:"resource"` }
func (*ResourceRule) DeepCopy ¶
func (in *ResourceRule) DeepCopy() *ResourceRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRule.
func (*ResourceRule) DeepCopyInto ¶
func (in *ResourceRule) DeepCopyInto(out *ResourceRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route ¶
type Route struct { RouteTypeProp `json:",inline"` Priority int `json:"priority,omitempty"` Match string `json:"match,omitempty"` Schedule string `json:"schedule,omitempty"` CompositeController *CompositeControllerSpec `json:"compositeController,omitempty"` DecoratorController *DecoratorControllerSpec `json:"decoratorController,omitempty"` }
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteTypeProp ¶
type RouteTypeProp struct { // +kubebuilder:validation:Enum=controller;cron;http Type string `json:"type" validate:"required,oneof=controller cron http"` }
func (*RouteTypeProp) DeepCopy ¶
func (in *RouteTypeProp) DeepCopy() *RouteTypeProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTypeProp.
func (*RouteTypeProp) DeepCopyInto ¶
func (in *RouteTypeProp) DeepCopyInto(out *RouteTypeProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretsProp ¶
type SecretsProp struct { // +kubebuilder:validation:Schemaless // +kubebuilder:validation:Type=object Secrets map[string]*Var `json:"secrets,omitempty" validate:"dive"` }
func (*SecretsProp) DeepCopy ¶
func (in *SecretsProp) DeepCopy() *SecretsProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretsProp.
func (*SecretsProp) DeepCopyInto ¶
func (in *SecretsProp) DeepCopyInto(out *SecretsProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusConditionCheck ¶
type StatusConditionCheck struct { Type string `json:"type"` Status *string `json:"status,omitempty"` Reason *string `json:"reason,omitempty"` }
func (*StatusConditionCheck) DeepCopy ¶
func (in *StatusConditionCheck) DeepCopy() *StatusConditionCheck
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatusConditionCheck.
func (*StatusConditionCheck) DeepCopyInto ¶
func (in *StatusConditionCheck) DeepCopyInto(out *StatusConditionCheck)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SystemIdProp ¶
type SystemIdProp struct {
SystemId string `json:"systemId" validate:"required,systemIdRef"`
}
func (*SystemIdProp) DeepCopy ¶
func (in *SystemIdProp) DeepCopy() *SystemIdProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemIdProp.
func (*SystemIdProp) DeepCopyInto ¶
func (in *SystemIdProp) DeepCopyInto(out *SystemIdProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SystemIdProp) GetSystemId ¶
func (p *SystemIdProp) GetSystemId() string
func (*SystemIdProp) SetSystemId ¶
func (p *SystemIdProp) SetSystemId(val string)
type SystemIdReferrer ¶
+kubebuilder:object:generate=false
type SystemProp ¶
type SystemProp struct {
System string `json:"system" validate:"required,systemRef"`
}
func (*SystemProp) DeepCopy ¶
func (in *SystemProp) DeepCopy() *SystemProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemProp.
func (*SystemProp) DeepCopyInto ¶
func (in *SystemProp) DeepCopyInto(out *SystemProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SystemProp) GetSystem ¶
func (p *SystemProp) GetSystem() string
func (*SystemProp) SetSystem ¶
func (p *SystemProp) SetSystem(val string)
type SystemReferrer ¶
+kubebuilder:object:generate=false
type Var ¶
type Var struct { Type VarType `json:"-"` // contains filtered or unexported fields }
+kubebuilder:object:generate=true
func NewVarArrayFloat ¶
func NewVarArrayInt ¶
func NewVarArrayString ¶
func NewVarBool ¶
func NewVarFloat ¶
func NewVarString ¶
func (*Var) ArrayFloat ¶
ArrayIntVal returns the array value if type is ArrayInt. Otherwise nil is returned.
func (*Var) ArrayInt ¶
ArrayIntVal returns the array value if type is ArrayInt. Otherwise nil is returned.
func (*Var) ArrayString ¶
ArrayString returns the array value if type is ArrayString. Otherwise nil is returned.
func (*Var) Bool ¶
BoolVal returns the boolean value if type is Bool. If type is Number, false will be returned if value is 0, otherwise true is returned. If type is String, an attempt to parse the boolean value will be made. If parsing fails or type is Array false will be returned.
func (*Var) BoolOrDefault ¶
func (*Var) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Var.
func (*Var) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Var) Float ¶
FloatVal returns the float64 value if type is Number. If type is Bool 1 will be returned if true, otherwise 0 is returned. If type is String an attempt to parse the number will be made. If parsing fails or type is Array 0 will be returned.
func (*Var) FloatOrDefault ¶
func (*Var) Int ¶
IntValue returns the int value if type is Number. If type is Bool 1 will be returned if true, otherwise 0 is returned. If type is String an attempt to parse the number will be made. If parsing fails or type is Array 0 will be returned.
func (*Var) IntOrDefault ¶
func (*Var) IsArrayNumber ¶
func (*Var) IsArrayString ¶
func (*Var) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface.
func (*Var) String ¶
String returns the string value if type is String. If type is Bool the `strconv.FormatBool(bool)` of the bool value is returned. If type is Number the `strconv.FormatFloat(float, 'f', 2, 64)` of the number value is returned. If type is Array the JSON representation of the array is returned.
func (*Var) StringOrDefault ¶
func (*Var) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface.
type VarTypeProp ¶
type VarTypeProp struct { // +kubebuilder:validation:Enum=array;boolean;number;string Type string `json:"type" validate:"required,oneof=array boolean number string"` }
func (*VarTypeProp) DeepCopy ¶
func (in *VarTypeProp) DeepCopy() *VarTypeProp
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VarTypeProp.
func (*VarTypeProp) DeepCopyInto ¶
func (in *VarTypeProp) DeepCopyInto(out *VarTypeProp)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VarsProp ¶
type VarsProp struct { // +kubebuilder:validation:Schemaless // +kubebuilder:validation:Type=object Vars map[string]*Var `json:"vars,omitempty" validate:"dive"` }
func (*VarsProp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VarsProp.
func (*VarsProp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.