v1

package
v0.0.0-...-4618709 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the netconf v1 API group +kubebuilder:object:generate=true +groupName=netconf.adetalhouet.io

Index

Constants

This section is empty.

Variables

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

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

	Spec   CommitSpec   `json:"spec,omitempty"`
	Status CommitStatus `json:"status,omitempty"`
}

Commit is the Schema for the commits API

func (*Commit) DeepCopy

func (in *Commit) DeepCopy() *Commit

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

func (*Commit) DeepCopyInto

func (in *Commit) DeepCopyInto(out *Commit)

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

func (*Commit) DeepCopyObject

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

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

func (*Commit) GetConditions

func (obj *Commit) GetConditions() []metav1.Condition

func (*Commit) GetNamespacedName

func (obj *Commit) GetNamespacedName() string

func (*Commit) SetConditions

func (obj *Commit) SetConditions(reconcileStatus []metav1.Condition)

type CommitList

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

CommitList contains a list of Commit

func (*CommitList) DeepCopy

func (in *CommitList) DeepCopy() *CommitList

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

func (*CommitList) DeepCopyInto

func (in *CommitList) DeepCopyInto(out *CommitList)

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

func (*CommitList) DeepCopyObject

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

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

type CommitSpec

type CommitSpec struct {
	// Defines the NETCONF session to use
	MountPoint string `json:"mountPoint"`
	// If this Commit operation should occur after another operation, specify the other operation here.
	DependsOn DependsOn `json:"dependsOn,omitempty"`
}

CommitSpec defines the desired state of Commit

func (*CommitSpec) DeepCopy

func (in *CommitSpec) DeepCopy() *CommitSpec

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

func (*CommitSpec) DeepCopyInto

func (in *CommitSpec) DeepCopyInto(out *CommitSpec)

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

type CommitStatus

type CommitStatus struct {
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
	// Either `success` or `failed`
	Status string `json:"status,omitempty"`
	// Provides the received RPC reply
	RpcReply string `json:"rpcReply,omitempty"`
}

CommitStatus defines the observed state of Commit

func (*CommitStatus) DeepCopy

func (in *CommitStatus) DeepCopy() *CommitStatus

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

func (*CommitStatus) DeepCopyInto

func (in *CommitStatus) DeepCopyInto(out *CommitStatus)

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

type CreateSubscription

type CreateSubscription struct {
	Name string `json:"name"`
	// Defines the stream to subscribe to. Defaults to NETCONF stream.
	// +kubebuilder:default:="NETCONF"
	Stream string `json:"stream,omitempty"`
	// Defines the start-time to listen to changes.
	StartTime string `json:"startTime,omitempty"`
	// Defines the time when to stop listen to changes.
	StopTime string `json:"stopTime,omitempty"`
}

CreateSubscription defines the desired state of CreateSubscription

func (*CreateSubscription) DeepCopy

func (in *CreateSubscription) DeepCopy() *CreateSubscription

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

func (*CreateSubscription) DeepCopyInto

func (in *CreateSubscription) DeepCopyInto(out *CreateSubscription)

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

type DependsOn

type DependsOn struct {
	// Any of the Kind supported by netconf.adetalhouet.io/v1 Group
	Kind string `json:"kind,omitempty"`
	// The name of the object, which will be checked for within the same namespace
	Name string `json:"name,omitempty"`
}

DependsOn allows to specify a dependency for the operation to execute. If such dependency is not met, and/or if the underlying dependency isn't reporting success, the operation will fail.

func (*DependsOn) DeepCopy

func (in *DependsOn) DeepCopy() *DependsOn

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

func (*DependsOn) DeepCopyInto

func (in *DependsOn) DeepCopyInto(out *DependsOn)

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

func (*DependsOn) IsNil

func (d *DependsOn) IsNil() bool

type EditConfig

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

	Spec   EditConfigSpec   `json:"spec,omitempty"`
	Status EditConfigStatus `json:"status,omitempty"`
}

EditConfig is the Schema for the editconfigs API

func (*EditConfig) DeepCopy

func (in *EditConfig) DeepCopy() *EditConfig

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

func (*EditConfig) DeepCopyInto

func (in *EditConfig) DeepCopyInto(out *EditConfig)

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

func (*EditConfig) DeepCopyObject

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

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

func (*EditConfig) GetConditions

func (obj *EditConfig) GetConditions() []metav1.Condition

func (*EditConfig) GetNamespacedName

func (obj *EditConfig) GetNamespacedName() string

func (*EditConfig) SetConditions

func (obj *EditConfig) SetConditions(reconcileStatus []metav1.Condition)

type EditConfigList

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

EditConfigList contains a list of EditConfig

func (*EditConfigList) DeepCopy

func (in *EditConfigList) DeepCopy() *EditConfigList

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

func (*EditConfigList) DeepCopyInto

func (in *EditConfigList) DeepCopyInto(out *EditConfigList)

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

func (*EditConfigList) DeepCopyObject

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

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

type EditConfigSpec

type EditConfigSpec struct {
	// Defines the NETCONF session to use
	MountPoint string `json:"mountPoint"`
	// Defined the operation to perform. Default to `merge`.
	//See https://datatracker.ietf.org/doc/html/rfc6241#section-7.2 for supported operations.
	// +kubebuilder:default:="merge"
	Operation string `json:"operation,omitempty"`
	// Identify the datastore against which the operation should be performed. Default to `candidate`.
	// +kubebuilder:default:="candidate"
	Target string `json:"target,omitempty"`
	// Define the XML payload to sent
	XML string `json:"xml"`
	// If this EditConfig operation should occur after another operation, specify the other operation here.
	DependsOn DependsOn `json:"dependsOn,omitempty"`
}

EditConfigSpec defines the desired state of EditConfig

func (*EditConfigSpec) DeepCopy

func (in *EditConfigSpec) DeepCopy() *EditConfigSpec

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

func (*EditConfigSpec) DeepCopyInto

func (in *EditConfigSpec) DeepCopyInto(out *EditConfigSpec)

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

type EditConfigStatus

type EditConfigStatus struct {
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
	// Either `success` or `failed`
	Status string `json:"status,omitempty"`
	// Provides the received RPC reply
	RpcReply string `json:"rpcReply,omitempty"`
}

EditConfigStatus defines the observed state of EditConfig

func (*EditConfigStatus) DeepCopy

func (in *EditConfigStatus) DeepCopy() *EditConfigStatus

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

func (*EditConfigStatus) DeepCopyInto

func (in *EditConfigStatus) DeepCopyInto(out *EditConfigStatus)

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

type EstablishSubscription

type EstablishSubscription struct {
	Name string `json:"name"`
	// Defines the `<establish-subscription` RPC to sent
	XML string `json:"xml"`
}

EstablishSubscription defines the desired state of EstablishSubscription

func (*EstablishSubscription) DeepCopy

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

func (*EstablishSubscription) DeepCopyInto

func (in *EstablishSubscription) DeepCopyInto(out *EstablishSubscription)

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

type Get

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

	Spec   GetSpec   `json:"spec,omitempty"`
	Status GetStatus `json:"status,omitempty"`
}

Get is the Schema for the gets API

func (*Get) DeepCopy

func (in *Get) DeepCopy() *Get

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

func (*Get) DeepCopyInto

func (in *Get) DeepCopyInto(out *Get)

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

func (*Get) DeepCopyObject

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

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

func (*Get) GetConditions

func (obj *Get) GetConditions() []metav1.Condition

func (*Get) GetNamespacedName

func (obj *Get) GetNamespacedName() string

func (*Get) SetConditions

func (obj *Get) SetConditions(reconcileStatus []metav1.Condition)

type GetConfig

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

	Spec   GetConfigSpec   `json:"spec,omitempty"`
	Status GetConfigStatus `json:"status,omitempty"`
}

GetConfig is the Schema for the getconfigs API

func (*GetConfig) DeepCopy

func (in *GetConfig) DeepCopy() *GetConfig

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

func (*GetConfig) DeepCopyInto

func (in *GetConfig) DeepCopyInto(out *GetConfig)

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

func (*GetConfig) DeepCopyObject

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

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

func (*GetConfig) GetConditions

func (obj *GetConfig) GetConditions() []metav1.Condition

func (*GetConfig) GetNamespacedName

func (obj *GetConfig) GetNamespacedName() string

func (*GetConfig) SetConditions

func (obj *GetConfig) SetConditions(reconcileStatus []metav1.Condition)

type GetConfigList

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

GetConfigList contains a list of GetConfig

func (*GetConfigList) DeepCopy

func (in *GetConfigList) DeepCopy() *GetConfigList

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

func (*GetConfigList) DeepCopyInto

func (in *GetConfigList) DeepCopyInto(out *GetConfigList)

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

func (*GetConfigList) DeepCopyObject

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

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

type GetConfigSpec

type GetConfigSpec struct {
	// Defines the NETCONF session to use
	MountPoint string `json:"mountPoint"`
	// Identify the datastore against which the operation should be performed. Default to `running`.
	// +kubebuilder:default:="running"
	Target string `json:"target,omitempty"`
}

GetConfigSpec defines the desired state of GetConfig

func (*GetConfigSpec) DeepCopy

func (in *GetConfigSpec) DeepCopy() *GetConfigSpec

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

func (*GetConfigSpec) DeepCopyInto

func (in *GetConfigSpec) DeepCopyInto(out *GetConfigSpec)

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

type GetConfigStatus

type GetConfigStatus struct {
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
	// Either `success` or `failed`
	Status string `json:"status,omitempty"`
	// Provides the received RPC reply
	RpcReply string `json:"rpcReply,omitempty"`
}

GetConfigStatus defines the observed state of GetConfig

func (*GetConfigStatus) DeepCopy

func (in *GetConfigStatus) DeepCopy() *GetConfigStatus

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

func (*GetConfigStatus) DeepCopyInto

func (in *GetConfigStatus) DeepCopyInto(out *GetConfigStatus)

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

type GetList

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

GetList contains a list of Get

func (*GetList) DeepCopy

func (in *GetList) DeepCopy() *GetList

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

func (*GetList) DeepCopyInto

func (in *GetList) DeepCopyInto(out *GetList)

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

func (*GetList) DeepCopyObject

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

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

type GetSpec

type GetSpec struct {
	// Defines the NETCONF session to use
	MountPoint string `json:"mountPoint"`
	// Define the filter to apply; see more https://datatracker.ietf.org/doc/html/rfc6241#page-20
	// +kubebuilder:default:="subtree"
	FilterType string `json:"filterType,omitempty"`
	// Define the XML payload to sent
	XML string `json:"xml,omitempty"`
}

GetSpec defines the desired state of Get

func (*GetSpec) DeepCopy

func (in *GetSpec) DeepCopy() *GetSpec

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

func (*GetSpec) DeepCopyInto

func (in *GetSpec) DeepCopyInto(out *GetSpec)

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

type GetStatus

type GetStatus struct {
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
	// Either `success` or `failed`
	Status string `json:"status,omitempty"`
	// Provides the received RPC reply
	RpcReply string `json:"rpcReply,omitempty"`
}

GetStatus defines the observed state of Get

func (*GetStatus) DeepCopy

func (in *GetStatus) DeepCopy() *GetStatus

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

func (*GetStatus) DeepCopyInto

func (in *GetStatus) DeepCopyInto(out *GetStatus)

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

type Lock

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

	Spec   LockSpec   `json:"spec,omitempty"`
	Status LockStatus `json:"status,omitempty"`
}

Lock is the Schema for the locks API

func (*Lock) DeepCopy

func (in *Lock) DeepCopy() *Lock

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

func (*Lock) DeepCopyInto

func (in *Lock) DeepCopyInto(out *Lock)

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

func (*Lock) DeepCopyObject

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

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

func (*Lock) GetConditions

func (obj *Lock) GetConditions() []metav1.Condition

func (*Lock) GetNamespacedName

func (obj *Lock) GetNamespacedName() string

func (*Lock) SetConditions

func (obj *Lock) SetConditions(reconcileStatus []metav1.Condition)

type LockList

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

LockList contains a list of Lock

func (*LockList) DeepCopy

func (in *LockList) DeepCopy() *LockList

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

func (*LockList) DeepCopyInto

func (in *LockList) DeepCopyInto(out *LockList)

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

func (*LockList) DeepCopyObject

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

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

type LockSpec

type LockSpec struct {
	// Defines the NETCONF session to use
	MountPoint string `json:"mountPoint"`
	// Identify the datastore against which the operation should be performed. Default to `candidate`.
	// +kubebuilder:default:="candidate"
	Target string `json:"target,omitempty"`
}

LockSpec defines the desired state of Lock

func (*LockSpec) DeepCopy

func (in *LockSpec) DeepCopy() *LockSpec

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

func (*LockSpec) DeepCopyInto

func (in *LockSpec) DeepCopyInto(out *LockSpec)

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

type LockStatus

type LockStatus struct {
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
	// Either `success` or `failed`
	Status string `json:"status,omitempty"`
	// Provides the received RPC reply
	RpcReply string `json:"rpcReply,omitempty"`
}

LockStatus defines the observed state of Lock

func (*LockStatus) DeepCopy

func (in *LockStatus) DeepCopy() *LockStatus

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

func (*LockStatus) DeepCopyInto

func (in *LockStatus) DeepCopyInto(out *LockStatus)

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

type MountPoint

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

	Spec   MountPointSpec   `json:"spec,omitempty"`
	Status MountPointStatus `json:"status,omitempty"`
}

MountPoint is the Schema for the mountPoints API

func (*MountPoint) DeepCopy

func (in *MountPoint) DeepCopy() *MountPoint

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

func (*MountPoint) DeepCopyInto

func (in *MountPoint) DeepCopyInto(out *MountPoint)

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

func (*MountPoint) DeepCopyObject

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

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

func (*MountPoint) GetConditions

func (obj *MountPoint) GetConditions() []metav1.Condition

func (*MountPoint) GetNamespacedName

func (obj *MountPoint) GetNamespacedName() string

func (*MountPoint) SetConditions

func (obj *MountPoint) SetConditions(reconcileStatus []metav1.Condition)

type MountPointList

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

MountPointList contains a list of MountPoint

func (*MountPointList) DeepCopy

func (in *MountPointList) DeepCopy() *MountPointList

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

func (*MountPointList) DeepCopyInto

func (in *MountPointList) DeepCopyInto(out *MountPointList)

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

func (*MountPointList) DeepCopyObject

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

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

type MountPointSpec

type MountPointSpec struct {

	// Represents the Netconf server to establish a session with.
	// By default, port `830` is used. If you need to use another port,
	// provide the target in the following format: `<host>:<port>`.
	Target string `json:"target"`
	// The username to use to authenticate
	Username string `json:"username"`
	// The password to use to authenticate
	Password string `json:"password"`
	// Whether to apply timeout while attempting the connection, expressed in second.
	// By default, set to `15` seconds. Put `0` for no timeout.
	// +kubebuilder:default:=15
	Timeout int64 `json:"timeout,omitempty"`
	// This is to instruct the NETCONF client to advertise additional capabilities
	AdditionalCapabilities []string `json:"additionalCapabilities,omitempty"`
}

MountPointSpec defines the desired state of MountPoint

func (*MountPointSpec) DeepCopy

func (in *MountPointSpec) DeepCopy() *MountPointSpec

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

func (*MountPointSpec) DeepCopyInto

func (in *MountPointSpec) DeepCopyInto(out *MountPointSpec)

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

type MountPointStatus

type MountPointStatus struct {
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
	// Either `connected` or `failed`
	Status string `json:"status,omitempty"`
	// Provide the list of supported capabilities
	Capabilities []string `json:"capabilities,omitempty"`
}

MountPointStatus defines the observed state of MountPoint

func (*MountPointStatus) DeepCopy

func (in *MountPointStatus) DeepCopy() *MountPointStatus

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

func (*MountPointStatus) DeepCopyInto

func (in *MountPointStatus) DeepCopyInto(out *MountPointStatus)

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

type Notification

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

	Spec   NotificationSpec   `json:"spec,omitempty"`
	Status NotificationStatus `json:"status,omitempty"`
}

Notification is the Schema for the notifications API

func (*Notification) DeepCopy

func (in *Notification) DeepCopy() *Notification

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

func (*Notification) DeepCopyInto

func (in *Notification) DeepCopyInto(out *Notification)

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

func (*Notification) DeepCopyObject

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

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

func (*Notification) GetConditions

func (obj *Notification) GetConditions() []metav1.Condition

func (*Notification) GetIdentifier

func (obj *Notification) GetIdentifier(name string) string

GetIdentifier returns an unique identifier for the notification being registered.

func (*Notification) GetNamespacedName

func (obj *Notification) GetNamespacedName() string

func (*Notification) SetConditions

func (obj *Notification) SetConditions(reconcileStatus []metav1.Condition)

type NotificationList

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

NotificationList contains a list of Notification

func (*NotificationList) DeepCopy

func (in *NotificationList) DeepCopy() *NotificationList

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

func (*NotificationList) DeepCopyInto

func (in *NotificationList) DeepCopyInto(out *NotificationList)

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

func (*NotificationList) DeepCopyObject

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

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

type NotificationSpec

type NotificationSpec struct {
	// Defines the NETCONF session to use
	MountPoint string `json:"mountPoint"`
	// Array of subscription to create
	CreateSubscription []CreateSubscription `json:"createSubscription,omitempty"`
	// Array of subscription to establish
	EstablishSubscription []EstablishSubscription `json:"establishSubscription,omitempty"`
}

NotificationSpec defines the desired state of Notification

func (*NotificationSpec) DeepCopy

func (in *NotificationSpec) DeepCopy() *NotificationSpec

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

func (*NotificationSpec) DeepCopyInto

func (in *NotificationSpec) DeepCopyInto(out *NotificationSpec)

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

type NotificationStatus

type NotificationStatus struct {
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
	// Either `success` or `failed`
	Status string `json:"status,omitempty"`
	// Provides the received RPC reply
	RpcReply string `json:"rpcReply,omitempty"`
}

NotificationStatus defines the observed state of Notification

func (*NotificationStatus) DeepCopy

func (in *NotificationStatus) DeepCopy() *NotificationStatus

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

func (*NotificationStatus) DeepCopyInto

func (in *NotificationStatus) DeepCopyInto(out *NotificationStatus)

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

type RPC

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

	Spec   RPCSpec   `json:"spec,omitempty"`
	Status RPCStatus `json:"status,omitempty"`
}

RPC is the Schema for the rpcs API

func (*RPC) DeepCopy

func (in *RPC) DeepCopy() *RPC

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

func (*RPC) DeepCopyInto

func (in *RPC) DeepCopyInto(out *RPC)

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

func (*RPC) DeepCopyObject

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

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

func (*RPC) GetConditions

func (obj *RPC) GetConditions() []metav1.Condition

func (*RPC) GetNamespacedName

func (obj *RPC) GetNamespacedName() string

func (*RPC) SetConditions

func (obj *RPC) SetConditions(reconcileStatus []metav1.Condition)

type RPCList

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

RPCList contains a list of RPC

func (*RPCList) DeepCopy

func (in *RPCList) DeepCopy() *RPCList

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

func (*RPCList) DeepCopyInto

func (in *RPCList) DeepCopyInto(out *RPCList)

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

func (*RPCList) DeepCopyObject

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

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

type RPCSpec

type RPCSpec struct {
	// Defines the NETCONF session to use
	MountPoint string `json:"mountPoint"`
	// Define the XML payload to sent
	XML string `json:"xml"`
}

RPCSpec defines the desired state of RPC

func (*RPCSpec) DeepCopy

func (in *RPCSpec) DeepCopy() *RPCSpec

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

func (*RPCSpec) DeepCopyInto

func (in *RPCSpec) DeepCopyInto(out *RPCSpec)

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

type RPCStatus

type RPCStatus struct {
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
	// Either `success` or `failed`
	Status string `json:"status,omitempty"`
	// Provides the received RPC reply
	RpcReply string `json:"rpcReply,omitempty"`
}

RPCStatus defines the observed state of RPC

func (*RPCStatus) DeepCopy

func (in *RPCStatus) DeepCopy() *RPCStatus

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

func (*RPCStatus) DeepCopyInto

func (in *RPCStatus) DeepCopyInto(out *RPCStatus)

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

type Unlock

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

	Spec   UnlockSpec   `json:"spec,omitempty"`
	Status UnlockStatus `json:"status,omitempty"`
}

Unlock is the Schema for the unlocks API

func (*Unlock) DeepCopy

func (in *Unlock) DeepCopy() *Unlock

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

func (*Unlock) DeepCopyInto

func (in *Unlock) DeepCopyInto(out *Unlock)

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

func (*Unlock) DeepCopyObject

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

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

func (*Unlock) GetConditions

func (obj *Unlock) GetConditions() []metav1.Condition

func (*Unlock) GetNamespacedName

func (obj *Unlock) GetNamespacedName() string

func (*Unlock) SetConditions

func (obj *Unlock) SetConditions(reconcileStatus []metav1.Condition)

type UnlockList

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

UnlockList contains a list of Unlock

func (*UnlockList) DeepCopy

func (in *UnlockList) DeepCopy() *UnlockList

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

func (*UnlockList) DeepCopyInto

func (in *UnlockList) DeepCopyInto(out *UnlockList)

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

func (*UnlockList) DeepCopyObject

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

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

type UnlockSpec

type UnlockSpec struct {
	// Defines the NETCONF session to use
	MountPoint string `json:"mountPoint"`
	// Identify the datastore against which the operation should be performed. Default to `candidate`.
	// +kubebuilder:default:="candidate"
	Target string `json:"target,omitempty"`
	// If this Unlock operation should occur after another operation, specify the other operation here.
	DependsOn DependsOn `json:"dependsOn,omitempty"`
}

UnlockSpec defines the desired state of Unlock

func (*UnlockSpec) DeepCopy

func (in *UnlockSpec) DeepCopy() *UnlockSpec

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

func (*UnlockSpec) DeepCopyInto

func (in *UnlockSpec) DeepCopyInto(out *UnlockSpec)

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

type UnlockStatus

type UnlockStatus struct {
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"`
	// Either `success` or `failed`
	Status string `json:"status,omitempty"`
	// Provides the received RPC reply
	RpcReply string `json:"rpcReply,omitempty"`
}

UnlockStatus defines the observed state of Unlock

func (*UnlockStatus) DeepCopy

func (in *UnlockStatus) DeepCopy() *UnlockStatus

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

func (*UnlockStatus) DeepCopyInto

func (in *UnlockStatus) DeepCopyInto(out *UnlockStatus)

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