test

package
v3.0.0-...-4088633 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// VirtualServer is a F5 Custom Resource Kind.
	VirtualServer = "VirtualServer"
	// TLSProfile is a F5 Custom Resource Kind
	TLSProfile = "TLSProfile"
	// IngressLink is a Custom Resource used by both F5 and Nginx
	IngressLink = "IngressLink"
	// TransportServer is a F5 Custom Resource Kind
	TransportServer = "TransportServer"
	// ExternalDNS is a F5 Customr Resource Kind
	ExternalDNS = "ExternalDNS"
	// DeployConfig is a F5 Customr Resource Kind
	DeployConfig = "DeployConfig"
	// IPAM is a F5 Customr Resource Kind
	IPAM = "IPAM"
)

Variables

This section is empty.

Functions

func NewConfigCR

func NewConfigCR(name, namespace string, spec cisapiv1.DeployConfigSpec) *cisapiv1.DeployConfig

func NewEndpoints

func NewEndpoints(
	svcName,
	rv,
	node,
	namespace string,
	readyIps,
	notReadyIps []string,
	ports []v1.EndpointPort,
) *v1.Endpoints

NewEndpoints returns an endpoints objects

func NewExternalDNS

func NewExternalDNS(name, namespace string, spec cisapiv1.ExternalDNSSpec) *cisapiv1.ExternalDNS

func NewIPAM

func NewIPAM(name, namespace string, spec ficV1.IPAMSpec, status ficV1.IPAMStatus) *ficV1.IPAM
func NewIngressLink(name, namespace, rv string, spec cisapiv1.IngressLinkSpec) *cisapiv1.IngressLink

func NewNamespace

func NewNamespace(name, rv string, labels map[string]string) *v1.Namespace

func NewNode

func NewNode(
	id string,
	rv string,
	unsched bool,
	addresses []v1.NodeAddress,
	taints []v1.Taint,
	conditions []v1.NodeCondition,
) *v1.Node

NewNode returns a new node object

func NewPod

func NewPod(name, namespace string, podport int, labels map[string]string) *v1.Pod

NewPod return a pod

func NewPolicy

func NewPolicy(name, namespace string, spec cisapiv1.PolicySpec) *cisapiv1.Policy

func NewRoute

func NewRoute(
	id,
	rv,
	namespace string,
	spec routeapi.RouteSpec,
	annotations map[string]string,
) *routeapi.Route

NewRoute returns a new route object

func NewSecret

func NewSecret(name, namespace, cert, key string) *v1.Secret

NewSecret returns a service

func NewService

func NewService(id, rv, namespace string, serviceType v1.ServiceType,
	portSpecList []v1.ServicePort) *v1.Service

NewService returns a service

func NewServicewithselectors

func NewServicewithselectors(id, rv, namespace string, selector map[string]string, serviceType v1.ServiceType,
	portSpecList []v1.ServicePort) *v1.Service

NewService returns a service

func NewTLSProfile

func NewTLSProfile(name, namespace string, spec cisapiv1.TLSProfileSpec) *cisapiv1.TLSProfile

func NewTransportServer

func NewTransportServer(name, namespace string, spec cisapiv1.TransportServerSpec) *cisapiv1.TransportServer

func NewVirtualServer

func NewVirtualServer(name, namespace string, spec cisapiv1.VirtualServerSpec) *cisapiv1.VirtualServer

Types

This section is empty.

Jump to

Keyboard shortcuts

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