sgcontroller

package
v0.8.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationKeyReconciliationPaused = "crossplane.io/paused"
)

Variables

View Source
var (
	ErrSecurityGroupNotAvailable = errors.New("security group not available")
)

Functions

This section is empty.

Types

type SecurityGroupReconciler

type SecurityGroupReconciler struct {
	client.Client
	Scheme                          *runtime.Scheme
	Recorder                        record.EventRecorder
	NewEC2ClientFactory             func(cfg aws.Config) ec2.EC2Client
	NewAutoScalingClientFactory     func(cfg aws.Config) autoscaling.AutoScalingClient
	NewOceanCloudProviderAWSFactory func() spot.OceanClient
}

SecurityGroupReconciler reconciles a SecurityGroup object

func DefaultReconciler

func DefaultReconciler(mgr manager.Manager) *SecurityGroupReconciler

func (*SecurityGroupReconciler) Reconcile

func (c *SecurityGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request) (_ ctrl.Result, rerr error)

func (*SecurityGroupReconciler) SetupWithManager

func (r *SecurityGroupReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type SecurityGroupReconciliation

type SecurityGroupReconciliation struct {
	SecurityGroupReconciler
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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