v1alpha1

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the security v1alpha1 API group +kubebuilder:object:generate=true +groupName=security.brcmlabs.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "security.brcmlabs.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type EnrollmentBundle

type EnrollmentBundle struct {
	SecretName  string `json:"secretName,omitempty"`
	LastUpdated string `json:"lastUpdated,omitempty"`
}

EnrollmentBundle

func (*EnrollmentBundle) DeepCopy

func (in *EnrollmentBundle) DeepCopy() *EnrollmentBundle

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnrollmentBundle.

func (*EnrollmentBundle) DeepCopyInto

func (in *EnrollmentBundle) DeepCopyInto(out *EnrollmentBundle)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GatewayProxy

type GatewayProxy struct {
	Name string `json:"name,omitempty"`
	// Type - Ephemeral or DbBacked
	Type     string         `json:"type,omitempty"`
	Gateways []ProxyGateway `json:"gateways,omitempty"`
}

GatewayProxy

func (*GatewayProxy) DeepCopy

func (in *GatewayProxy) DeepCopy() *GatewayProxy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayProxy.

func (*GatewayProxy) DeepCopyInto

func (in *GatewayProxy) DeepCopyInto(out *GatewayProxy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type L7Api

type L7Api struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   L7ApiSpec   `json:"spec,omitempty"`
	Status L7ApiStatus `json:"status,omitempty"`
}

L7Api is the Schema for the l7apis API

func (*L7Api) DeepCopy

func (in *L7Api) DeepCopy() *L7Api

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7Api.

func (*L7Api) DeepCopyInto

func (in *L7Api) DeepCopyInto(out *L7Api)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*L7Api) DeepCopyObject

func (in *L7Api) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type L7ApiList

type L7ApiList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []L7Api `json:"items"`
}

L7ApiList contains a list of L7Api

func (*L7ApiList) DeepCopy

func (in *L7ApiList) DeepCopy() *L7ApiList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7ApiList.

func (*L7ApiList) DeepCopyInto

func (in *L7ApiList) DeepCopyInto(out *L7ApiList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*L7ApiList) DeepCopyObject

func (in *L7ApiList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type L7ApiSpec

type L7ApiSpec struct {
	Name            string   `json:"name,omitempty"`
	ServiceUrl      string   `json:"serviceUrl,omitempty"`
	PortalPublished bool     `json:"portalPublished,omitempty"`
	GraphmanBundle  string   `json:"graphmanBundle,omitempty"`
	DeploymentTags  []string `json:"deploymentTags,omitempty"`
	L7Portal        string   `json:"l7Portal,omitempty"`
}

L7ApiSpec defines the desired state of L7Api

func (*L7ApiSpec) DeepCopy

func (in *L7ApiSpec) DeepCopy() *L7ApiSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7ApiSpec.

func (*L7ApiSpec) DeepCopyInto

func (in *L7ApiSpec) DeepCopyInto(out *L7ApiSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type L7ApiStatus

type L7ApiStatus struct {
	Gateways []LinkedGatewayStatus `json:"gateways,omitempty"`
}

L7ApiStatus defines the observed state of L7Api

func (*L7ApiStatus) DeepCopy

func (in *L7ApiStatus) DeepCopy() *L7ApiStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7ApiStatus.

func (*L7ApiStatus) DeepCopyInto

func (in *L7ApiStatus) DeepCopyInto(out *L7ApiStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type L7Portal

type L7Portal struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   L7PortalSpec   `json:"spec,omitempty"`
	Status L7PortalStatus `json:"status,omitempty"`
}

L7Portal is the Schema for the l7portals API

func (*L7Portal) DeepCopy

func (in *L7Portal) DeepCopy() *L7Portal

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7Portal.

func (*L7Portal) DeepCopyInto

func (in *L7Portal) DeepCopyInto(out *L7Portal)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*L7Portal) DeepCopyObject

func (in *L7Portal) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type L7PortalList

type L7PortalList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []L7Portal `json:"items"`
}

L7PortalList contains a list of L7Portal

func (*L7PortalList) DeepCopy

func (in *L7PortalList) DeepCopy() *L7PortalList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7PortalList.

func (*L7PortalList) DeepCopyInto

func (in *L7PortalList) DeepCopyInto(out *L7PortalList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*L7PortalList) DeepCopyObject

func (in *L7PortalList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type L7PortalSpec

type L7PortalSpec struct {
	//Labels - Custom Labels
	Labels map[string]string `json:"labels,omitempty"`
	// Name Portal name
	Name string `json:"name,omitempty"`
	// Enabled - if enabled this Portal and its APIs will be synced
	Enabled bool `json:"enabled,omitempty"`
	// Endoint - Portal endpoint
	Endpoint string `json:"endpoint,omitempty"`
	// Mode determines how or if the Portal is contacted
	// defaults to auto, options are auto, local. Local requires
	// enrollmentBundle to be set.
	Mode string `json:"mode,omitempty"`
	// EnrollmentBundle - allows a custom enrollment bundle to be set in the Portal CR
	EnrollmentBundle string `json:"enrollmentBundle,omitempty"`
	// Deployment Tags - determines which Gateway deployments these APIs will be applied to
	DeploymentTags []string `json:"deploymentTags,omitempty"`
	// Auth - Portal credentials
	Auth PortalAuth `json:"auth,omitempty"`
	// SyncIntervalSeconds how often the Portal CR is reconciled. Default is 10 seconds
	SyncIntervalSeconds int `json:"syncIntervalSeconds,omitempty"`
}

L7PortalSpec defines the desired state of L7Portal

func (*L7PortalSpec) DeepCopy

func (in *L7PortalSpec) DeepCopy() *L7PortalSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7PortalSpec.

func (*L7PortalSpec) DeepCopyInto

func (in *L7PortalSpec) DeepCopyInto(out *L7PortalSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type L7PortalStatus

type L7PortalStatus struct {
	Ready               bool             `json:"ready,omitempty"`
	GatewayProxies      []GatewayProxy   `json:"proxies,omitempty"`
	LastUpdated         int64            `json:"lastUpdated,omitempty"`
	EnrollmentBundle    EnrollmentBundle `json:"enrollmentBundle,omitempty"`
	ApiSummaryConfigMap string           `json:"apiSummaryConfigMap,omitempty"`
	ApiCount            int              `json:"apiCount,omitempty"`
	Checksum            string           `json:"checksum,omitempty"`
}

L7PortalStatus defines the observed state of L7Portal

func (*L7PortalStatus) DeepCopy

func (in *L7PortalStatus) DeepCopy() *L7PortalStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7PortalStatus.

func (*L7PortalStatus) DeepCopyInto

func (in *L7PortalStatus) DeepCopyInto(out *L7PortalStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type LinkedGatewayStatus

type LinkedGatewayStatus struct {
	Name        string          `json:"name,omitempty"`
	Phase       corev1.PodPhase `json:"phase,omitempty"`
	Deployment  string          `json:"deployment,omitempty"`
	Ready       bool            `json:"ready,omitempty"`
	LastUpdated string          `json:"lastUpdated,omitempty"`
	Checksum    string          `json:"checksum,omitempty"`
}

func (*LinkedGatewayStatus) DeepCopy

func (in *LinkedGatewayStatus) DeepCopy() *LinkedGatewayStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinkedGatewayStatus.

func (*LinkedGatewayStatus) DeepCopyInto

func (in *LinkedGatewayStatus) DeepCopyInto(out *LinkedGatewayStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PortalAuth

type PortalAuth struct {
	Endpoint           string `json:"endpoint,omitempty"`
	PapiClientId       string `json:"clientId,omitempty"`
	PapiClientSecret   string `json:"clientSecret,omitempty"`
	ExistingSecretName string `json:"existingSecretName,omitempty"`
}

PortalAuth

func (*PortalAuth) DeepCopy

func (in *PortalAuth) DeepCopy() *PortalAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalAuth.

func (*PortalAuth) DeepCopyInto

func (in *PortalAuth) DeepCopyInto(out *PortalAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProxyGateway

type ProxyGateway struct {
	Name         string `json:"name,omitempty"`
	Synchronised bool   `json:"synchronised,omitempty"`
	LastUpdated  string `json:"lastUpdated,omitempty"`
}

func (*ProxyGateway) DeepCopy

func (in *ProxyGateway) DeepCopy() *ProxyGateway

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyGateway.

func (*ProxyGateway) DeepCopyInto

func (in *ProxyGateway) DeepCopyInto(out *ProxyGateway)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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