Documentation ¶
Index ¶
- Constants
- func NewPodLogger(p *Provider) *podLogger
- type PodController
- func (c *PodController) Add(obj interface{}) error
- func (c *PodController) Client() kubernetes.Interface
- func (c *PodController) Delete(obj interface{}) error
- func (c *PodController) Informer() cache.SharedInformer
- func (c *PodController) ListOptions(opts *am.ListOptions)
- func (c *PodController) Run()
- func (c *PodController) Start() error
- func (c *PodController) Stop() error
- func (c *PodController) Update(prev, cur interface{}) error
- type Provider
- func (p *Provider) AppIdles(name string) (bool, error)
- 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) ProcessLogs(app, pid string, opts structs.LogsOptions) (io.ReadCloser, 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 ¶
View Source
const ( ScannerStartSize = 4096 ScannerMaxSize = 20 * 1024 * 1024 )
Variables ¶
This section is empty.
Functions ¶
func NewPodLogger ¶
func NewPodLogger(p *Provider) *podLogger
Types ¶
type PodController ¶
type PodController struct { Controller *kctl.Controller Provider *Provider // contains filtered or unexported fields }
func NewPodController ¶
func NewPodController(p *Provider) (*PodController, error)
func (*PodController) Add ¶
func (c *PodController) Add(obj interface{}) error
func (*PodController) Client ¶
func (c *PodController) Client() kubernetes.Interface
func (*PodController) Delete ¶
func (c *PodController) Delete(obj interface{}) error
func (*PodController) Informer ¶
func (c *PodController) Informer() cache.SharedInformer
func (*PodController) ListOptions ¶
func (c *PodController) ListOptions(opts *am.ListOptions)
func (*PodController) Run ¶
func (c *PodController) Run()
func (*PodController) Start ¶
func (c *PodController) Start() error
func (*PodController) Stop ¶
func (c *PodController) Stop() error
func (*PodController) Update ¶
func (c *PodController) Update(prev, cur interface{}) error
type Provider ¶
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) ProcessLogs ¶
func (p *Provider) ProcessLogs(app, pid string, opts structs.LogsOptions) (io.ReadCloser, error)
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.