Documentation ¶
Index ¶
- type InstanceResourceSet
- func (irs *InstanceResourceSet) AddXrootdConfigMapResource()
- func (irs *InstanceResourceSet) AddXrootdRedirectorServiceResource()
- func (irs *InstanceResourceSet) AddXrootdRedirectorStatefulSetResource()
- func (irs *InstanceResourceSet) AddXrootdWorkerServiceResource()
- func (irs *InstanceResourceSet) AddXrootdWorkerStatefulSetResource()
- func (irs InstanceResourceSet) GetResources() Resources
- type Resource
- type Resources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceResourceSet ¶
type InstanceResourceSet struct {
// contains filtered or unexported fields
}
InstanceResourceSet contains Resources for a given Xrootd instance
func NewInstanceResourceSet ¶
func NewInstanceResourceSet(xrootd *v1alpha1.XrootdCluster) *InstanceResourceSet
NewInstanceResourceSet creates a new InstanceResourceSet for the given xrootd instance
func (*InstanceResourceSet) AddXrootdConfigMapResource ¶
func (irs *InstanceResourceSet) AddXrootdConfigMapResource()
AddXrootdConfigMapResource adds required configmaps for xrootd/cmsd containers
func (*InstanceResourceSet) AddXrootdRedirectorServiceResource ¶
func (irs *InstanceResourceSet) AddXrootdRedirectorServiceResource()
AddXrootdRedirectorServiceResource adds service for redirector component
func (*InstanceResourceSet) AddXrootdRedirectorStatefulSetResource ¶
func (irs *InstanceResourceSet) AddXrootdRedirectorStatefulSetResource()
AddXrootdRedirectorStatefulSetResource adds statefulset for redirector pods
func (*InstanceResourceSet) AddXrootdWorkerServiceResource ¶
func (irs *InstanceResourceSet) AddXrootdWorkerServiceResource()
AddXrootdWorkerServiceResource adds service for worker component
func (*InstanceResourceSet) AddXrootdWorkerStatefulSetResource ¶
func (irs *InstanceResourceSet) AddXrootdWorkerStatefulSetResource()
AddXrootdWorkerStatefulSetResource adds statefulset for worker pods
func (InstanceResourceSet) GetResources ¶
func (irs InstanceResourceSet) GetResources() Resources
GetResources returns the resources managed by this ResourceSet
type Resource ¶
type Resource struct {
Object controllerutil.Object
}
Resource is a wrapper over k8s Object
type Resources ¶
type Resources []Resource
Resources represents a list of Resource
func (Resources) GetK8SResources ¶
func (res Resources) GetK8SResources() []resource.KubernetesResource
GetK8SResources returns the slice representation of managed k8s resources