v1

package
v1.0.202209131709 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the cache v1 API group +kubebuilder:object:generate=true +groupName=netapp.astraconnector.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "netapp.astraconnector.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 Astra

type Astra struct {
	Unregister  bool   `json:"unregister,omitempty"`
	Token       string `json:"token,omitempty"`
	ClusterName string `json:"clusterName"`
	AccountID   string `json:"accountId"`
	AcceptEULA  bool   `json:"acceptEULA"`
	OldAuth     bool   `json:"oldAuth,omitempty"`
}

func (*Astra) DeepCopy

func (in *Astra) DeepCopy() *Astra

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

func (*Astra) DeepCopyInto

func (in *Astra) DeepCopyInto(out *Astra)

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

type AstraConnector

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

	Spec   AstraConnectorSpec   `json:"spec,omitempty"`
	Status AstraConnectorStatus `json:"status,omitempty"`
}

AstraConnector is the Schema for the astraconnectors API

func (*AstraConnector) DeepCopy

func (in *AstraConnector) DeepCopy() *AstraConnector

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

func (*AstraConnector) DeepCopyInto

func (in *AstraConnector) DeepCopyInto(out *AstraConnector)

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

func (*AstraConnector) DeepCopyObject

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

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

type AstraConnectorList

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

AstraConnectorList contains a list of AstraConnector

func (*AstraConnectorList) DeepCopy

func (in *AstraConnectorList) DeepCopy() *AstraConnectorList

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

func (*AstraConnectorList) DeepCopyInto

func (in *AstraConnectorList) DeepCopyInto(out *AstraConnectorList)

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

func (*AstraConnectorList) DeepCopyObject

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

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

type AstraConnectorSpec

type AstraConnectorSpec struct {
	NatssyncClient  NatssyncClient  `json:"natssync-client,omitempty"`
	HttpProxyClient HttpProxyClient `json:"httpproxy-client,omitempty"`
	EchoClient      EchoClient      `json:"echo-client,omitempty"`
	Nats            Nats            `json:"nats,omitempty"`
	Astra           Astra           `json:"astra"`
	ImageRegistry   ImageRegistry   `json:"imageRegistry,omitempty"`
}

AstraConnectorSpec defines the desired state of AstraConnector

func (*AstraConnectorSpec) DeepCopy

func (in *AstraConnectorSpec) DeepCopy() *AstraConnectorSpec

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

func (*AstraConnectorSpec) DeepCopyInto

func (in *AstraConnectorSpec) DeepCopyInto(out *AstraConnectorSpec)

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

type AstraConnectorStatus

type AstraConnectorStatus struct {
	Nodes          []string             `json:"nodes"`
	NatssyncClient NatssyncClientStatus `json:"natssync-client"`
}

AstraConnectorStatus defines the observed state of AstraConnector

func (*AstraConnectorStatus) DeepCopy

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

func (*AstraConnectorStatus) DeepCopyInto

func (in *AstraConnectorStatus) DeepCopyInto(out *AstraConnectorStatus)

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

type EchoClient

type EchoClient struct {
	Image string `json:"image,omitempty"`
	Size  int32  `json:"size,omitempty"`
}

+kubebuilder:validation:Optional

func (*EchoClient) DeepCopy

func (in *EchoClient) DeepCopy() *EchoClient

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

func (*EchoClient) DeepCopyInto

func (in *EchoClient) DeepCopyInto(out *EchoClient)

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

type HttpProxyClient

type HttpProxyClient struct {
	Image string `json:"image,omitempty"`
	Size  int32  `json:"size,omitempty"`
}

+kubebuilder:validation:Optional

func (*HttpProxyClient) DeepCopy

func (in *HttpProxyClient) DeepCopy() *HttpProxyClient

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

func (*HttpProxyClient) DeepCopyInto

func (in *HttpProxyClient) DeepCopyInto(out *HttpProxyClient)

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

type ImageRegistry

type ImageRegistry struct {
	Name   string `json:"name,omitempty"`
	Secret string `json:"secret,omitempty"`
}

+kubebuilder:validation:Optional

func (*ImageRegistry) DeepCopy

func (in *ImageRegistry) DeepCopy() *ImageRegistry

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

func (*ImageRegistry) DeepCopyInto

func (in *ImageRegistry) DeepCopyInto(out *ImageRegistry)

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

type Nats

type Nats struct {
	Size  int32  `json:"size,omitempty"`
	Image string `json:"image,omitempty"`
}

+kubebuilder:validation:Optional

func (*Nats) DeepCopy

func (in *Nats) DeepCopy() *Nats

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

func (*Nats) DeepCopyInto

func (in *Nats) DeepCopyInto(out *Nats)

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

type NatssyncClient

type NatssyncClient struct {
	Image             string `json:"image,omitempty"`
	Size              int32  `json:"size,omitempty"`
	CloudBridgeURL    string `json:"cloud-bridge-url,omitempty"`
	SkipTLSValidation bool   `json:"skipTLSValidation,omitempty"`
	HostAlias         bool   `json:"hostalias,omitempty"`
	HostAliasIP       string `json:"hostaliasIP,omitempty"`
}

+kubebuilder:validation:Optional

func (*NatssyncClient) DeepCopy

func (in *NatssyncClient) DeepCopy() *NatssyncClient

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

func (*NatssyncClient) DeepCopyInto

func (in *NatssyncClient) DeepCopyInto(out *NatssyncClient)

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

type NatssyncClientStatus

type NatssyncClientStatus struct {
	Registered       string `json:"registered"`
	AstraConnectorID string `json:"astraConnectorID"`
}

NatssyncClientStatus defines the observed state of NatssyncClient

func (*NatssyncClientStatus) DeepCopy

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

func (*NatssyncClientStatus) DeepCopyInto

func (in *NatssyncClientStatus) DeepCopyInto(out *NatssyncClientStatus)

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