Documentation ¶
Index ¶
Constants ¶
const ( // NexusPortName is the name of the port on the service NexusPortName = "http" // DefaultHTTPPort is the default HTTP port DefaultHTTPPort = 80 )
const (
// JvmArgsEnvKey is they env var for JVM args
JvmArgsEnvKey = "INSTALL4J_ADD_VM_PARAMS"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is responsible for creating deployment-related resources, fetching deployed ones and comparing them Use with zero values will result in a panic. Use the NewManager function to get a properly initialized manager
func NewManager ¶
NewManager creates a deployment resources manager It is expected that the Nexus has been previously validated.
func (*Manager) GetCustomComparator ¶
func (m *Manager) GetCustomComparator(t reflect.Type) func(deployed resource.KubernetesResource, requested resource.KubernetesResource) bool
GetCustomComparator returns the custom comp function used to compare a deployment-related resource Returns nil if there is none
func (*Manager) GetCustomComparators ¶
func (m *Manager) GetCustomComparators() map[reflect.Type]func(deployed resource.KubernetesResource, requested resource.KubernetesResource) bool
GetCustomComparators returns all custom comp functions in a map indexed by the resource type Returns nil if there are none
func (*Manager) GetDeployedResources ¶
func (m *Manager) GetDeployedResources() ([]resource.KubernetesResource, error)
GetDeployedResources returns the deployment-related resources deployed on the cluster
func (*Manager) GetRequiredResources ¶
func (m *Manager) GetRequiredResources() ([]resource.KubernetesResource, error)
GetRequiredResources returns the resources initialized by the manager