cassdc

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertContainerNamesMatch

func AssertContainerNamesMatch(cassdc *cassop.CassandraDatacenter, names ...string)

AssertContainerNamesMatch asserts that the names of the containers defined in the podTemplateSpec of the given CassandraDatacenter match the given names

func AssertContainerSecurityContextExistsAndMatches added in v1.4.0

func AssertContainerSecurityContextExistsAndMatches(cassdc *cassop.CassandraDatacenter, name string, ctx corev1.SecurityContext)

AssertContainerSecurityContextExistsAndMatches asserts the securityContext settings provided are equivalent

func AssertInitContainerNamesMatch

func AssertInitContainerNamesMatch(cassdc *cassop.CassandraDatacenter, names ...string)

AssertInitContainerNamesMatch asserts that the names of the initContainers defined in the podTemplateSpec of the given CassandraDatacenter match the given names

func AssertVolumeNamesMatch added in v1.1.0

func AssertVolumeNamesMatch(cassdc *cassop.CassandraDatacenter, names ...string)

AssertVolumeNamesMatch asserts that the names of the volumes defined in the podTemplateSpec of the given CassandraDatacenter match the given names

func GetContainer

func GetContainer(cassdc *cassop.CassandraDatacenter, name string) *corev1.Container

GetContainer finds a container with the given in the podTemplateSpec of the given CassandraDatacenter

func GetInitContainer

func GetInitContainer(cassdc *cassop.CassandraDatacenter, name string) *corev1.Container

GetInitContainer finds an initContainer with the given in the podTemplateSpec of the given CassandraDatacenter

Types

This section is empty.

Jump to

Keyboard shortcuts

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