Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultHelmRelease ¶
func DefaultRawRelease ¶
Types ¶
type IDPatcher ¶
func NewIDPatcher ¶
type Resolver ¶
type Resolver struct {
Logger log.Logger
Client *replicatedapp.GraphQLClient
StateManager state.Manager
FS afero.Afero
AppResolver replicatedapp.Resolver
Viper *viper.Viper
// contains filtered or unexported fields
}
A Resolver resolves specs
func NewResolver ¶
func (*Resolver) ReadContentSHAForWatch ¶ added in v0.16.0
read the content sha without writing anything to state
func (*Resolver) ResolveBaseMetadata ¶
func (r *Resolver) ResolveBaseMetadata(upstream string, localPath string) (*api.ShipAppMetadata, error)
ResolveBaseMetadata resolves URL, ContentSHA, and Readme for the resource
func (*Resolver) ResolveRelease ¶
A resolver turns a target string into a release.
A "target string" is something like
github.com/helm/charts/stable/nginx-ingress replicated.app/cool-ci-tool?customer_id=...&installation_id=... file:///home/bob/apps/ship.yaml file:///home/luke/my-charts/proton-torpedoes
Click to show internal directories.
Click to hide internal directories.