Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the netconf v1 API group +kubebuilder:object:generate=true +groupName=netconf.adetalhouet.io
Index ¶
- Variables
- type Commit
- type CommitList
- type CommitSpec
- type CommitStatus
- type CreateSubscription
- type DependsOn
- type EditConfig
- func (in *EditConfig) DeepCopy() *EditConfig
- func (in *EditConfig) DeepCopyInto(out *EditConfig)
- func (in *EditConfig) DeepCopyObject() runtime.Object
- func (obj *EditConfig) GetConditions() []metav1.Condition
- func (obj *EditConfig) GetNamespacedName() string
- func (obj *EditConfig) SetConditions(reconcileStatus []metav1.Condition)
- type EditConfigList
- type EditConfigSpec
- type EditConfigStatus
- type EstablishSubscription
- type Get
- type GetConfig
- func (in *GetConfig) DeepCopy() *GetConfig
- func (in *GetConfig) DeepCopyInto(out *GetConfig)
- func (in *GetConfig) DeepCopyObject() runtime.Object
- func (obj *GetConfig) GetConditions() []metav1.Condition
- func (obj *GetConfig) GetNamespacedName() string
- func (obj *GetConfig) SetConditions(reconcileStatus []metav1.Condition)
- type GetConfigList
- type GetConfigSpec
- type GetConfigStatus
- type GetList
- type GetSpec
- type GetStatus
- type Lock
- type LockList
- type LockSpec
- type LockStatus
- type MountPoint
- func (in *MountPoint) DeepCopy() *MountPoint
- func (in *MountPoint) DeepCopyInto(out *MountPoint)
- func (in *MountPoint) DeepCopyObject() runtime.Object
- func (obj *MountPoint) GetConditions() []metav1.Condition
- func (obj *MountPoint) GetNamespacedName() string
- func (obj *MountPoint) SetConditions(reconcileStatus []metav1.Condition)
- type MountPointList
- type MountPointSpec
- type MountPointStatus
- type Notification
- func (in *Notification) DeepCopy() *Notification
- func (in *Notification) DeepCopyInto(out *Notification)
- func (in *Notification) DeepCopyObject() runtime.Object
- func (obj *Notification) GetConditions() []metav1.Condition
- func (obj *Notification) GetIdentifier(name string) string
- func (obj *Notification) GetNamespacedName() string
- func (obj *Notification) SetConditions(reconcileStatus []metav1.Condition)
- type NotificationList
- type NotificationSpec
- type NotificationStatus
- type RPC
- type RPCList
- type RPCSpec
- type RPCStatus
- type Unlock
- type UnlockList
- type UnlockSpec
- type UnlockStatus
Constants ¶
This section is empty.
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Commit.
func (*Commit) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Commit) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Commit) GetConditions ¶
func (*Commit) GetNamespacedName ¶
func (*Commit) SetConditions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DependsOn.
func (*DependsOn) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
func (in *EstablishSubscription) DeepCopy() *EstablishSubscription
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Get.
func (*Get) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Get) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Get) GetConditions ¶
func (*Get) GetNamespacedName ¶
func (*Get) SetConditions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetConfig.
func (*GetConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GetConfig) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GetConfig) GetConditions ¶
func (*GetConfig) GetNamespacedName ¶
func (*GetConfig) SetConditions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetList.
func (*GetList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GetList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetSpec.
func (*GetSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetStatus.
func (*GetStatus) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lock.
func (*Lock) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Lock) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Lock) GetConditions ¶
func (*Lock) GetNamespacedName ¶
func (*Lock) SetConditions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LockList.
func (*LockList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LockList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LockSpec.
func (*LockSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RPC.
func (*RPC) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RPC) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RPC) GetConditions ¶
func (*RPC) GetNamespacedName ¶
func (*RPC) SetConditions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RPCList.
func (*RPCList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RPCList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RPCSpec.
func (*RPCSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RPCStatus.
func (*RPCStatus) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Unlock.
func (*Unlock) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Unlock) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Unlock) GetConditions ¶
func (*Unlock) GetNamespacedName ¶
func (*Unlock) SetConditions ¶
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.