components

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientPortsNetworkPolicyComponent added in v0.6.18

func NewClientPortsNetworkPolicyComponent(
	obj *client.Object,
	ports []corev1.ServicePort,
	clientLabels map[string]string,
	meta *metadata.Provider) *networkingv1.NetworkPolicy

func NewClientPortsServiceComponent added in v0.6.18

func NewClientPortsServiceComponent(
	obj *client.Object,
	ports []corev1.ServicePort,
	clientLabels map[string]string,
	meta *metadata.Provider) *corev1.Service

Types

type ClientPortsNetworkPolicyComponent added in v0.6.18

type ClientPortsNetworkPolicyComponent struct {
	ClientPorts  func(obj *client.Object) []corev1.ServicePort
	ClientLabels func(obj *client.Object) map[string]string
	Meta         *metadata.Provider
}

func (ClientPortsNetworkPolicyComponent) Kind added in v0.6.18

func (ClientPortsNetworkPolicyComponent) Reconcile added in v0.6.18

type ClientPortsServiceComponent added in v0.6.18

type ClientPortsServiceComponent struct {
	ClientPorts  func(obj *client.Object) []corev1.ServicePort
	ClientLabels func(obj *client.Object) map[string]string
	Meta         *metadata.Provider
}

func (ClientPortsServiceComponent) Kind added in v0.6.18

func (ClientPortsServiceComponent) Reconcile added in v0.6.18

type ClusterStatusUpdateDataSource

type ClusterStatusUpdateDataSource interface {
	ListOpts() []client.ListOption
	StatefulSet() *appsv1.StatefulSet
	ClusterStatusConfig() *dcv1alpha1.ClusterStatusConfig
	Image() *dcv1alpha1.OCIImageDefinition
}

type ClusterStatusUpdateDataSourceFactory

type ClusterStatusUpdateDataSourceFactory func(client.Object) ClusterStatusUpdateDataSource

type ConfigMapDataSource

type ConfigMapDataSource interface {
	ConfigMap() *corev1.ConfigMap
	Delete() bool
}

type ConfigMapDataSourceFactory

type ConfigMapDataSourceFactory func(object client.Object) ConfigMapDataSource

type HorizontalPodAutoscalerDataSource

type HorizontalPodAutoscalerDataSource interface {
	HorizontalPodAutoscaler() *autoscalingv2.HorizontalPodAutoscaler
	Delete() bool
}

type HorizontalPodAutoscalerDataSourceFactory

type HorizontalPodAutoscalerDataSourceFactory func(client.Object) HorizontalPodAutoscalerDataSource

type IstioPeerAuthenticationDataSource

type IstioPeerAuthenticationDataSource interface {
	PeerAuthInfo() *istio.PeerAuthInfo
	Enabled() bool
	Delete() bool
}

type IstioPeerAuthenticationDataSourceFactory

type IstioPeerAuthenticationDataSourceFactory func(client.Object) IstioPeerAuthenticationDataSource

type NetworkPolicyDataSource

type NetworkPolicyDataSource interface {
	NetworkPolicy() *networkingv1.NetworkPolicy
	Delete() bool
}

type NetworkPolicyDataSourceFactory

type NetworkPolicyDataSourceFactory func(client.Object) NetworkPolicyDataSource

type RoleBindingDataSource

type RoleBindingDataSource interface {
	RoleBinding() *rbacv1.RoleBinding
	Delete() bool
}

type RoleBindingDataSourceFactory

type RoleBindingDataSourceFactory func(client.Object) RoleBindingDataSource

type RoleDataSource

type RoleDataSource interface {
	Role() *rbacv1.Role
	Delete() bool
}

type RoleDataSourceFactory

type RoleDataSourceFactory func(client.Object) RoleDataSource

type ServiceAccountDataSource

type ServiceAccountDataSource interface {
	ServiceAccount() *corev1.ServiceAccount
	Delete() bool
}

type ServiceAccountDataSourceFactory

type ServiceAccountDataSourceFactory func(client.Object) ServiceAccountDataSource

type ServiceDataSource

type ServiceDataSource interface {
	Service() *corev1.Service
}

type ServiceDataSourceFactory

type ServiceDataSourceFactory func(client.Object) ServiceDataSource

type StatefulSetDataSource

type StatefulSetDataSource interface {
	StatefulSet() (*appsv1.StatefulSet, error)
	PVCListOpts() []client.ListOption
}

type StatefulSetDataSourceFactory

type StatefulSetDataSourceFactory func(client.Object) StatefulSetDataSource

Jump to

Keyboard shortcuts

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