Documentation ¶
Index ¶
- Constants
- func AddAcornProjectLabel(req router.Request, resp router.Response) error
- func AssignNamespace(req router.Request, resp router.Response) (err error)
- func DeploySpec(req router.Request, resp router.Response) (err error)
- func FilterLabelsAndAnnotationsConfig(h router.Handler) router.Handler
- func IgnoreTerminatingNamespace(h router.Handler) router.Handler
- func ImagePulled(h router.Handler) router.Handler
- func LookupExistingPV(req router.Request, appInstance *v1.AppInstance, volumeName string) (string, error)
- func OnError(req router.Request, resp router.Response, err error) error
- func ParseAppImage(req router.Request, resp router.Response) error
- func PullAppImage(transport http.RoundTripper, recorder event.Recorder) router.HandlerFunc
- func ReleaseVolume(req router.Request, resp router.Response) error
- func RequireNamespace(h router.Handler) router.Handler
- func ToDeployments(req router.Request, appInstance *v1.AppInstance, tag name.Reference, ...) (result []kclient.Object, _ error)
- func ToFunctions(req router.Request, appInstance *v1.AppInstance, tag name.Reference, ...) (result []kclient.Object, _ error)
- func UpdateObservedFields(req router.Request, resp router.Response) error
- type PullSecrets
Constants ¶
View Source
const ( AcornHelper = " /acorn-helper" AcornHelperPath = "/.acorn" AcornHelperSleepPath = "/.acorn/sleep" AcornHelperBusyboxPath = "/.acorn/busybox" )
Variables ¶
This section is empty.
Functions ¶
func AddAcornProjectLabel ¶
func LookupExistingPV ¶ added in v0.9.1
func PullAppImage ¶
func PullAppImage(transport http.RoundTripper, recorder event.Recorder) router.HandlerFunc
func ToDeployments ¶
func ToDeployments(req router.Request, appInstance *v1.AppInstance, tag name.Reference, pullSecrets *PullSecrets, secrets *secrets.Interpolator) (result []kclient.Object, _ error)
func ToFunctions ¶ added in v0.10.0
func ToFunctions(req router.Request, appInstance *v1.AppInstance, tag name.Reference, pullSecrets *PullSecrets, secrets *secrets.Interpolator) (result []kclient.Object, _ error)
Types ¶
type PullSecrets ¶
type PullSecrets struct {
// contains filtered or unexported fields
}
func NewPullSecrets ¶
func NewPullSecrets(req router.Request, appInstance *v1.AppInstance) (*PullSecrets, error)
func (*PullSecrets) Err ¶
func (p *PullSecrets) Err() error
func (*PullSecrets) ForAcorn ¶
func (p *PullSecrets) ForAcorn(acornName, image string) []corev1.LocalObjectReference
func (*PullSecrets) ForContainer ¶
func (p *PullSecrets) ForContainer(containerName string, containers []corev1.Container) []corev1.LocalObjectReference
func (*PullSecrets) Objects ¶
func (p *PullSecrets) Objects() []kclient.Object
Click to show internal directories.
Click to hide internal directories.