Documentation ¶
Index ¶
- Constants
- type DefaultUserSecretBuilder
- type ErlangCookieBuilder
- type HeadlessServiceBuilder
- type RabbitmqPlugins
- type RabbitmqPluginsConfigMapBuilder
- type RabbitmqResourceBuilder
- func (builder *RabbitmqResourceBuilder) DefaultUserSecret() *DefaultUserSecretBuilder
- func (builder *RabbitmqResourceBuilder) ErlangCookie() *ErlangCookieBuilder
- func (builder *RabbitmqResourceBuilder) HeadlessService() *HeadlessServiceBuilder
- func (builder *RabbitmqResourceBuilder) RabbitmqPluginsConfigMap() *RabbitmqPluginsConfigMapBuilder
- func (builder *RabbitmqResourceBuilder) ResourceBuilders() []ResourceBuilder
- func (builder *RabbitmqResourceBuilder) Role() *RoleBuilder
- func (builder *RabbitmqResourceBuilder) RoleBinding() *RoleBindingBuilder
- func (builder *RabbitmqResourceBuilder) ServerConfigMap() *ServerConfigMapBuilder
- func (builder *RabbitmqResourceBuilder) Service() *ServiceBuilder
- func (builder *RabbitmqResourceBuilder) ServiceAccount() *ServiceAccountBuilder
- func (builder *RabbitmqResourceBuilder) StatefulSet() *StatefulSetBuilder
- type ResourceBuilder
- type RoleBindingBuilder
- type RoleBuilder
- type ServerConfigMapBuilder
- type ServiceAccountBuilder
- type ServiceBuilder
- type StatefulSetBuilder
Constants ¶
View Source
const (
DefaultUserSecretName = "default-user"
)
View Source
const (
DeletionMarker string = "skipPreStopChecks"
)
View Source
const PluginsConfigName = "plugins-conf"
View Source
const (
ServerConfigMapName = "server-conf"
)
View Source
const (
ServiceSuffix = ""
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultUserSecretBuilder ¶
type DefaultUserSecretBuilder struct {
*RabbitmqResourceBuilder
}
func (*DefaultUserSecretBuilder) Build ¶
func (builder *DefaultUserSecretBuilder) Build() (client.Object, error)
func (*DefaultUserSecretBuilder) Update ¶
func (builder *DefaultUserSecretBuilder) Update(object client.Object) error
func (*DefaultUserSecretBuilder) UpdateMayRequireStsRecreate ¶
func (builder *DefaultUserSecretBuilder) UpdateMayRequireStsRecreate() bool
type ErlangCookieBuilder ¶
type ErlangCookieBuilder struct {
*RabbitmqResourceBuilder
}
func (*ErlangCookieBuilder) Build ¶
func (builder *ErlangCookieBuilder) Build() (client.Object, error)
func (*ErlangCookieBuilder) Update ¶
func (builder *ErlangCookieBuilder) Update(object client.Object) error
func (*ErlangCookieBuilder) UpdateMayRequireStsRecreate ¶
func (builder *ErlangCookieBuilder) UpdateMayRequireStsRecreate() bool
type HeadlessServiceBuilder ¶
type HeadlessServiceBuilder struct {
*RabbitmqResourceBuilder
}
func (*HeadlessServiceBuilder) Build ¶
func (builder *HeadlessServiceBuilder) Build() (client.Object, error)
func (*HeadlessServiceBuilder) Update ¶
func (builder *HeadlessServiceBuilder) Update(object client.Object) error
func (*HeadlessServiceBuilder) UpdateMayRequireStsRecreate ¶
func (builder *HeadlessServiceBuilder) UpdateMayRequireStsRecreate() bool
type RabbitmqPlugins ¶
type RabbitmqPlugins struct {
// contains filtered or unexported fields
}
func NewRabbitmqPlugins ¶
func NewRabbitmqPlugins(plugins []rabbitmqv1beta1.Plugin) RabbitmqPlugins
func (*RabbitmqPlugins) AsString ¶
func (r *RabbitmqPlugins) AsString(sep string) string
func (*RabbitmqPlugins) DesiredPlugins ¶
func (r *RabbitmqPlugins) DesiredPlugins() []string
type RabbitmqPluginsConfigMapBuilder ¶
type RabbitmqPluginsConfigMapBuilder struct {
*RabbitmqResourceBuilder
}
func (*RabbitmqPluginsConfigMapBuilder) Build ¶
func (builder *RabbitmqPluginsConfigMapBuilder) Build() (client.Object, error)
func (*RabbitmqPluginsConfigMapBuilder) Update ¶
func (builder *RabbitmqPluginsConfigMapBuilder) Update(object client.Object) error
func (*RabbitmqPluginsConfigMapBuilder) UpdateMayRequireStsRecreate ¶
func (builder *RabbitmqPluginsConfigMapBuilder) UpdateMayRequireStsRecreate() bool
type RabbitmqResourceBuilder ¶
type RabbitmqResourceBuilder struct { Instance *rabbitmqv1beta1.RabbitmqCluster Scheme *runtime.Scheme }
func (*RabbitmqResourceBuilder) DefaultUserSecret ¶
func (builder *RabbitmqResourceBuilder) DefaultUserSecret() *DefaultUserSecretBuilder
func (*RabbitmqResourceBuilder) ErlangCookie ¶
func (builder *RabbitmqResourceBuilder) ErlangCookie() *ErlangCookieBuilder
func (*RabbitmqResourceBuilder) HeadlessService ¶
func (builder *RabbitmqResourceBuilder) HeadlessService() *HeadlessServiceBuilder
func (*RabbitmqResourceBuilder) RabbitmqPluginsConfigMap ¶
func (builder *RabbitmqResourceBuilder) RabbitmqPluginsConfigMap() *RabbitmqPluginsConfigMapBuilder
func (*RabbitmqResourceBuilder) ResourceBuilders ¶
func (builder *RabbitmqResourceBuilder) ResourceBuilders() []ResourceBuilder
func (*RabbitmqResourceBuilder) Role ¶
func (builder *RabbitmqResourceBuilder) Role() *RoleBuilder
func (*RabbitmqResourceBuilder) RoleBinding ¶
func (builder *RabbitmqResourceBuilder) RoleBinding() *RoleBindingBuilder
func (*RabbitmqResourceBuilder) ServerConfigMap ¶
func (builder *RabbitmqResourceBuilder) ServerConfigMap() *ServerConfigMapBuilder
func (*RabbitmqResourceBuilder) Service ¶
func (builder *RabbitmqResourceBuilder) Service() *ServiceBuilder
func (*RabbitmqResourceBuilder) ServiceAccount ¶
func (builder *RabbitmqResourceBuilder) ServiceAccount() *ServiceAccountBuilder
func (*RabbitmqResourceBuilder) StatefulSet ¶
func (builder *RabbitmqResourceBuilder) StatefulSet() *StatefulSetBuilder
type ResourceBuilder ¶
type RoleBindingBuilder ¶
type RoleBindingBuilder struct {
*RabbitmqResourceBuilder
}
func (*RoleBindingBuilder) Build ¶
func (builder *RoleBindingBuilder) Build() (client.Object, error)
func (*RoleBindingBuilder) Update ¶
func (builder *RoleBindingBuilder) Update(object client.Object) error
func (*RoleBindingBuilder) UpdateMayRequireStsRecreate ¶
func (builder *RoleBindingBuilder) UpdateMayRequireStsRecreate() bool
type RoleBuilder ¶
type RoleBuilder struct {
*RabbitmqResourceBuilder
}
func (*RoleBuilder) UpdateMayRequireStsRecreate ¶
func (builder *RoleBuilder) UpdateMayRequireStsRecreate() bool
type ServerConfigMapBuilder ¶
type ServerConfigMapBuilder struct { *RabbitmqResourceBuilder UpdateRequiresStsRestart bool }
func (*ServerConfigMapBuilder) Build ¶
func (builder *ServerConfigMapBuilder) Build() (client.Object, error)
func (*ServerConfigMapBuilder) Update ¶
func (builder *ServerConfigMapBuilder) Update(object client.Object) error
func (*ServerConfigMapBuilder) UpdateMayRequireStsRecreate ¶
func (builder *ServerConfigMapBuilder) UpdateMayRequireStsRecreate() bool
type ServiceAccountBuilder ¶
type ServiceAccountBuilder struct {
*RabbitmqResourceBuilder
}
func (*ServiceAccountBuilder) Build ¶
func (builder *ServiceAccountBuilder) Build() (client.Object, error)
func (*ServiceAccountBuilder) Update ¶
func (builder *ServiceAccountBuilder) Update(object client.Object) error
func (*ServiceAccountBuilder) UpdateMayRequireStsRecreate ¶
func (builder *ServiceAccountBuilder) UpdateMayRequireStsRecreate() bool
type ServiceBuilder ¶
type ServiceBuilder struct {
*RabbitmqResourceBuilder
}
func (*ServiceBuilder) UpdateMayRequireStsRecreate ¶
func (builder *ServiceBuilder) UpdateMayRequireStsRecreate() bool
type StatefulSetBuilder ¶
type StatefulSetBuilder struct {
*RabbitmqResourceBuilder
}
func (*StatefulSetBuilder) Build ¶
func (builder *StatefulSetBuilder) Build() (client.Object, error)
func (*StatefulSetBuilder) Update ¶
func (builder *StatefulSetBuilder) Update(object client.Object) error
func (*StatefulSetBuilder) UpdateMayRequireStsRecreate ¶
func (builder *StatefulSetBuilder) UpdateMayRequireStsRecreate() bool
updates to storage capacity will recreate sts
Click to show internal directories.
Click to hide internal directories.