Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetComparator ¶
func GetComparator() compare.MapComparator
GetComparator will create the default comparator for the Nexus instance The comparator can be used to compare two different sets of resources and update them accordingly
Types ¶
type NexusResourceManager ¶
type NexusResourceManager interface {
// GetDeployedResources will fetch for the resources managed by the nexus instance deployed in the cluster
GetDeployedResources(nexus *v1alpha1.Nexus) (resources map[reflect.Type][]resource.KubernetesResource, err error)
// CreateRequiredResources will create the requests resources as it's supposed to be
CreateRequiredResources(nexus *v1alpha1.Nexus) (resources map[reflect.Type][]resource.KubernetesResource, err error)
}
NexusResourceManager is the resources manager for the nexus CR. Handles the creation of every single resource needed to deploy a nexus server instance on Kubernetes
func New ¶
func New(client client.Client, discoveryClient discovery.DiscoveryInterface) NexusResourceManager
New creates a new resource manager for nexus CR
Source Files
¶
Click to show internal directories.
Click to hide internal directories.