v1beta1

package
v0.0.1-pre2 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the networking v1beta1 API group +kubebuilder:object:generate=true +groupName=networking.kuadrant.io

Index

Constants

This section is empty.

Variables

View Source
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

func (in *API) DeepCopy() *API

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

func (*API) DeepCopyInto

func (in *API) DeepCopyInto(out *API)

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

func (*API) DeepCopyObject

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

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

type APIKeyAuth

type APIKeyAuth struct {
	Location string `json:"location"`
	Name     string `json:"name"`
}

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

type APIKeyAuthCredentials struct {
	LabelSelectors map[string]string `json:"labelSelectors"`
}

func (*APIKeyAuthCredentials) DeepCopy

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

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

func (*APIKeyAuthSecurityParameters) DeepCopyInto

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

func (in *APIList) DeepCopy() *APIList

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

func (*APIList) DeepCopyInto

func (in *APIList) DeepCopyInto(out *APIList)

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

func (*APIList) DeepCopyObject

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

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

func (in *APISpec) DeepCopy() *APISpec

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

func (*APISpec) DeepCopyInto

func (in *APISpec) DeepCopyInto(out *APISpec)

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

func (in *APIStatus) DeepCopy() *APIStatus

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

func (*APIStatus) DeepCopyInto

func (in *APIStatus) DeepCopyInto(out *APIStatus)

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

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

func (*OpenIDConnectAuthCredentials) DeepCopyInto

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

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

func (*OpenIDConnectAuthSecurityParameters) DeepCopyInto

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

func (in *Operation) DeepCopy() *Operation

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

func (*Operation) DeepCopyInto

func (in *Operation) DeepCopyInto(out *Operation)

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

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

func (in *TLSConfig) DeepCopy() *TLSConfig

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

func (*TLSConfig) DeepCopyInto

func (in *TLSConfig) DeepCopyInto(out *TLSConfig)

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