Documentation ¶
Index ¶
- Constants
- func CRD(config *ComponentConfig, group string, kind string) (runtime.Object, reconciler.DesiredState, error)
- func ClusterRole(parent reconciler.ResourceOwner, config ComponentConfig) (runtime.Object, reconciler.DesiredState, error)
- func ClusterRoleBinding(parent reconciler.ResourceOwner, config ComponentConfig) (runtime.Object, reconciler.DesiredState, error)
- func Namespace(_ reconciler.ResourceOwner, config ComponentConfig) (runtime.Object, reconciler.DesiredState, error)
- func Operator(parent reconciler.ResourceOwner, config ComponentConfig) (runtime.Object, reconciler.DesiredState, error)
- func ResourceBuilders(parent reconciler.ResourceOwner, object interface{}) []reconciler.ResourceBuilder
- func ServiceAccount(parent reconciler.ResourceOwner, config ComponentConfig) (runtime.Object, reconciler.DesiredState, error)
- func SetupWithBuilder(builder *builder.Builder)
- type ComponentConfig
Constants ¶
View Source
const (
Image = "ghcr.io/banzaicloud/thanos-operator:0.3.7"
)
Variables ¶
This section is empty.
Functions ¶
func CRD ¶
func CRD(config *ComponentConfig, group string, kind string) (runtime.Object, reconciler.DesiredState, error)
func ClusterRole ¶
func ClusterRole(parent reconciler.ResourceOwner, config ComponentConfig) (runtime.Object, reconciler.DesiredState, error)
func ClusterRoleBinding ¶
func ClusterRoleBinding(parent reconciler.ResourceOwner, config ComponentConfig) (runtime.Object, reconciler.DesiredState, error)
func Namespace ¶ added in v0.1.0
func Namespace(_ reconciler.ResourceOwner, config ComponentConfig) (runtime.Object, reconciler.DesiredState, error)
func Operator ¶
func Operator(parent reconciler.ResourceOwner, config ComponentConfig) (runtime.Object, reconciler.DesiredState, error)
func ResourceBuilders ¶
func ResourceBuilders(parent reconciler.ResourceOwner, object interface{}) []reconciler.ResourceBuilder
func ServiceAccount ¶
func ServiceAccount(parent reconciler.ResourceOwner, config ComponentConfig) (runtime.Object, reconciler.DesiredState, error)
func SetupWithBuilder ¶
Types ¶
type ComponentConfig ¶
type ComponentConfig struct { types.EnabledComponent `json:",inline"` Namespace string `json:"namespace,omitempty"` MetaOverrides *types.MetaBase `json:"metaOverrides,omitempty"` WorkloadMetaOverrides *types.MetaBase `json:"workloadMetaOverrides,omitempty"` WorkloadOverrides *types.PodSpecBase `json:"workloadOverrides,omitempty"` ContainerOverrides *types.ContainerBase `json:"containerOverrides,omitempty"` DeploymentOverrides *types.DeploymentSpecBase `json:"deploymentOverrides,omitempty"` }
func (*ComponentConfig) DeepCopy ¶
func (in *ComponentConfig) DeepCopy() *ComponentConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentConfig.
func (*ComponentConfig) DeepCopyInto ¶
func (in *ComponentConfig) DeepCopyInto(out *ComponentConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.