azure

package
v0.0.0-...-173f4c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	*k8s.Provider

	ClientID       string
	ClientSecret   string
	Region         string
	Registry       string
	ResourceGroup  string
	StorageAccount string
	StorageShare   string
	Subscription   string
	Workspace      string
	// contains filtered or unexported fields
}

func FromEnv

func FromEnv() (*Provider, error)

func (*Provider) AppLogs

func (p *Provider) AppLogs(name string, opts structs.LogsOptions) (io.ReadCloser, error)

func (*Provider) BuildExport

func (p *Provider) BuildExport(app, id string, w io.Writer) error

func (*Provider) BuildImport

func (p *Provider) BuildImport(app string, r io.Reader) (*structs.Build, error)

func (*Provider) BuildLogs

func (p *Provider) BuildLogs(app, id string, opts structs.LogsOptions) (io.ReadCloser, error)

func (*Provider) DeploymentTimeout

func (p *Provider) DeploymentTimeout() int

func (*Provider) Heartbeat

func (p *Provider) Heartbeat() (map[string]interface{}, error)

func (*Provider) IngressAnnotations

func (p *Provider) IngressAnnotations(certDuration string) (map[string]string, error)

func (*Provider) IngressClass

func (p *Provider) IngressClass() string

func (*Provider) IngressInternalClass

func (p *Provider) IngressInternalClass() string

func (*Provider) Initialize

func (p *Provider) Initialize(opts structs.ProviderOptions) error

func (*Provider) Log

func (p *Provider) Log(app, stream string, ts time.Time, message string) error

func (*Provider) ManifestValidate

func (p *Provider) ManifestValidate(m *manifest.Manifest) error

func (*Provider) ObjectDelete

func (p *Provider) ObjectDelete(app, key string) error

func (*Provider) ObjectExists

func (p *Provider) ObjectExists(app, key string) (bool, error)

func (*Provider) ObjectFetch

func (p *Provider) ObjectFetch(app, key string) (io.ReadCloser, error)

func (*Provider) ObjectList

func (p *Provider) ObjectList(app, prefix string) ([]string, error)

func (*Provider) ObjectStore

func (p *Provider) ObjectStore(app, key string, r io.Reader, opts structs.ObjectStoreOptions) (*structs.Object, error)

func (*Provider) RepositoryAuth

func (p *Provider) RepositoryAuth(app string) (string, string, error)

func (*Provider) RepositoryHost

func (p *Provider) RepositoryHost(app string) (string, bool, error)

func (*Provider) RepositoryPrefix

func (p *Provider) RepositoryPrefix() string

func (*Provider) SystemHost

func (p *Provider) SystemHost() string

func (*Provider) SystemLogs

func (p *Provider) SystemLogs(opts structs.LogsOptions) (io.ReadCloser, error)

func (*Provider) SystemStatus

func (p *Provider) SystemStatus() (string, error)

func (*Provider) WithContext

func (p *Provider) WithContext(ctx context.Context) structs.Provider

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL