Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the security v1alpha1 API group +kubebuilder:object:generate=true +groupName=security.brcmlabs.com
Index ¶
- Variables
- type CustomField
- type EnrollmentBundle
- type GatewayProxy
- type L7Api
- type L7ApiList
- type L7ApiSpec
- type L7ApiStatus
- type L7Portal
- type L7PortalList
- type L7PortalSpec
- type L7PortalStatus
- type LinkedGatewayStatus
- type PolicyTemplate
- type PolicyTemplateArg
- type PortalAuth
- type PortalMeta
- type ProxyGateway
Constants ¶
This section is empty.
Variables ¶
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 CustomField ¶ added in v1.0.6
func (*CustomField) DeepCopy ¶ added in v1.0.6
func (in *CustomField) DeepCopy() *CustomField
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomField.
func (*CustomField) DeepCopyInto ¶ added in v1.0.6
func (in *CustomField) DeepCopyInto(out *CustomField)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7Api.
func (*L7Api) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*L7Api) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7ApiList.
func (*L7ApiList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*L7ApiList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type L7ApiSpec ¶
type L7ApiSpec struct {
// ServiceUrl on the API Gateway
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="ServiceUrl"
ServiceUrl string `json:"serviceUrl,omitempty"`
// PortalPublished
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="PortalPublished"
PortalPublished bool `json:"portalPublished,omitempty"`
// L7Portal is the L7Portal that this API is associated with when Portal Published is true
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="L7Portal"
L7Portal string `json:"l7Portal,omitempty"`
// PortalMeta is reserved for the API Developer Portal
PortalMeta PortalMeta `json:"portalMeta,omitempty"`
// GraphmanBundle associated with this API
// currently limited to Service and Fragments
// auto generated when PortalMeta is set and PortalPublished is true
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="GraphmanBundle"
GraphmanBundle string `json:"graphmanBundle,omitempty"`
// DeploymentTags target Gateway deployments that this API should be published to
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="DeploymentTags"
DeploymentTags []string `json:"deploymentTags,omitempty"`
}
L7ApiSpec defines the desired state of L7Api
func (*L7ApiSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7ApiSpec.
func (*L7ApiSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type L7ApiStatus ¶
type L7ApiStatus struct {
Ready bool `json:"ready,omitempty"`
Checksum string `json:"checksum,omitempty"`
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new L7Portal.
func (*L7Portal) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*L7Portal) DeepCopyObject ¶
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 {
// PortalTenant is the tenantId of the API Developer Portal
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="PortalTenant"
PortalTenant string `json:"portalTenant,omitempty"`
//Labels - Custom Labels
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Labels"
Labels map[string]string `json:"labels,omitempty"`
// Enabled - if enabled this Portal and its APIs will be synced
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Enabled"
Enabled bool `json:"enabled,omitempty"`
// Endoint - Portal endpoint
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Endpoint"
Endpoint string `json:"endpoint,omitempty"`
// EnrollmentBundle - allows a custom enrollment bundle to be set in the Portal CR
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="EnrollmentBundle"
EnrollmentBundle string `json:"enrollmentBundle,omitempty"`
// Deployment Tags - determines which Gateway deployments these APIs will be applied to
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="DeploymentTags"
DeploymentTags []string `json:"deploymentTags,omitempty"`
// Auth - Portal credentials
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Auth"
Auth PortalAuth `json:"auth,omitempty"`
// SyncIntervalSeconds how often the Portal CR is reconciled. Default is 10 seconds
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="SyncIntervalSeconds"
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"`
// Reason: Success/Failed to sync because of x
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 PolicyTemplate ¶ added in v1.0.6
type PolicyTemplate struct {
Uuid string `json:"policyEntityUuid"`
ApiPolicyTemplateArguments []PolicyTemplateArg `json:"policyTemplateArguments"`
}
func (*PolicyTemplate) DeepCopy ¶ added in v1.0.6
func (in *PolicyTemplate) DeepCopy() *PolicyTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyTemplate.
func (*PolicyTemplate) DeepCopyInto ¶ added in v1.0.6
func (in *PolicyTemplate) DeepCopyInto(out *PolicyTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PolicyTemplateArg ¶ added in v1.0.6
func (*PolicyTemplateArg) DeepCopy ¶ added in v1.0.6
func (in *PolicyTemplateArg) DeepCopy() *PolicyTemplateArg
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PolicyTemplateArg.
func (*PolicyTemplateArg) DeepCopyInto ¶ added in v1.0.6
func (in *PolicyTemplateArg) DeepCopyInto(out *PolicyTemplateArg)
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 PortalMeta ¶ added in v1.0.6
type PortalMeta struct {
TenantId string `json:"tenantId,omitempty"`
Uuid string `json:"apiUuid,omitempty"`
UuidStripped string `json:"apiId,omitempty"`
ServiceId string `json:"serviceId,omitempty"`
Name string `json:"name,omitempty"`
ApiEnabled bool `json:"enabled,omitempty"`
SsgUrl string `json:"ssgUrl,omitempty"`
SsgUrlBase64 string `json:"ssgUrlEncoded,omitempty"`
LocationUrl string `json:"locationUrl,omitempty"`
PublishedTs int `json:"publishedTs,omitempty"`
CreateTs int `json:"createTs,omitempty"`
ModifyTs int `json:"modifyTs,omitempty"`
SsgServiceType string `json:"ssgServiceType,omitempty"`
PolicyTemplates []PolicyTemplate `json:"policyEntities,omitempty"`
CustomFields []CustomField `json:"customFieldValues,omitempty"`
Checksum string `json:"checksum,omitempty"`
}
PortalMeta contains layer7 portal API Specific Metadata
func (*PortalMeta) DeepCopy ¶ added in v1.0.6
func (in *PortalMeta) DeepCopy() *PortalMeta
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortalMeta.
func (*PortalMeta) DeepCopyInto ¶ added in v1.0.6
func (in *PortalMeta) DeepCopyInto(out *PortalMeta)
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.