v1alpha1

package
v0.0.0-...-a025ef4 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=extensions.tsuru.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "extensions.tsuru.io", 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 ACL

type ACL struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ACLSpec   `json:"spec,omitempty"`
	Status ACLStatus `json:"status,omitempty"`
}

ACL is the Schema for the acls API

func (*ACL) DeepCopy

func (in *ACL) DeepCopy() *ACL

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

func (*ACL) DeepCopyInto

func (in *ACL) DeepCopyInto(out *ACL)

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

func (*ACL) DeepCopyObject

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

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

type ACLDNSEntry

type ACLDNSEntry struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ACLDNSEntrySpec   `json:"spec,omitempty"`
	Status ACLDNSEntryStatus `json:"status,omitempty"`
}

ACLDNSEntry is the Schema for the ACLDNSEntrys API

func (*ACLDNSEntry) DeepCopy

func (in *ACLDNSEntry) DeepCopy() *ACLDNSEntry

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

func (*ACLDNSEntry) DeepCopyInto

func (in *ACLDNSEntry) DeepCopyInto(out *ACLDNSEntry)

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

func (*ACLDNSEntry) DeepCopyObject

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

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

type ACLDNSEntryList

type ACLDNSEntryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ACLDNSEntry `json:"items"`
}

ACLDNSEntryList contains a list of ACLDNSEntry

func (*ACLDNSEntryList) DeepCopy

func (in *ACLDNSEntryList) DeepCopy() *ACLDNSEntryList

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

func (*ACLDNSEntryList) DeepCopyInto

func (in *ACLDNSEntryList) DeepCopyInto(out *ACLDNSEntryList)

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

func (*ACLDNSEntryList) DeepCopyObject

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

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

type ACLDNSEntrySpec

type ACLDNSEntrySpec struct {
	Host          string   `json:"host"`
	AdditionalIPs []string `json:"additionalIPs,omitempty"`
}

ACLDNSEntrySpec defines the desired state of ACLDNSEntry

func (*ACLDNSEntrySpec) DeepCopy

func (in *ACLDNSEntrySpec) DeepCopy() *ACLDNSEntrySpec

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

func (*ACLDNSEntrySpec) DeepCopyInto

func (in *ACLDNSEntrySpec) DeepCopyInto(out *ACLDNSEntrySpec)

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

type ACLDNSEntryStatus

type ACLDNSEntryStatus struct {
	IPs    []ACLDNSEntryStatusIP `json:"ips,omitempty"`
	Ready  bool                  `json:"ready"`
	Reason string                `json:"reason,omitempty"`
}

ACLDNSEntryStatus defines the observed state of ACLDNSEntry

func (*ACLDNSEntryStatus) DeepCopy

func (in *ACLDNSEntryStatus) DeepCopy() *ACLDNSEntryStatus

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

func (*ACLDNSEntryStatus) DeepCopyInto

func (in *ACLDNSEntryStatus) DeepCopyInto(out *ACLDNSEntryStatus)

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

type ACLDNSEntryStatusIP

type ACLDNSEntryStatusIP struct {
	Address    string `json:"address"`
	ValidUntil string `json:"validUtil"`
}

func (*ACLDNSEntryStatusIP) DeepCopy

func (in *ACLDNSEntryStatusIP) DeepCopy() *ACLDNSEntryStatusIP

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

func (*ACLDNSEntryStatusIP) DeepCopyInto

func (in *ACLDNSEntryStatusIP) DeepCopyInto(out *ACLDNSEntryStatusIP)

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

type ACLList

type ACLList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ACL `json:"items"`
}

ACLList contains a list of ACL

func (*ACLList) DeepCopy

func (in *ACLList) DeepCopy() *ACLList

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

func (*ACLList) DeepCopyInto

func (in *ACLList) DeepCopyInto(out *ACLList)

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

func (*ACLList) DeepCopyObject

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

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

type ACLSpec

type ACLSpec struct {
	Source       ACLSpecSource        `json:"source"`
	Destinations []ACLSpecDestination `json:"destinations"`
}

ACLSpec defines the desired state of ACL

func (*ACLSpec) DeepCopy

func (in *ACLSpec) DeepCopy() *ACLSpec

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

func (*ACLSpec) DeepCopyInto

func (in *ACLSpec) DeepCopyInto(out *ACLSpec)

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

type ACLSpecDestination

type ACLSpecDestination struct {
	RuleID string `json:"ruleID,omitempty"`

	TsuruApp      string                `json:"tsuruApp,omitempty"`
	TsuruAppPool  string                `json:"tsuruAppPool,omitempty"`
	RpaasInstance *ACLSpecRpaasInstance `json:"rpaasInstance,omitempty"`
	ExternalDNS   *ACLSpecExternalDNS   `json:"externalDNS,omitempty"`
	ExternalIP    *ACLSpecExternalIP    `json:"externalIP,omitempty"`
}

func (*ACLSpecDestination) DeepCopy

func (in *ACLSpecDestination) DeepCopy() *ACLSpecDestination

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

func (*ACLSpecDestination) DeepCopyInto

func (in *ACLSpecDestination) DeepCopyInto(out *ACLSpecDestination)

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

type ACLSpecExternalDNS

type ACLSpecExternalDNS struct {
	Name  string            `json:"name"`
	Ports ACLSpecProtoPorts `json:"ports,omitempty"`
}

func (*ACLSpecExternalDNS) DeepCopy

func (in *ACLSpecExternalDNS) DeepCopy() *ACLSpecExternalDNS

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

func (*ACLSpecExternalDNS) DeepCopyInto

func (in *ACLSpecExternalDNS) DeepCopyInto(out *ACLSpecExternalDNS)

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

type ACLSpecExternalIP

type ACLSpecExternalIP struct {
	IP    string            `json:"ip"`
	Ports ACLSpecProtoPorts `json:"ports,omitempty"`
}

func (*ACLSpecExternalIP) DeepCopy

func (in *ACLSpecExternalIP) DeepCopy() *ACLSpecExternalIP

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

func (*ACLSpecExternalIP) DeepCopyInto

func (in *ACLSpecExternalIP) DeepCopyInto(out *ACLSpecExternalIP)

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

type ACLSpecProtoPorts

type ACLSpecProtoPorts []ProtoPort

func (ACLSpecProtoPorts) DeepCopy

func (in ACLSpecProtoPorts) DeepCopy() ACLSpecProtoPorts

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

func (ACLSpecProtoPorts) DeepCopyInto

func (in ACLSpecProtoPorts) DeepCopyInto(out *ACLSpecProtoPorts)

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

type ACLSpecRpaasInstance

type ACLSpecRpaasInstance struct {
	ServiceName string `json:"serviceName"`
	Instance    string `json:"instance"`
}

func (*ACLSpecRpaasInstance) DeepCopy

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

func (*ACLSpecRpaasInstance) DeepCopyInto

func (in *ACLSpecRpaasInstance) DeepCopyInto(out *ACLSpecRpaasInstance)

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

type ACLSpecSource

type ACLSpecSource struct {
	TsuruApp      string                `json:"tsuruApp,omitempty"`
	TsuruJob      string                `json:"tsuruJob,omitempty"`
	RpaasInstance *ACLSpecRpaasInstance `json:"rpaasInstance,omitempty"`
}

func (*ACLSpecSource) DeepCopy

func (in *ACLSpecSource) DeepCopy() *ACLSpecSource

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

func (*ACLSpecSource) DeepCopyInto

func (in *ACLSpecSource) DeepCopyInto(out *ACLSpecSource)

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

type ACLStatus

type ACLStatus struct {
	NetworkPolicy string   `json:"networkPolicy,omitempty"`
	Ready         bool     `json:"ready"`
	Reason        string   `json:"reason,omitempty"`
	WarningErrors []string `json:"warningErrors,omitempty"`

	Stale      []ACLStatusStale     `json:"stale,omitempty"`
	RuleErrors []ACLStatusRuleError `json:"errors,omitempty"`
}

ACLStatus defines the observed state of ACL

func (*ACLStatus) DeepCopy

func (in *ACLStatus) DeepCopy() *ACLStatus

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

func (*ACLStatus) DeepCopyInto

func (in *ACLStatus) DeepCopyInto(out *ACLStatus)

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

type ACLStatusRuleError

type ACLStatusRuleError struct {
	RuleID string `json:"ruleID"`
	Error  string `json:"error"`
}

func (*ACLStatusRuleError) DeepCopy

func (in *ACLStatusRuleError) DeepCopy() *ACLStatusRuleError

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

func (*ACLStatusRuleError) DeepCopyInto

func (in *ACLStatusRuleError) DeepCopyInto(out *ACLStatusRuleError)

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

type ACLStatusStale

type ACLStatusStale struct {
	RuleID string                          `json:"ruleID"`
	Rules  []netv1.NetworkPolicyEgressRule `json:"rules"`
}

func (*ACLStatusStale) DeepCopy

func (in *ACLStatusStale) DeepCopy() *ACLStatusStale

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

func (*ACLStatusStale) DeepCopyInto

func (in *ACLStatusStale) DeepCopyInto(out *ACLStatusStale)

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

type ProtoPort

type ProtoPort struct {
	Protocol string `json:"protocol"`
	Number   uint16 `json:"number"`
}

func (*ProtoPort) DeepCopy

func (in *ProtoPort) DeepCopy() *ProtoPort

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

func (*ProtoPort) DeepCopyInto

func (in *ProtoPort) DeepCopyInto(out *ProtoPort)

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

type ResourceAddressStatus

type ResourceAddressStatus struct {
	Ready     bool     `json:"ready"`
	Reason    string   `json:"reason,omitempty"`
	UpdatedAt string   `json:"updatedAt,omitempty"`
	IPs       []string `json:"ips,omitempty"`
	Pool      string   `json:"pool,omitempty"`
}

ResourceAddressStatus defines the observed state of TsuruAppAddress and RpaasInstanceAddress

func (*ResourceAddressStatus) DeepCopy

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

func (*ResourceAddressStatus) DeepCopyInto

func (in *ResourceAddressStatus) DeepCopyInto(out *ResourceAddressStatus)

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

type RpaasInstanceAddress

type RpaasInstanceAddress struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RpaasInstanceAddressSpec `json:"spec,omitempty"`
	Status ResourceAddressStatus    `json:"status,omitempty"`
}

RpaasInstanceAddress is the Schema for the rpaasinstanceaddresses API

func (*RpaasInstanceAddress) DeepCopy

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

func (*RpaasInstanceAddress) DeepCopyInto

func (in *RpaasInstanceAddress) DeepCopyInto(out *RpaasInstanceAddress)

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

func (*RpaasInstanceAddress) DeepCopyObject

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

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

type RpaasInstanceAddressList

type RpaasInstanceAddressList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []RpaasInstanceAddress `json:"items"`
}

RpaasInstanceAddressList contains a list of RpaasInstanceAddress

func (*RpaasInstanceAddressList) DeepCopy

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

func (*RpaasInstanceAddressList) DeepCopyInto

func (in *RpaasInstanceAddressList) DeepCopyInto(out *RpaasInstanceAddressList)

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

func (*RpaasInstanceAddressList) DeepCopyObject

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

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

type RpaasInstanceAddressSpec

type RpaasInstanceAddressSpec struct {
	ServiceName string `json:"serviceName,omitempty"`
	Instance    string `json:"instance,omitempty"`
}

RpaasInstanceAddressSpec defines the desired state of RpaasInstanceAddress

func (*RpaasInstanceAddressSpec) DeepCopy

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

func (*RpaasInstanceAddressSpec) DeepCopyInto

func (in *RpaasInstanceAddressSpec) DeepCopyInto(out *RpaasInstanceAddressSpec)

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

type TsuruAppAddress

type TsuruAppAddress struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   TsuruAppAddressSpec   `json:"spec,omitempty"`
	Status ResourceAddressStatus `json:"status,omitempty"`
}

TsuruAppAddress is the Schema for the tsuruappaddresses API

func (*TsuruAppAddress) DeepCopy

func (in *TsuruAppAddress) DeepCopy() *TsuruAppAddress

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

func (*TsuruAppAddress) DeepCopyInto

func (in *TsuruAppAddress) DeepCopyInto(out *TsuruAppAddress)

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

func (*TsuruAppAddress) DeepCopyObject

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

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

type TsuruAppAddressList

type TsuruAppAddressList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []TsuruAppAddress `json:"items"`
}

TsuruAppAddressList contains a list of TsuruAppAddress

func (*TsuruAppAddressList) DeepCopy

func (in *TsuruAppAddressList) DeepCopy() *TsuruAppAddressList

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

func (*TsuruAppAddressList) DeepCopyInto

func (in *TsuruAppAddressList) DeepCopyInto(out *TsuruAppAddressList)

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

func (*TsuruAppAddressList) DeepCopyObject

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

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

type TsuruAppAddressSpec

type TsuruAppAddressSpec struct {
	Name          string   `json:"name,omitempty"`
	AdditionalIPs []string `json:"additionalIPs,omitempty"`
}

TsuruAppAddressSpec defines the desired state of TsuruAppAddress

func (*TsuruAppAddressSpec) DeepCopy

func (in *TsuruAppAddressSpec) DeepCopy() *TsuruAppAddressSpec

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

func (*TsuruAppAddressSpec) DeepCopyInto

func (in *TsuruAppAddressSpec) DeepCopyInto(out *TsuruAppAddressSpec)

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