Documentation ¶
Index ¶
- func PullClusterLogForwarder(apiClient *clients.Settings, name, namespace string) (*clov1.ClusterLogForwarder, error)
- type Builder
- type ClusterLogForwarderBuilder
- func (builder *ClusterLogForwarderBuilder) Create() (*ClusterLogForwarderBuilder, error)
- func (builder *ClusterLogForwarderBuilder) Delete() error
- func (builder *ClusterLogForwarderBuilder) Exists() bool
- func (builder *ClusterLogForwarderBuilder) Get() (*clov1.ClusterLogForwarder, error)
- func (builder *ClusterLogForwarderBuilder) Update(force bool) (*ClusterLogForwarderBuilder, error)
- func (builder *ClusterLogForwarderBuilder) WithOutput(outputSpec *clov1.OutputSpec) *ClusterLogForwarderBuilder
- func (builder *ClusterLogForwarderBuilder) WithPipeline(pipelineSpec *clov1.PipelineSpec) *ClusterLogForwarderBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PullClusterLogForwarder ¶
func PullClusterLogForwarder(apiClient *clients.Settings, name, namespace string) (*clov1.ClusterLogForwarder, error)
PullClusterLogForwarder retrieves an existing clusterlogforwarder object from the cluster.
Types ¶
type Builder ¶
type Builder struct { // ClusterLogging definition. Used to create clusterLogging object with minimum set of required elements. Definition *clov1.ClusterLogging // Created clusterLogging object on the cluster. Object *clov1.ClusterLogging // contains filtered or unexported fields }
Builder provides struct for clusterLogging object.
func NewBuilder ¶
NewBuilder method creates new instance of builder.
func (*Builder) Create ¶
Create makes a clusterLogging in the cluster and stores the created object in struct.
type ClusterLogForwarderBuilder ¶
type ClusterLogForwarderBuilder struct { // clusterlogforwarder definition, used to create the clusterlogforwarder object. Definition *clov1.ClusterLogForwarder // Created clusterlogforwarder object. Object *clov1.ClusterLogForwarder // contains filtered or unexported fields }
ClusterLogForwarderBuilder provides a struct for clusterlogforwarder object from the cluster and a clusterlogforwarder definition.
func NewClusterLogForwarderBuilder ¶
func NewClusterLogForwarderBuilder( apiClient *clients.Settings, name, nsname string) *ClusterLogForwarderBuilder
NewClusterLogForwarderBuilder method creates new instance of builder.
func (*ClusterLogForwarderBuilder) Create ¶
func (builder *ClusterLogForwarderBuilder) Create() (*ClusterLogForwarderBuilder, error)
Create makes a clusterlogforwarder in the cluster and stores the created object in struct.
func (*ClusterLogForwarderBuilder) Delete ¶
func (builder *ClusterLogForwarderBuilder) Delete() error
Delete removes clusterlogforwarder from a cluster.
func (*ClusterLogForwarderBuilder) Exists ¶
func (builder *ClusterLogForwarderBuilder) Exists() bool
Exists checks whether the given clusterlogforwarder exists.
func (*ClusterLogForwarderBuilder) Get ¶
func (builder *ClusterLogForwarderBuilder) Get() (*clov1.ClusterLogForwarder, error)
Get returns clusterlogforwarder object if found.
func (*ClusterLogForwarderBuilder) Update ¶
func (builder *ClusterLogForwarderBuilder) Update(force bool) (*ClusterLogForwarderBuilder, error)
Update renovates the existing clusterlogforwarder object with clusterlogforwarder definition in builder.
func (*ClusterLogForwarderBuilder) WithOutput ¶
func (builder *ClusterLogForwarderBuilder) WithOutput(outputSpec *clov1.OutputSpec) *ClusterLogForwarderBuilder
WithOutput sets the output on the clusterlogforwarder definition.
func (*ClusterLogForwarderBuilder) WithPipeline ¶
func (builder *ClusterLogForwarderBuilder) WithPipeline(pipelineSpec *clov1.PipelineSpec) *ClusterLogForwarderBuilder
WithPipeline sets the pipeline on the clusterlogforwarder definition.