Documentation ¶
Index ¶
Constants ¶
View Source
const ( CRDResources = "BLACKDUCK" DatabaseResources = "DATABASE" PVCResources = "PVC" )
Constants for each unit of a deployment of Black Duck
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blackduck ¶
type Blackduck struct {
// contains filtered or unexported fields
}
Blackduck is used for the Blackduck deployment
func NewBlackduck ¶
NewBlackduck will return a Blackduck
func (*Blackduck) Ensure ¶
func (b *Blackduck) Ensure(bd *blackduckapi.Blackduck) error
Ensure will make sure the instance is correctly deployed or deploy it if needed
func (Blackduck) GetComponents ¶
func (b Blackduck) GetComponents(bd *blackduckapi.Blackduck, compType string) (*api.ComponentList, error)
GetComponents gets the Black Duck's creater and returns the components
type Creater ¶
type Creater interface { Ensure(blackDuck *blackduckapi.Blackduck) error Versions() []string GetComponents(blackDuck *blackduckapi.Blackduck) (*api.ComponentList, error) GetPostgresComponents(blackDuck *blackduckapi.Blackduck) (*api.ComponentList, error) GetPVC(blackduck *blackduckapi.Blackduck) ([]*components.PersistentVolumeClaim, error) }
Creater interface
Click to show internal directories.
Click to hide internal directories.