Documentation ¶
Index ¶
- type Provider
- func (p *Provider) AppLogs(name string, opts structs.LogsOptions) (io.ReadCloser, error)
- func (p *Provider) BuildExport(app, id string, w io.Writer) error
- func (p *Provider) BuildImport(app string, r io.Reader) (*structs.Build, error)
- func (p *Provider) BuildLogs(app, id string, opts structs.LogsOptions) (io.ReadCloser, error)
- func (p *Provider) DeploymentTimeout() int
- func (p *Provider) Heartbeat() (map[string]interface{}, error)
- func (p *Provider) IngressAnnotations(certDuration string) (map[string]string, error)
- func (p *Provider) IngressClass() string
- func (p *Provider) IngressInternalClass() string
- func (p *Provider) Initialize(opts structs.ProviderOptions) error
- func (p *Provider) Log(app, stream string, ts time.Time, message string) error
- func (p *Provider) ManifestValidate(m *manifest.Manifest) error
- func (p *Provider) ObjectDelete(app, key string) error
- func (p *Provider) ObjectExists(app, key string) (bool, error)
- func (p *Provider) ObjectFetch(app, key string) (io.ReadCloser, error)
- func (p *Provider) ObjectList(app, prefix string) ([]string, error)
- func (p *Provider) ObjectStore(app, key string, r io.Reader, opts structs.ObjectStoreOptions) (*structs.Object, error)
- func (p *Provider) RepositoryAuth(app string) (string, string, error)
- func (p *Provider) RepositoryHost(app string) (string, bool, error)
- func (p *Provider) RepositoryPrefix() string
- func (p *Provider) SystemHost() string
- func (p *Provider) SystemLogs(opts structs.LogsOptions) (io.ReadCloser, error)
- func (p *Provider) SystemStatus() (string, error)
- func (p *Provider) WithContext(ctx context.Context) structs.Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { *k8s.Provider Bucket string Region string Registry string Secret string SpacesAccess string SpacesEndpoint string SpacesSecret string // contains filtered or unexported fields }
func (*Provider) AppLogs ¶
func (p *Provider) AppLogs(name string, opts structs.LogsOptions) (io.ReadCloser, error)
func (*Provider) BuildImport ¶
func (*Provider) BuildLogs ¶
func (p *Provider) BuildLogs(app, id string, opts structs.LogsOptions) (io.ReadCloser, error)
func (*Provider) DeploymentTimeout ¶
func (*Provider) IngressAnnotations ¶
func (*Provider) IngressClass ¶
func (*Provider) IngressInternalClass ¶
func (*Provider) Initialize ¶
func (p *Provider) Initialize(opts structs.ProviderOptions) error
func (*Provider) ObjectDelete ¶
func (*Provider) ObjectFetch ¶
func (p *Provider) ObjectFetch(app, key string) (io.ReadCloser, error)
ObjectFetch fetches an Object
func (*Provider) ObjectStore ¶
func (p *Provider) ObjectStore(app, key string, r io.Reader, opts structs.ObjectStoreOptions) (*structs.Object, error)
ObjectStore stores an Object
func (*Provider) RepositoryAuth ¶
func (*Provider) RepositoryHost ¶
func (*Provider) RepositoryPrefix ¶
func (*Provider) SystemHost ¶
func (*Provider) SystemLogs ¶
func (p *Provider) SystemLogs(opts structs.LogsOptions) (io.ReadCloser, error)
func (*Provider) SystemStatus ¶
Click to show internal directories.
Click to hide internal directories.