Documentation ¶
Index ¶
- type DeployedBundle
- type Deployer
- type DeploymentStatus
- type Manager
- func (m *Manager) Cleanup() error
- func (m *Manager) Delete(bundleDeploymentKey string) error
- func (m *Manager) Deploy(bd *fleet.BundleDeployment) (string, error)
- func (m *Manager) MonitorBundle(bd *fleet.BundleDeployment) (DeploymentStatus, error)
- func (m *Manager) Resources(bd *fleet.BundleDeployment) (*Resources, error)
- type Resources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployedBundle ¶ added in v0.3.0
type Deployer ¶
type Deployer interface { Deploy(bundleID string, manifest *manifest.Manifest, options fleet.BundleDeploymentOptions) (*Resources, error) ListDeployments() ([]DeployedBundle, error) EnsureInstalled(bundleID, resourcesID string) (bool, error) Resources(bundleID, resourcesID string) (*Resources, error) Delete(bundleID, releaseName string) error }
type DeploymentStatus ¶
type DeploymentStatus struct { Ready bool `json:"ready,omitempty"` NonModified bool `json:"nonModified,omitempty"` NonReadyStatus []fleet.NonReadyStatus `json:"nonReadyStatus,omitempty"` ModifiedStatus []fleet.ModifiedStatus `json:"modifiedStatus,omitempty"` }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) MonitorBundle ¶
func (m *Manager) MonitorBundle(bd *fleet.BundleDeployment) (DeploymentStatus, error)
Click to show internal directories.
Click to hide internal directories.