Documentation ¶
Index ¶
- func AssertContainerNamesMatch(cassdc *cassop.CassandraDatacenter, names ...string)
- func AssertContainerSecurityContextExistsAndMatches(cassdc *cassop.CassandraDatacenter, name string, ctx corev1.SecurityContext)
- func AssertInitContainerNamesMatch(cassdc *cassop.CassandraDatacenter, names ...string)
- func AssertVolumeNamesMatch(cassdc *cassop.CassandraDatacenter, names ...string)
- func GetContainer(cassdc *cassop.CassandraDatacenter, name string) *corev1.Container
- func GetInitContainer(cassdc *cassop.CassandraDatacenter, name string) *corev1.Container
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.