Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the security v1 API group +kubebuilder:object:generate=true +groupName=security.brcmlabs.com
Index ¶
- Variables
- type App
- type Autoscaling
- type Bootstrap
- type BootstrapScript
- type Bundle
- type CSI
- type Channel
- type Cluster
- type ClusterProperties
- type Collector
- type ConfigMap
- type CustomListenPort
- type Database
- type Gateway
- type GatewayList
- type GatewayRepositoryStatus
- type GatewaySpec
- type GatewayState
- type GatewayStatus
- type Graphman
- type GraphmanBundleEncryption
- type HPA
- type Hazelcast
- type Image
- type Ingress
- type JVMHeap
- type Java
- type License
- type ListenPort
- type ListenPorts
- type LocalReference
- type Management
- type Monitoring
- type Notification
- type Otel
- type PodDisruptionBudgetSpec
- type PodResources
- type Ports
- type Property
- type Repository
- type RepositoryAuth
- type RepositoryList
- type RepositoryReference
- type RepositorySpec
- type RepositoryStatus
- type RepositorySyncConfig
- type ResourceList
- type Restman
- type Service
- type ServiceMonitor
- type System
- type Tls
- type UpdateStrategy
- type VolumeAttributes
- type Webhook
- type WebhookAuth
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "security.brcmlabs.com", Version: "v1"} // 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 App ¶
type App struct { Annotations map[string]string `json:"annotations,omitempty"` Labels map[string]string `json:"labels,omitempty"` ClusterProperties ClusterProperties `json:"cwp,omitempty"` Java Java `json:"java,omitempty"` Management Management `json:"management,omitempty"` System System `json:"system,omitempty"` UpdateStrategy UpdateStrategy `json:"updateStrategy,omitempty"` Image string `json:"image,omitempty"` ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"` ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` ListenPorts ListenPorts `json:"listenPorts,omitempty"` Replicas int32 `json:"replicas,omitempty"` Service Service `json:"service,omitempty"` Bundle []Bundle `json:"bundle,omitempty"` RepositoryReferences []RepositoryReference `json:"repositoryReferences,omitempty"` Ingress Ingress `json:"ingress,omitempty"` Sidecars []corev1.Container `json:"sidecars,omitempty"` InitContainers []corev1.Container `json:"initContainers,omitempty"` Resources PodResources `json:"resources,omitempty"` Autoscaling Autoscaling `json:"autoscaling,omitempty"` ServiceAccountName string `json:"serviceAccountName,omitempty"` Hazelcast Hazelcast `json:"hazelcast,omitempty"` Bootstrap Bootstrap `json:"bootstrap,omitempty"` Monitoring Monitoring `json:"monitoring,omitempty"` ContainerSecurityContext corev1.SecurityContext `json:"containerSecurityContext,omitempty"` PodSecurityContext corev1.PodSecurityContext `json:"podSecurityContext,omitempty"` TopologySpreadConstraints []corev1.TopologySpreadConstraint `json:"topologySpreadConstraints,omitempty"` Tolerations []corev1.Toleration `json:"tolerations,omitempty"` Affinity corev1.Affinity `json:"affinity,omitempty"` PodDisruptionBudget PodDisruptionBudgetSpec `json:"pdb,omitempty"` NodeSelector map[string]string `json:"nodeSelector,omitempty"` }
App contains Gateway specific deployment and application level configuration
func (*App) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App.
func (*App) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Autoscaling ¶
func (*Autoscaling) DeepCopy ¶
func (in *Autoscaling) DeepCopy() *Autoscaling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Autoscaling.
func (*Autoscaling) DeepCopyInto ¶
func (in *Autoscaling) DeepCopyInto(out *Autoscaling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Bootstrap ¶
type Bootstrap struct {
Script BootstrapScript `json:"script,omitempty"`
}
Bootstrap - optionally add a bootstrap script to the Gateway that migrates configuration from /opt/docker/custom to the correct Container Gateway locations for bootstrap
func (*Bootstrap) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bootstrap.
func (*Bootstrap) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootstrapScript ¶
type BootstrapScript struct {
Enabled bool `json:"enabled,omitempty"`
}
BootstrapScript - enable/disable this functionality
func (*BootstrapScript) DeepCopy ¶
func (in *BootstrapScript) DeepCopy() *BootstrapScript
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapScript.
func (*BootstrapScript) DeepCopyInto ¶
func (in *BootstrapScript) DeepCopyInto(out *BootstrapScript)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Bundle ¶
type Bundle struct { Type string `json:"type,omitempty"` Source string `json:"source,omitempty"` Name string `json:"name,omitempty"` ConfigMap ConfigMap `json:"configMap,omitempty"` CSI CSI `json:"csi,omitempty"` }
Bundle A Restman or Graphman bundle
func (*Bundle) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bundle.
func (*Bundle) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CSI ¶
type CSI struct { Driver string `json:"driver,omitempty"` ReadOnly bool `json:"readOnly,omitempty"` VolumeAttributes `json:"volumeAttributes,omitempty"` }
CSI
func (*CSI) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSI.
func (*CSI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Channel ¶
type Channel struct {
Webhook Webhook `json:"webhook,omitempty"`
}
func (*Channel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Channel.
func (*Channel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Cluster ¶
type Cluster struct { Password string `json:"password,omitempty"` Hostname string `json:"hostname,omitempty"` }
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterProperties ¶
type ClusterProperties struct { Enabled bool `json:"enabled,omitempty"` Properties []Property `json:"properties,omitempty"` }
ClusterProperties are key value pairs of additional cluster-wide properties you wish to bootstrap to your Gateway.
func (*ClusterProperties) DeepCopy ¶
func (in *ClusterProperties) DeepCopy() *ClusterProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProperties.
func (*ClusterProperties) DeepCopyInto ¶
func (in *ClusterProperties) DeepCopyInto(out *ClusterProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Collector ¶
type Collector struct { //Name string Create bool `json:"create,omitempty"` }
Collector is an OpenTelemetryCollector Configuration
func (*Collector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Collector.
func (*Collector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigMap ¶
type ConfigMap struct { DefaultMode *int32 `json:"defaultMode,omitempty"` Optional bool `json:"optional,omitempty"` Name string `json:"name,omitempty"` }
ConfigMap
func (*ConfigMap) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMap.
func (*ConfigMap) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomListenPort ¶
type CustomListenPort struct {
Enabled bool `json:"enabled,omitempty"`
}
CustomListenPort - enable/disable custom listen ports
func (*CustomListenPort) DeepCopy ¶
func (in *CustomListenPort) DeepCopy() *CustomListenPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomListenPort.
func (*CustomListenPort) DeepCopyInto ¶
func (in *CustomListenPort) DeepCopyInto(out *CustomListenPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Database ¶
type Database struct { Enabled bool `json:"enabled"` JDBCUrl string `json:"jdbcUrl,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` }
Database configuration for the Gateway
func (*Database) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Gateway ¶
type Gateway struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GatewaySpec `json:"spec,omitempty"` Status GatewayStatus `json:"status,omitempty"` }
Gateway is the Schema for the Gateways API
func (*Gateway) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway.
func (*Gateway) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Gateway) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GatewayList ¶
type GatewayList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Gateway `json:"items"` }
GatewayList contains a list of Gateway
func (*GatewayList) DeepCopy ¶
func (in *GatewayList) DeepCopy() *GatewayList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayList.
func (*GatewayList) DeepCopyInto ¶
func (in *GatewayList) DeepCopyInto(out *GatewayList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GatewayList) DeepCopyObject ¶
func (in *GatewayList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GatewayRepositoryStatus ¶
type GatewayRepositoryStatus struct { Enabled bool `json:"enabled"` Name string `json:"name,omitempty"` Commit string `json:"commit,omitempty"` Type string `json:"type,omitempty"` //SecretName is used to mount the correct repository secret to the initContainer SecretName string `json:"secretName,omitempty"` //StorageSecretName is used to mount existing repository bundles to the initContainer //these will be less than 1mb in size StorageSecretName string `json:"storageSecretName,omitempty"` Branch string `json:"branch,omitempty"` Endpoint string `json:"endpoint,omitempty"` }
GatewayRepositoryStatus tracks the status of which Graphman repositories have been applied to the Gateway Resource.
func (*GatewayRepositoryStatus) DeepCopy ¶
func (in *GatewayRepositoryStatus) DeepCopy() *GatewayRepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayRepositoryStatus.
func (*GatewayRepositoryStatus) DeepCopyInto ¶
func (in *GatewayRepositoryStatus) DeepCopyInto(out *GatewayRepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewaySpec ¶
type GatewaySpec struct { License License `json:"license,omitempty"` App App `json:"app,omitempty"` // Version references the Gateway release that this Operator is intended to be used with // while all supported container gateway versions will work, some functionality will not be available // like bootstrapping graphman bundles which is currently unique to 10.1.00_CR3 Version string `json:"version,omitempty"` }
GatewaySpec defines the desired state of Gateway
func (*GatewaySpec) DeepCopy ¶
func (in *GatewaySpec) DeepCopy() *GatewaySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewaySpec.
func (*GatewaySpec) DeepCopyInto ¶
func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayState ¶
type GatewayState struct { Name string `json:"name,omitempty"` Phase corev1.PodPhase `json:"phase,omitempty"` Ready bool `json:"ready"` StartTime string `json:"startTime,omitempty"` }
GatewayState tracks the status of Gateway Resources
func (*GatewayState) DeepCopy ¶
func (in *GatewayState) DeepCopy() *GatewayState
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayState.
func (*GatewayState) DeepCopyInto ¶
func (in *GatewayState) DeepCopyInto(out *GatewayState)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GatewayStatus ¶
type GatewayStatus struct { //+operator-sdk:csv:customresourcedefinitions:type=status Host string `json:"host,omitempty"` Conditions []appsv1.DeploymentCondition `json:"conditions,omitempty"` Phase corev1.PodPhase `json:"phase,omitempty"` Gateway []GatewayState `json:"gateway,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty"` Ready int32 `json:"ready,omitempty"` State corev1.PodConditionType `json:"state,omitempty"` Replicas int32 `json:"replicas,omitempty"` Version string `json:"version,omitempty"` Image string `json:"image,omitempty"` LabelSelectorPath string `json:"labelSelectorPath,omitempty"` ManagementPod string `json:"managementPod,omitempty"` RepositoryStatus []GatewayRepositoryStatus `json:"repositoryStatus,omitempty"` }
GatewayStatus defines the observed state of Gateway
func (*GatewayStatus) DeepCopy ¶
func (in *GatewayStatus) DeepCopy() *GatewayStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GatewayStatus.
func (*GatewayStatus) DeepCopyInto ¶
func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Graphman ¶
type Graphman struct { Enabled bool `json:"enabled,omitempty"` InitContainerImage string `json:"initContainerImage,omitempty"` }
Graphman is a GraphQL Gateway Management interface that can be automatically provisioned. The initContainer image is required for bootstrapping graphman bundles defined by the repository controller.
func (*Graphman) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Graphman.
func (*Graphman) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GraphmanBundleEncryption ¶
type GraphmanBundleEncryption struct { // Passphrase - bundle encryption passphrase in plaintext Passphrase string `json:"passphrase,omitempty"` // ExistingSecret - reference to an existing secret ExistingSecret string `json:"existingSecret,omitempty"` // Key - the key in the kubernetes secret that the encryption passphrase is stored in. Key string `json:"key,omitempty"` }
GraphmanBundleEncryption allows setting an encryption passphrase per repository reference
func (*GraphmanBundleEncryption) DeepCopy ¶
func (in *GraphmanBundleEncryption) DeepCopy() *GraphmanBundleEncryption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GraphmanBundleEncryption.
func (*GraphmanBundleEncryption) DeepCopyInto ¶
func (in *GraphmanBundleEncryption) DeepCopyInto(out *GraphmanBundleEncryption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HPA ¶
type HPA struct { MinReplicas *int32 `json:"minReplicas,omitempty"` MaxReplicas int32 `json:"maxReplicas,omitempty"` Behavior autoscalingv2.HorizontalPodAutoscalerBehavior `json:"behavior,omitempty"` Metrics []autoscalingv2.MetricSpec `json:"metrics,omitempty"` }
func (*HPA) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HPA.
func (*HPA) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Hazelcast ¶
type Hazelcast struct { External bool `json:"external,omitempty"` Endpoint string `json:"endpoint,omitempty"` }
func (*Hazelcast) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hazelcast.
func (*Hazelcast) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Image ¶
type Image struct { Registry string `json:"registry"` Repository string `json:"repository"` Tag string `json:"tag"` }
Image is the Gateway Image
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ingress ¶
type Ingress struct { Enabled bool `json:"enabled,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` IngressClassName string `json:"ingressClassName,omitempty"` TLS []networkingv1.IngressTLS `json:"tls,omitempty"` Rules []networkingv1.IngressRule `json:"rules,omitempty"` }
func (*Ingress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JVMHeap ¶
type JVMHeap struct { Calculate bool `json:"calculate,omitempty"` Percentage int `json:"percentage,omitempty"` Default string `json:"default,omitempty"` }
func (*JVMHeap) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JVMHeap.
func (*JVMHeap) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Java ¶
type Java struct { JVMHeap JVMHeap `json:"jvmHeap,omitempty"` ExtraArgs []string `json:"extraArgs,omitempty"` }
func (*Java) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Java.
func (*Java) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type License ¶
type License struct { Accept bool `json:"accept,omitempty"` SecretName string `json:"secretName,omitempty"` }
License is reference to a Kubernetes Secret Containing a Gateway v10/11.x license. license.accept must be set to true or the Gateway will not start.
func (*License) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new License.
func (*License) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ListenPort ¶
type ListenPort struct { Name string `json:"name,omitempty"` Enabled bool `json:"enabled,omitempty"` Protocol string `json:"protocol,omitempty"` Port string `json:"port,omitempty"` Tls Tls `json:"tls,omitempty"` ManagementFeatures []string `json:"managementFeatures,omitempty"` Properties []Property `json:"properties,omitempty"` }
func (*ListenPort) DeepCopy ¶
func (in *ListenPort) DeepCopy() *ListenPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenPort.
func (*ListenPort) DeepCopyInto ¶
func (in *ListenPort) DeepCopyInto(out *ListenPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ListenPorts ¶
type ListenPorts struct { Harden bool `json:"harden,omitempty"` CipherSuites []string `json:"cipherSuites,omitempty"` TlsVersions []string `json:"tlsVersions,omitempty"` Custom CustomListenPort `json:"custom,omitempty"` Ports []ListenPort `json:"ports,omitempty"` }
ListenPorts The Layer7 Gateway instantiates the following HTTP(s) ports by default Harden applies the following changes, setting ports overrides this flag. - 8080 (HTTP)
- Disable
- Allow Published Service Message input only
- 8443 (HTTPS)
- Remove Management Features (no Policy Manager Access)
- Enables TLSv1.2,TLS1.3 only
- Disables insecure Cipher Suites
- 9443 (HTTPS)
- Enables TLSv1.2,TLS1.3 only
- Disables insecure Cipher Suites
- 2124 (Inter-Node Communication)
- Not created
- if using an existing database 2124 will not be modified
func (*ListenPorts) DeepCopy ¶
func (in *ListenPorts) DeepCopy() *ListenPorts
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListenPorts.
func (*ListenPorts) DeepCopyInto ¶
func (in *ListenPorts) DeepCopyInto(out *ListenPorts)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LocalReference ¶
type LocalReference struct { SecretName string `json:"secretName,omitempty"` ConfigMapName string `json:"configMapName,omitempty"` }
func (*LocalReference) DeepCopy ¶
func (in *LocalReference) DeepCopy() *LocalReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LocalReference.
func (*LocalReference) DeepCopyInto ¶
func (in *LocalReference) DeepCopyInto(out *LocalReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Management ¶
type Management struct { SecretName string `json:"secretName,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Cluster Cluster `json:"cluster,omitempty"` Database Database `json:"database,omitempty"` Restman Restman `json:"restman,omitempty"` Graphman Graphman `json:"graphman,omitempty"` Service Service `json:"service,omitempty"` }
Management defines configuration for Gateway Managment.
func (*Management) DeepCopy ¶
func (in *Management) DeepCopy() *Management
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Management.
func (*Management) DeepCopyInto ¶
func (in *Management) DeepCopyInto(out *Management)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Monitoring ¶
type Monitoring struct { Enabled bool `json:"enabled,omitempty"` Otel Otel `json:"otel,omitempty"` ServiceMonitor ServiceMonitor `json:"serviceMonitor,omitempty"` }
Monitoring - experimental feature that creates an OTEL Collector and Prometheus Service Monitor custom collectors and service monitors can be created separately
func (*Monitoring) DeepCopy ¶
func (in *Monitoring) DeepCopy() *Monitoring
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitoring.
func (*Monitoring) DeepCopyInto ¶
func (in *Monitoring) DeepCopyInto(out *Monitoring)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Notification ¶
type Notification struct { Name string `json:"name,omitempty"` Enabled bool `json:"enabled,omitempty"` Channel Channel `json:"channel,omitempty"` }
This is currently configured for Slack
func (*Notification) DeepCopy ¶
func (in *Notification) DeepCopy() *Notification
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Notification.
func (*Notification) DeepCopyInto ¶
func (in *Notification) DeepCopyInto(out *Notification)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Otel ¶
type Otel struct {
Collector Collector `json:"collector,omitempty"`
}
Otel
func (*Otel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Otel.
func (*Otel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodDisruptionBudgetSpec ¶
type PodDisruptionBudgetSpec struct { Enabled bool `json:"enabled,omitempty"` MinAvailable intstr.IntOrString `json:"minAvailable,omitempty"` }
func (*PodDisruptionBudgetSpec) DeepCopy ¶
func (in *PodDisruptionBudgetSpec) DeepCopy() *PodDisruptionBudgetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodDisruptionBudgetSpec.
func (*PodDisruptionBudgetSpec) DeepCopyInto ¶
func (in *PodDisruptionBudgetSpec) DeepCopyInto(out *PodDisruptionBudgetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodResources ¶
type PodResources struct { Requests corev1.ResourceList `json:"requests,omitempty"` Limits corev1.ResourceList `json:"limits,omitempty"` }
func (*PodResources) DeepCopy ¶
func (in *PodResources) DeepCopy() *PodResources
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodResources.
func (*PodResources) DeepCopyInto ¶
func (in *PodResources) DeepCopyInto(out *PodResources)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ports ¶
type Ports struct { Name string `json:"name,omitempty"` Port int32 `json:"port,omitempty"` TargetPort int32 `json:"targetPort,omitempty"` Protocol string `json:"protocol,omitempty"` }
func (*Ports) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ports.
func (*Ports) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Property ¶
Property is a cluster-wide property k/v pair
func (*Property) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Property.
func (*Property) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Repository ¶
type Repository struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec - Repository Spec Spec RepositorySpec `json:"spec,omitempty"` // Status - Repository Status Status RepositoryStatus `json:"status,omitempty"` }
Repository is the Schema for the repositories API
func (*Repository) DeepCopy ¶
func (in *Repository) DeepCopy() *Repository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repository.
func (*Repository) DeepCopyInto ¶
func (in *Repository) DeepCopyInto(out *Repository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Repository) DeepCopyObject ¶
func (in *Repository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RepositoryAuth ¶
type RepositoryAuth struct { // Vendor i.e. Github, Gitlab, BitBucket Vendor string `json:"vendor,omitempty"` // Username repository username Username string `json:"username,omitempty"` // Password repository Password // password or token are acceptable Password string `json:"password,omitempty"` // Token repository Access Token Token string `json:"token,omitempty"` // ExistingSecretName reference an existing secret ExistingSecretName string `json:"existingSecretName,omitempty"` }
RepositoryAuth
func (*RepositoryAuth) DeepCopy ¶
func (in *RepositoryAuth) DeepCopy() *RepositoryAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryAuth.
func (*RepositoryAuth) DeepCopyInto ¶
func (in *RepositoryAuth) DeepCopyInto(out *RepositoryAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryList ¶
type RepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Repository `json:"items"` }
RepositoryList contains a list of Repository
func (*RepositoryList) DeepCopy ¶
func (in *RepositoryList) DeepCopy() *RepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryList.
func (*RepositoryList) DeepCopyInto ¶
func (in *RepositoryList) DeepCopyInto(out *RepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepositoryList) DeepCopyObject ¶
func (in *RepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RepositoryReference ¶
type RepositoryReference struct { Name string `json:"name,omitempty"` Enabled bool `json:"enabled"` Directories []string `json:"directories,omitempty"` Type string `json:"type,omitempty"` Encryption GraphmanBundleEncryption `json:"encryption,omitempty"` Notification Notification `json:"notification,omitempty"` }
func (*RepositoryReference) DeepCopy ¶
func (in *RepositoryReference) DeepCopy() *RepositoryReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryReference.
func (*RepositoryReference) DeepCopyInto ¶
func (in *RepositoryReference) DeepCopyInto(out *RepositoryReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositorySpec ¶
type RepositorySpec struct { //Labels - Custom Labels Labels map[string]string `json:"labels,omitempty"` // Name Repository name Name string `json:"name,omitempty"` // Enabled - if enabled this repository will be synced Enabled bool `json:"enabled,omitempty"` // Endoint - Git repository endpoint Endpoint string `json:"endpoint,omitempty"` // LocalReference lets the Repository controller use a local Kubernetes Configmap/Secret as a repository source // This is not currently implemented LocalReference LocalReference `json:"localReference,omitempty"` RepositorySyncConfig RepositorySyncConfig `json:"sync,omitempty"` // Branch - specify which branch to check out Branch string `json:"branch,omitempty"` // Auth contains a reference to the credentials required to connect to your Git repository Auth RepositoryAuth `json:"auth,omitempty"` }
RepositorySpec defines the desired state of Repository
func (*RepositorySpec) DeepCopy ¶
func (in *RepositorySpec) DeepCopy() *RepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositorySpec.
func (*RepositorySpec) DeepCopyInto ¶
func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositoryStatus ¶
type RepositoryStatus struct { Name string `json:"name,omitempty"` Commit string `json:"commit,omitempty"` Updated string `json:"updated,omitempty"` Summary string `json:"summary,omitempty"` Vendor string `json:"vendor,omitempty"` StorageSecretName string `json:"storageSecretName,omitempty"` }
RepositoryStatus defines the observed state of Repository
func (*RepositoryStatus) DeepCopy ¶
func (in *RepositoryStatus) DeepCopy() *RepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryStatus.
func (*RepositoryStatus) DeepCopyInto ¶
func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepositorySyncConfig ¶
type RepositorySyncConfig struct { // Configure how frequently the remote is checked for new commits IntervalSeconds int64 `json:"interval,omitempty"` }
RepositorySyncConfig
func (*RepositorySyncConfig) DeepCopy ¶
func (in *RepositorySyncConfig) DeepCopy() *RepositorySyncConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositorySyncConfig.
func (*RepositorySyncConfig) DeepCopyInto ¶
func (in *RepositorySyncConfig) DeepCopyInto(out *RepositorySyncConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceList ¶
type ResourceList struct { Memory resource.Quantity `json:"memory,omitempty"` CPU resource.Quantity `json:"cpu,omitempty"` EphemeralStorage resource.Quantity `json:"ephemeral-storage,omitempty"` }
func (*ResourceList) DeepCopy ¶
func (in *ResourceList) DeepCopy() *ResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceList.
func (*ResourceList) DeepCopyInto ¶
func (in *ResourceList) DeepCopyInto(out *ResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Restman ¶
type Restman struct {
Enabled bool `json:"enabled,omitempty"`
}
Restman is a Gateway Management interface that can be automatically provisioned.
func (*Restman) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Restman.
func (*Restman) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Service ¶
type Service struct { Enabled bool ` json:"enabled,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Type corev1.ServiceType `json:"type,omitempty"` Ports []Ports `json:"ports,omitempty"` }
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceMonitor ¶
type ServiceMonitor struct { //Name string Create bool `json:"create,omitempty"` }
ServiceMonitor is a Prom Service Monitor Configuration
func (*ServiceMonitor) DeepCopy ¶
func (in *ServiceMonitor) DeepCopy() *ServiceMonitor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMonitor.
func (*ServiceMonitor) DeepCopyInto ¶
func (in *ServiceMonitor) DeepCopyInto(out *ServiceMonitor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type System ¶
type System struct {
Properties string `json:"properties,omitempty"`
}
func (*System) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new System.
func (*System) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tls ¶
type Tls struct { Enabled bool `json:"enabled,omitempty"` PrivateKey string `json:"privateKey,omitempty"` ClientAuthentication string `json:"clientAuthentication,omitempty"` Versions []string `json:"versions,omitempty"` UseCipherSuitesOrder bool `json:"useCipherSuitesOrder,omitempty"` CipherSuites []string `json:"cipherSuites,omitempty"` }
func (*Tls) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tls.
func (*Tls) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpdateStrategy ¶
type UpdateStrategy struct { Type string `json:"type,omitempty"` RollingUpdate appsv1.RollingUpdateDeployment `json:"rollingUpdate,omitempty"` }
func (*UpdateStrategy) DeepCopy ¶
func (in *UpdateStrategy) DeepCopy() *UpdateStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateStrategy.
func (*UpdateStrategy) DeepCopyInto ¶
func (in *UpdateStrategy) DeepCopyInto(out *UpdateStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeAttributes ¶
type VolumeAttributes struct {
SecretProviderClass string `json:"secretProviderClass,omitempty"`
}
VolumeAtttributes
func (*VolumeAttributes) DeepCopy ¶
func (in *VolumeAttributes) DeepCopy() *VolumeAttributes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeAttributes.
func (*VolumeAttributes) DeepCopyInto ¶
func (in *VolumeAttributes) DeepCopyInto(out *VolumeAttributes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Webhook ¶
type Webhook struct { Url string `json:"url,omitempty"` InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty"` Headers map[string]string `json:"headers,omitempty"` Auth WebhookAuth `json:"auth,omitempty"` }
func (*Webhook) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Webhook.
func (*Webhook) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookAuth ¶
type WebhookAuth struct { Type string `json:"type,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Token string `json:"token,omitempty"` }
func (*WebhookAuth) DeepCopy ¶
func (in *WebhookAuth) DeepCopy() *WebhookAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookAuth.
func (*WebhookAuth) DeepCopyInto ¶
func (in *WebhookAuth) DeepCopyInto(out *WebhookAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.