Documentation ¶
Index ¶
- Variables
- func EqualFlowLogProperties(target customResource, observed sdkgo.FlowLogProperties) bool
- func GenerateCreateInput(cr customResource) sdkgo.FlowLog
- func GenerateUpdateInput(cr customResource) sdkgo.FlowLogProperties
- func IsUpToDate(cr customResource, observed sdkgo.FlowLog) bool
- func SetStatus(in customResource, flowLog sdkgo.FlowLog)
- type NLBFlowLog
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotFound flow log was not found ErrNotFound = errors.New("flow log not found") )
Functions ¶
func EqualFlowLogProperties ¶
func EqualFlowLogProperties(target customResource, observed sdkgo.FlowLogProperties) bool
EqualFlowLogProperties compares a target flow log customResource to the observed sdkgo.FlowLogProperties
func GenerateCreateInput ¶
GenerateCreateInput returns sdkgo.FlowLog for Create requests based on CR spec
func GenerateUpdateInput ¶
func GenerateUpdateInput(cr customResource) sdkgo.FlowLogProperties
GenerateUpdateInput returns sdkgo.FlowLogProperties for Update requests based on CR spec
func IsUpToDate ¶
IsUpToDate returns true if the FlowLog is up-to-date or false otherwise
Types ¶
type NLBFlowLog ¶
type NLBFlowLog interface { CheckDuplicateFlowLog(ctx context.Context, datacenterID, nlbID, flowLogName string) (string, error) GetFlowLogByID(ctx context.Context, datacenterID, nlbID, flowLogID string) (sdkgo.FlowLog, error) CreateFlowLog(ctx context.Context, datacenterID, nlbID string, flowLog sdkgo.FlowLog) (sdkgo.FlowLog, error) UpdateFlowLog(ctx context.Context, datacenterID, nlbID, flowLogID string, flowLog sdkgo.FlowLogProperties) (sdkgo.FlowLog, error) DeleteFlowLog(ctx context.Context, datacenterID, nlbID, flowLogID string) error }
NLBFlowLog wrapper for IONOS NetworkLoadBalancer flow log methods
func NLBClient ¶
func NLBClient(svc *clients.IonosServices) NLBFlowLog
NLBClient returns a new NetworkLoadBalancer flow log client
Click to show internal directories.
Click to hide internal directories.