changedetection

package
v14.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type TCCP

type TCCP struct {
	// contains filtered or unexported fields
}

TCCP is a detection service implementation deciding if the TCCP stack should be updated.

func NewTCCP

func NewTCCP(config TCCPConfig) (*TCCP, error)

func (*TCCP) ShouldUpdate

func (t *TCCP) ShouldUpdate(ctx context.Context, cr infrastructurev1alpha3.AWSCluster) (bool, error)

ShouldUpdate determines whether the reconciled TCCP stack should be updated.

The node pool's combined availability zone configuration changes.
The operator's version changes.

type TCCPConfig

type TCCPConfig struct {
	Event  recorder.Interface
	Logger micrologger.Logger
}

type TCCPF

type TCCPF struct {
	// contains filtered or unexported fields
}

TCCPF is a detection service implementation deciding if the TCCPF stack should be updated.

func NewTCCPF

func NewTCCPF(config TCCPFConfig) (*TCCPF, error)

func (*TCCPF) ShouldUpdate

func (t *TCCPF) ShouldUpdate(ctx context.Context, cr infrastructurev1alpha3.AWSCluster) (bool, error)

ShouldUpdate determines whether the reconciled TCCPF stack should be updated.

The node pool's combined availability zone configuration changes.
The operator's version changes.

type TCCPFConfig

type TCCPFConfig struct {
	Logger micrologger.Logger
}

type TCCPN

type TCCPN struct {
	// contains filtered or unexported fields
}

TCCPN is a detection service implementation deciding if the TCCPN stack should be updated.

func NewTCCPN

func NewTCCPN(config TCCPNConfig) (*TCCPN, error)

func (*TCCPN) ShouldUpdate

ShouldUpdate determines whether the reconciled TCCPN stack should be updated.

The master node's instance type changes.
The operator's version changes.

type TCCPNConfig

type TCCPNConfig struct {
	Event    recorder.Interface
	HAMaster hamaster.Interface
	Logger   micrologger.Logger
	Releases releases.Interface
}

type TCNP

type TCNP struct {
	// contains filtered or unexported fields
}

TCNP is a detection service implementation deciding if the TCNP stack should be updated.

func NewTCNP

func NewTCNP(config TCNPConfig) (*TCNP, error)

func (*TCNP) ShouldScale

ShouldScale determines whether the reconciled TCNP stack should be scaled.

The node pool's scaling max changes.
The node pool's scaling min changes.

func (*TCNP) ShouldUpdate

ShouldUpdate determines whether the reconciled TCNP stack should be updated.

The worker node's docker volume size changes.
The worker node's instance type changes.
The operator's version changes.
The composition of security groups changes.

type TCNPConfig

type TCNPConfig struct {
	Event    recorder.Interface
	Logger   micrologger.Logger
	Releases releases.Interface
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL