 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func GetCreds(acornConfig string, c client.Client) (client.CredentialLookup, error)
- type ImageSource
- func (i ImageSource) GetAppDefinition(ctx context.Context, c client.Client) (*appdefinition.AppDefinition, map[string]any, []string, error)
- func (i ImageSource) GetImageAndDeployArgs(ctx context.Context, c client.Client) (string, map[string]any, []string, 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
	ArgsFile  string
	Platforms []string
	// NoDefaultRegistry - if true, indicates that no container registry should be assumed for the Image.
	// This is used if the ImageSource is for an app with auto-upgrade enabled.
	NoDefaultRegistry bool
	Streams           *streams.Output
	// contains filtered or unexported fields
}
    func NewImageSource ¶
func NewImageSource(acornConfig string, file, argsFile string, args, platforms []string, noDefaultReg bool) (result ImageSource)
func (ImageSource) GetAppDefinition ¶
func (i ImageSource) GetAppDefinition(ctx context.Context, c client.Client) (*appdefinition.AppDefinition, map[string]any, []string, 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.