Documentation ¶
Index ¶
- type ConfigMapBuilder
- func (n *ConfigMapBuilder) Build() (*corev1.ConfigMap, error)
- func (n *ConfigMapBuilder) BuildLabels() map[string]string
- func (n *ConfigMapBuilder) SetConfig(config string) *ConfigMapBuilder
- func (n *ConfigMapBuilder) SetName(name string) *ConfigMapBuilder
- func (n *ConfigMapBuilder) SetNamespace(namespace string) *ConfigMapBuilder
- type ConfigurationBuilder
- type PodBuilder
- type ServiceBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapBuilder ¶
func NewConfigMapBuilder ¶
func NewConfigMapBuilder() *ConfigMapBuilder
func (*ConfigMapBuilder) BuildLabels ¶
func (n *ConfigMapBuilder) BuildLabels() map[string]string
func (*ConfigMapBuilder) SetConfig ¶
func (n *ConfigMapBuilder) SetConfig(config string) *ConfigMapBuilder
func (*ConfigMapBuilder) SetName ¶
func (n *ConfigMapBuilder) SetName(name string) *ConfigMapBuilder
func (*ConfigMapBuilder) SetNamespace ¶
func (n *ConfigMapBuilder) SetNamespace(namespace string) *ConfigMapBuilder
type ConfigurationBuilder ¶
func NewConfigurationBuilder ¶
func NewConfigurationBuilder() *ConfigurationBuilder
func (*ConfigurationBuilder) Build ¶
func (n *ConfigurationBuilder) Build() (string, error)
func (*ConfigurationBuilder) SetConfig ¶
func (n *ConfigurationBuilder) SetConfig(config models.Config) *ConfigurationBuilder
type PodBuilder ¶
func NewPodBuilder ¶
func NewPodBuilder() *PodBuilder
func (*PodBuilder) BuildLabels ¶
func (n *PodBuilder) BuildLabels() map[string]string
func (*PodBuilder) SetImage ¶
func (n *PodBuilder) SetImage(image string) *PodBuilder
func (*PodBuilder) SetName ¶
func (n *PodBuilder) SetName(name string) *PodBuilder
func (*PodBuilder) SetNamespace ¶
func (n *PodBuilder) SetNamespace(namespace string) *PodBuilder
type ServiceBuilder ¶
func NewServiceBuilder ¶
func NewServiceBuilder() *ServiceBuilder
func (*ServiceBuilder) BuildLabels ¶
func (n *ServiceBuilder) BuildLabels() map[string]string
func (*ServiceBuilder) SetName ¶
func (n *ServiceBuilder) SetName(name string) *ServiceBuilder
func (*ServiceBuilder) SetNamespace ¶
func (n *ServiceBuilder) SetNamespace(namespace string) *ServiceBuilder
Click to show internal directories.
Click to hide internal directories.