Documentation
¶
Index ¶
- type Builder
- func (b *Builder) Build() (*corev1.Service, error)
- func (b *Builder) WithLabels(labels map[string]string) *Builder
- func (b *Builder) WithName(name string) *Builder
- func (b *Builder) WithNamespace(namespace string) *Builder
- func (b *Builder) WithPorts(ports []corev1.ServicePort) *Builder
- func (b *Builder) WithSelectorsNew(selectors map[string]string) *Builder
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is the builder object for Service
func (*Builder) WithLabels ¶
WithLabels sets the labels field of Service provided arguments
func (*Builder) WithNamespace ¶
WithNamespace sets the Namespace field of Service provided arguments
Click to show internal directories.
Click to hide internal directories.