falcon_container_deployer

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Unlicense Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INJECTION_LABEL          = "sensor.falcon-system.crowdstrike.com/injection"
	INJECTION_LABEL_DISABLED = "disabled"
)
View Source
const (
	IMAGE_STREAM_NAME = "falcon-container"
)
View Source
const (
	JOB_NAME = "falcon-configure"
)
View Source
const (
	NAMESPACE = "falcon-system-configure"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FalconContainerDeployer

type FalconContainerDeployer struct {
	Ctx context.Context
	client.Client
	Log        logr.Logger
	Instance   *falconv1alpha1.FalconContainer
	RestConfig *rest.Config
	Scheme     *runtime.Scheme
}

func (*FalconContainerDeployer) ConfigurePod

func (d *FalconContainerDeployer) ConfigurePod() (*corev1.Pod, error)

func (*FalconContainerDeployer) CreateImageStream

func (d *FalconContainerDeployer) CreateImageStream() error

func (*FalconContainerDeployer) CreateJob

func (d *FalconContainerDeployer) CreateJob() error

func (*FalconContainerDeployer) CreateNamespace

func (d *FalconContainerDeployer) CreateNamespace(namespace string) error

func (*FalconContainerDeployer) Error

func (d *FalconContainerDeployer) Error(message string, err error) (ctrl.Result, error)

func (*FalconContainerDeployer) GetImageStream

func (d *FalconContainerDeployer) GetImageStream() (*imagev1.ImageStream, error)

func (*FalconContainerDeployer) GetJob

func (d *FalconContainerDeployer) GetJob() (*batchv1.Job, error)

func (*FalconContainerDeployer) GetNamespace

func (d *FalconContainerDeployer) GetNamespace(namespace string) (*corev1.Namespace, error)

func (*FalconContainerDeployer) InjectorPod added in v0.4.0

func (d *FalconContainerDeployer) InjectorPod() (*corev1.Pod, error)

func (*FalconContainerDeployer) Namespace

func (d *FalconContainerDeployer) Namespace() string

Returns the namespace in which the operator runs and creates helper artifacts

func (*FalconContainerDeployer) NextPhase

func (*FalconContainerDeployer) PhaseBuilding

func (d *FalconContainerDeployer) PhaseBuilding() (ctrl.Result, error)

func (*FalconContainerDeployer) PhaseConfiguring

func (d *FalconContainerDeployer) PhaseConfiguring() (ctrl.Result, error)

func (*FalconContainerDeployer) PhaseDeploying

func (d *FalconContainerDeployer) PhaseDeploying() (ctrl.Result, error)

func (*FalconContainerDeployer) PhasePending

func (d *FalconContainerDeployer) PhasePending() (ctrl.Result, error)

func (*FalconContainerDeployer) PhaseValidating added in v0.4.0

func (d *FalconContainerDeployer) PhaseValidating() (ctrl.Result, error)

func (*FalconContainerDeployer) PushImage

func (d *FalconContainerDeployer) PushImage() error

func (*FalconContainerDeployer) Reconcile

func (d *FalconContainerDeployer) Reconcile() (ctrl.Result, error)

func (*FalconContainerDeployer) UpsertCrowdStrikeSecrets added in v0.5.0

func (d *FalconContainerDeployer) UpsertCrowdStrikeSecrets() error

func (*FalconContainerDeployer) UpsertECRRepo added in v0.3.0

func (d *FalconContainerDeployer) UpsertECRRepo() (*types.Repository, error)

func (*FalconContainerDeployer) UpsertImageStream

func (d *FalconContainerDeployer) UpsertImageStream() (stream *imagev1.ImageStream, err error)

func (*FalconContainerDeployer) UpsertJob

func (d *FalconContainerDeployer) UpsertJob() (job *batchv1.Job, err error)

func (*FalconContainerDeployer) UpsertNamespace

func (d *FalconContainerDeployer) UpsertNamespace(namespace string) (ns *corev1.Namespace, err error)

Jump to

Keyboard shortcuts

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