Documentation ¶
Index ¶
- Constants
- Variables
- func CopyUpstreamImages(u *types.Upstream, options WriteUpstreamImageOptions) ([]kustomizeimage.Image, error)
- func FetchUpstream(upstreamURI string, fetchOptions *FetchOptions) (*types.Upstream, error)
- func FindObjectsWithImages(u *types.Upstream, options FindObjectsWithImagesOptions) ([]*k8sdoc.Doc, error)
- func FindPrivateImages(u *types.Upstream, options FindPrivateImagesOptions) ([]kustomizeimage.Image, []*k8sdoc.Doc, error)
- func GetApplicationMetadata(upstream *url.URL) ([]byte, error)
- func MustMarshalLicense(license *kotsv1beta1.License) []byte
- func TagAndPushUpstreamImages(u *types.Upstream, options PushUpstreamImageOptions) ([]kustomizeimage.Image, error)
- func WriteUpstream(u *types.Upstream, options types.WriteOptions) error
- type App
- type ChannelRelease
- type FetchOptions
- type FindObjectsWithImagesOptions
- type FindPrivateImagesOptions
- type PushUpstreamImageOptions
- type Release
- type ReplicatedUpstream
- type Update
- type UpstreamSettings
- type WriteUpstreamImageOptions
Constants ¶
View Source
const DefaultMetadata = `` /* 232-byte string literal not displayed */
Variables ¶
View Source
var KnownRepos = map[string]string{
"stable": "https://kubernetes-charts.storage.googleapis.com",
"local": "http://127.0.0.1:8879",
"elastic": "https://helm.elastic.co",
"gomods": "https://athens.blob.core.windows.net/charts",
"harbor": "https://helm.goharbor.io",
}
Functions ¶
func CopyUpstreamImages ¶ added in v1.8.0
func CopyUpstreamImages(u *types.Upstream, options WriteUpstreamImageOptions) ([]kustomizeimage.Image, error)
func FetchUpstream ¶
func FetchUpstream(upstreamURI string, fetchOptions *FetchOptions) (*types.Upstream, error)
func FindObjectsWithImages ¶ added in v1.8.0
func FindPrivateImages ¶ added in v1.8.0
func FindPrivateImages(u *types.Upstream, options FindPrivateImagesOptions) ([]kustomizeimage.Image, []*k8sdoc.Doc, error)
func GetApplicationMetadata ¶
GetApplicationMetadata will return any available application yaml from the upstream. If there is no application.yaml, it will return a placeholder one
func MustMarshalLicense ¶
func MustMarshalLicense(license *kotsv1beta1.License) []byte
func TagAndPushUpstreamImages ¶ added in v1.8.0
func TagAndPushUpstreamImages(u *types.Upstream, options PushUpstreamImageOptions) ([]kustomizeimage.Image, error)
func WriteUpstream ¶
func WriteUpstream(u *types.Upstream, options types.WriteOptions) error
Types ¶
type ChannelRelease ¶
type FetchOptions ¶ added in v0.9.0
type FetchOptions struct { RootDir string UseAppDir bool HelmRepoName string HelmRepoURI string HelmOptions []string LocalPath string License *kotsv1beta1.License ConfigValues *kotsv1beta1.ConfigValues Airgap *kotsv1beta1.Airgap EncryptionKey string CurrentCursor string CurrentVersionLabel string }
type FindObjectsWithImagesOptions ¶ added in v0.9.13
type FindPrivateImagesOptions ¶ added in v0.9.10
type PushUpstreamImageOptions ¶ added in v0.9.5
type ReplicatedUpstream ¶
type Update ¶ added in v1.2.0
func GetUpdatesUpstream ¶
func GetUpdatesUpstream(upstreamURI string, fetchOptions *FetchOptions) ([]Update, error)
type UpstreamSettings ¶
type WriteUpstreamImageOptions ¶ added in v0.9.5
Source Files ¶
Click to show internal directories.
Click to hide internal directories.