mirror of
https://github.com/projectcapsule/capsule.git
synced 2026-05-05 00:46:36 +00:00
feat(v1beta1): remove unused structs and functions from v1beta1. Rename v1alpha1 structs to follow new naming. Move v1alpha1 structs to separate files
12 lines
289 B
Go
12 lines
289 B
Go
// Copyright 2020-2021 Clastix Labs
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package v1alpha1
|
|
|
|
// +kubebuilder:validation:Pattern="^([0-9]{1,3}.){3}[0-9]{1,3}(/([0-9]|[1-2][0-9]|3[0-2]))?$"
|
|
type AllowedIP string
|
|
|
|
type ExternalServiceIPsSpec struct {
|
|
Allowed []AllowedIP `json:"allowed"`
|
|
}
|