Documentation ¶
Index ¶
- func GetCreds(c client.Client) (client.CredentialLookup, error)
- type ImageSource
- func (i ImageSource) GetAppDefinition(ctx context.Context, c client.Client) (*appdefinition.AppDefinition, map[string]any, error)
- func (i ImageSource) GetImageAndDeployArgs(ctx context.Context, c client.Client) (string, map[string]any, error)
- func (i ImageSource) IsImageSet() bool
- func (i ImageSource) ResolveImageAndFile() (string, string, error)
- func (i ImageSource) WatchFiles(ctx context.Context, c client.Client) ([]string, error)
- func (i ImageSource) WithImage(image string) ImageSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImageSource ¶
type ImageSource struct { Image string File string Args []string Profiles []string Platforms []string }
func NewImageSource ¶
func NewImageSource(file string, args, profiles, platforms []string) (result ImageSource)
func (ImageSource) GetAppDefinition ¶
func (i ImageSource) GetAppDefinition(ctx context.Context, c client.Client) (*appdefinition.AppDefinition, map[string]any, error)
func (ImageSource) GetImageAndDeployArgs ¶
func (ImageSource) IsImageSet ¶
func (i ImageSource) IsImageSet() bool
func (ImageSource) ResolveImageAndFile ¶
func (i ImageSource) ResolveImageAndFile() (string, string, error)
func (ImageSource) WatchFiles ¶
func (ImageSource) WithImage ¶
func (i ImageSource) WithImage(image string) ImageSource
Click to show internal directories.
Click to hide internal directories.