Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the networking v1beta1 API group +kubebuilder:object:generate=true +groupName=networking.kuadrant.io
Index ¶
- Variables
- type API
- type APIKeyAuth
- type APIKeyAuthCredentials
- type APIKeyAuthSecurityParameters
- type APIList
- type APIProduct
- type APIProductList
- type APIProductSpec
- type APIProductStatus
- type APISelector
- type APISpec
- type APIStatus
- type BackendServer
- type CredentialSource
- type Destination
- type Environment
- type OpenIDConnectAuth
- type OpenIDConnectAuthCredentials
- type OpenIDConnectAuthSecurityParameters
- type Operation
- type ProductInformation
- type SecurityRequirement
- type SecurityRequirements
- type SecurityScheme
- type TLSConfig
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "networking.kuadrant.io", Version: "v1beta1"} // 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 API ¶
type API struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec APISpec `json:"spec,omitempty"` Status APIStatus `json:"status,omitempty"` }
API is the Schema for the apis API
func (*API) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API.
func (*API) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*API) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIKeyAuth ¶
func (*APIKeyAuth) DeepCopy ¶
func (in *APIKeyAuth) DeepCopy() *APIKeyAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyAuth.
func (*APIKeyAuth) DeepCopyInto ¶
func (in *APIKeyAuth) DeepCopyInto(out *APIKeyAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIKeyAuthCredentials ¶
func (*APIKeyAuthCredentials) DeepCopy ¶
func (in *APIKeyAuthCredentials) DeepCopy() *APIKeyAuthCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyAuthCredentials.
func (*APIKeyAuthCredentials) DeepCopyInto ¶
func (in *APIKeyAuthCredentials) DeepCopyInto(out *APIKeyAuthCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIKeyAuthSecurityParameters ¶
type APIKeyAuthSecurityParameters struct { Name string `json:"name,omitempty"` Required *bool `json:"required,omitempty"` }
func (*APIKeyAuthSecurityParameters) DeepCopy ¶
func (in *APIKeyAuthSecurityParameters) DeepCopy() *APIKeyAuthSecurityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIKeyAuthSecurityParameters.
func (*APIKeyAuthSecurityParameters) DeepCopyInto ¶
func (in *APIKeyAuthSecurityParameters) DeepCopyInto(out *APIKeyAuthSecurityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIList ¶
type APIList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []API `json:"items"` }
APIList contains a list of API
func (*APIList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIList.
func (*APIList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIProduct ¶
type APIProduct struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec APIProductSpec `json:"spec,omitempty"` Status APIProductStatus `json:"status,omitempty"` }
APIProduct is the Schema for the apiproducts API
func (*APIProduct) DeepCopy ¶
func (in *APIProduct) DeepCopy() *APIProduct
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIProduct.
func (*APIProduct) DeepCopyInto ¶
func (in *APIProduct) DeepCopyInto(out *APIProduct)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIProduct) DeepCopyObject ¶
func (in *APIProduct) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIProductList ¶
type APIProductList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []APIProduct `json:"items"` }
APIProductList contains a list of APIProduct
func (*APIProductList) DeepCopy ¶
func (in *APIProductList) DeepCopy() *APIProductList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIProductList.
func (*APIProductList) DeepCopyInto ¶
func (in *APIProductList) DeepCopyInto(out *APIProductList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*APIProductList) DeepCopyObject ¶
func (in *APIProductList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type APIProductSpec ¶
type APIProductSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file Information ProductInformation `json:"information"` Environments []*Environment `json:"environments"` SecurityScheme []*SecurityScheme `json:"securityScheme"` APIs []*APISelector `json:"APIs"` }
APIProductSpec defines the desired state of APIProduct
func (*APIProductSpec) DeepCopy ¶
func (in *APIProductSpec) DeepCopy() *APIProductSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIProductSpec.
func (*APIProductSpec) DeepCopyInto ¶
func (in *APIProductSpec) DeepCopyInto(out *APIProductSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIProductStatus ¶
type APIProductStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file // TODO(jmprusi): use proper conditions to give feedback to the user ObservedGen int64 `json:"observedgen"` Ready bool `json:"ready"` }
APIProductStatus defines the observed state of APIProduct
func (*APIProductStatus) DeepCopy ¶
func (in *APIProductStatus) DeepCopy() *APIProductStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIProductStatus.
func (*APIProductStatus) DeepCopyInto ¶
func (in *APIProductStatus) DeepCopyInto(out *APIProductStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APISelector ¶
type APISelector struct { Name string `json:"name"` PrefixOverride string `json:"prefixOverride,omitempty"` }
func (*APISelector) DeepCopy ¶
func (in *APISelector) DeepCopy() *APISelector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISelector.
func (*APISelector) DeepCopyInto ¶
func (in *APISelector) DeepCopyInto(out *APISelector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APISpec ¶
type APISpec struct { Hosts []string `json:"hosts"` Operations []*Operation `json:"operations"` SecurityScheme []*SecurityScheme `json:"securityScheme,omitempty"` GlobalSecurityRequirements SecurityRequirements `json:"globalSecurityRequirements,omitempty"` }
APISpec defines the desired state of API
func (*APISpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISpec.
func (*APISpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type APIStatus ¶
type APIStatus struct { Ready bool `json:"ready"` ObservedGeneration int64 `json:"observedGeneration"` }
APIStatus defines the observed state of API
func (*APIStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIStatus.
func (*APIStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackendServer ¶
type BackendServer struct { API string `json:"API"` Destination Destination `json:"destination"` }
func (*BackendServer) DeepCopy ¶
func (in *BackendServer) DeepCopy() *BackendServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendServer.
func (*BackendServer) DeepCopyInto ¶
func (in *BackendServer) DeepCopyInto(out *BackendServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CredentialSource ¶
type CredentialSource struct { Name string `json:"name"` APIKeyAuth *APIKeyAuthCredentials `json:"apiKeyAuth,omitempty"` OpenIDConnectAuth *OpenIDConnectAuthCredentials `json:"openIDConnectAuth,omitempty"` }
func (*CredentialSource) DeepCopy ¶
func (in *CredentialSource) DeepCopy() *CredentialSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CredentialSource.
func (*CredentialSource) DeepCopyInto ¶
func (in *CredentialSource) DeepCopyInto(out *CredentialSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Destination ¶
type Destination struct {
ServiceSelector *v12.ServiceReference `json:"serviceSelector"`
}
func (*Destination) DeepCopy ¶
func (in *Destination) DeepCopy() *Destination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destination.
func (*Destination) DeepCopyInto ¶
func (in *Destination) DeepCopyInto(out *Destination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Environment ¶
type Environment struct { Name string `json:"name"` Hosts []string `json:"hosts"` TLSConfig *TLSConfig `json:"tlsConfig,omitempty"` CredentialSources []*CredentialSource `json:"credentialSources"` BackendServers []*BackendServer `json:"backendServers"` }
func (*Environment) DeepCopy ¶
func (in *Environment) DeepCopy() *Environment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.
func (*Environment) DeepCopyInto ¶
func (in *Environment) DeepCopyInto(out *Environment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenIDConnectAuth ¶
type OpenIDConnectAuth struct {
URL string `json:"url"`
}
func (*OpenIDConnectAuth) DeepCopy ¶
func (in *OpenIDConnectAuth) DeepCopy() *OpenIDConnectAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDConnectAuth.
func (*OpenIDConnectAuth) DeepCopyInto ¶
func (in *OpenIDConnectAuth) DeepCopyInto(out *OpenIDConnectAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenIDConnectAuthCredentials ¶
type OpenIDConnectAuthCredentials struct {
Endpoint string `json:"endpoint"`
}
func (*OpenIDConnectAuthCredentials) DeepCopy ¶
func (in *OpenIDConnectAuthCredentials) DeepCopy() *OpenIDConnectAuthCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDConnectAuthCredentials.
func (*OpenIDConnectAuthCredentials) DeepCopyInto ¶
func (in *OpenIDConnectAuthCredentials) DeepCopyInto(out *OpenIDConnectAuthCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenIDConnectAuthSecurityParameters ¶
type OpenIDConnectAuthSecurityParameters struct { Name string `json:"name,omitempty"` Required *bool `json:"required,omitempty"` Scopes []string `json:"scopes,omitempty"` }
func (*OpenIDConnectAuthSecurityParameters) DeepCopy ¶
func (in *OpenIDConnectAuthSecurityParameters) DeepCopy() *OpenIDConnectAuthSecurityParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDConnectAuthSecurityParameters.
func (*OpenIDConnectAuthSecurityParameters) DeepCopyInto ¶
func (in *OpenIDConnectAuthSecurityParameters) DeepCopyInto(out *OpenIDConnectAuthSecurityParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Operation ¶
type Operation struct { Name string `json:"name"` Path string `json:"path"` Method string `json:"method"` Security SecurityRequirements `json:"security,omitempty"` }
func (*Operation) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Operation.
func (*Operation) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProductInformation ¶
type ProductInformation struct { Description string `json:"description"` Owner string `json:"owner"` }
func (*ProductInformation) DeepCopy ¶
func (in *ProductInformation) DeepCopy() *ProductInformation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProductInformation.
func (*ProductInformation) DeepCopyInto ¶
func (in *ProductInformation) DeepCopyInto(out *ProductInformation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityRequirement ¶
type SecurityRequirement struct { APIKeyAuth map[string]APIKeyAuthSecurityParameters `json:"apiKeyAuth,omitempty"` OpenIDConnectAuth map[string]OpenIDConnectAuthSecurityParameters `json:"openIDConnectAuth,omitempty"` }
func (*SecurityRequirement) DeepCopy ¶
func (in *SecurityRequirement) DeepCopy() *SecurityRequirement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityRequirement.
func (*SecurityRequirement) DeepCopyInto ¶
func (in *SecurityRequirement) DeepCopyInto(out *SecurityRequirement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityRequirements ¶
type SecurityRequirements []SecurityRequirement
func (SecurityRequirements) DeepCopy ¶
func (in SecurityRequirements) DeepCopy() SecurityRequirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityRequirements.
func (SecurityRequirements) DeepCopyInto ¶
func (in SecurityRequirements) DeepCopyInto(out *SecurityRequirements)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityScheme ¶
type SecurityScheme struct { Name string `json:"name"` APIKeyAuth *APIKeyAuth `json:"apiKeyAuth,omitempty"` OpenIDConnectAuth *OpenIDConnectAuth `json:"openIDConnectAuth,omitempty"` }
func (*SecurityScheme) DeepCopy ¶
func (in *SecurityScheme) DeepCopy() *SecurityScheme
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityScheme.
func (*SecurityScheme) DeepCopyInto ¶
func (in *SecurityScheme) DeepCopyInto(out *SecurityScheme)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TLSConfig ¶
type TLSConfig struct { PlainHTTP string `json:"plainHTTP"` TLSSecretName string `json:"tlsSecretName"` }
func (*TLSConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSConfig.
func (*TLSConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.