Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppDef ¶
type AppDef struct { Name string `json:"name"` Type string `json:"type"` URL string `json:"url"` SyncWave int `json:"syncWave,omitempty"` Wait bool `json:"wait,omitempty"` IsInternal bool `json:"isInternal,omitempty"` Feature InstallFeature `json:"feature,omitempty"` Chart string `json:"chart,omitempty"` Include string `json:"include,omitempty"` Exclude string `json:"exclude,omitempty"` }
type CommonConfig ¶
type CommonConfig struct {
CodefreshBaseURL string `json:"baseUrl"`
}
type HelmConfig ¶ added in v0.0.511
type HelmValuesProvider ¶ added in v0.0.518
type InstallFeature ¶ added in v0.0.511
type InstallFeature string
const (
InstallFeatureIngressless InstallFeature = "ingressless"
)
type Runtime ¶
type Runtime struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec RuntimeSpec `json:"spec"` }
func Download ¶
func Download(version *semver.Version, name string, featuresToInstall []InstallFeature) (*Runtime, error)
func (*Runtime) Install ¶ added in v0.0.518
func (r *Runtime) Install(ctx context.Context, f apkube.Factory, cloneOpts *apgit.CloneOptions, valuesProvider HelmValuesProvider) error
type RuntimeSpec ¶
type RuntimeSpec struct { DefVersion *semver.Version `json:"defVersion"` Version *semver.Version `json:"version"` BootstrapSpecifier string `json:"bootstrapSpecifier"` Components []AppDef `json:"components"` Cluster string `json:"cluster"` IngressHost string `json:"ingressHost,omitempty"` IngressClass string `json:"ingressClassName,omitempty"` InternalIngressHost string `json:"internalIngressHost,omitempty"` IngressController string `json:"ingressController,omitempty"` AccessMode platmodel.AccessMode `json:"accessMode"` Repo string `json:"repo"` // contains filtered or unexported fields }
func (*RuntimeSpec) FullSpecifier ¶
func (r *RuntimeSpec) FullSpecifier() string
Click to show internal directories.
Click to hide internal directories.