Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Stream resources of the NATS provider. +kubebuilder:object:generate=true +groupName=nats.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Stream
- func (in *Stream) DeepCopy() *Stream
- func (in *Stream) DeepCopyInto(out *Stream)
- func (in *Stream) DeepCopyObject() runtime.Object
- func (mg *Stream) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Stream) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Stream) GetProviderConfigReference() *xpv1.Reference
- func (mg *Stream) GetProviderReference() *xpv1.Reference
- func (mg *Stream) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Stream) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Stream) SetConditions(c ...xpv1.Condition)
- func (mg *Stream) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Stream) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Stream) SetProviderReference(r *xpv1.Reference)
- func (mg *Stream) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Stream) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type StreamList
- type StreamObservation
- type StreamParameters
- type StreamSpec
- type StreamStatus
Constants ¶
const ( Group = "nats.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( StreamKind = reflect.TypeOf(Stream{}).Name() StreamGroupKind = schema.GroupKind{Group: Group, Kind: StreamKind}.String() StreamKindAPIVersion = StreamKind + "." + SchemeGroupVersion.String() StreamGroupVersionKind = SchemeGroupVersion.WithKind(StreamKind) )
Stream type metadata.
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Stream ¶
type Stream struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StreamSpec `json:"spec"` Status StreamStatus `json:"status,omitempty"` }
A Stream is an example API type. +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="DOMAIN",type="string",JSONPath=".spec.forProvider.domain" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="ADDRESS",type="string",priority=1,JSONPath=".status.atProvider.connection.address" +kubebuilder:printcolumn:name="ACCOUNT PUB KEY",type="string",priority=1,JSONPath=".status.atProvider.connection.accountPublicKey" +kubebuilder:printcolumn:name="MESSAGES",type="string",priority=1,JSONPath=".status.atProvider.state.messages" +kubebuilder:printcolumn:name="BYTES",type="string",priority=1,JSONPath=".status.atProvider.state.bytes" +kubebuilder:printcolumn:name="CONSUMERS",type="string",priority=1,JSONPath=".status.atProvider.state.consumerCount" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,nats}
func (*Stream) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stream.
func (*Stream) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Stream) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Stream) GetCondition ¶
func (mg *Stream) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Stream.
func (*Stream) GetDeletionPolicy ¶
func (mg *Stream) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Stream.
func (*Stream) GetProviderConfigReference ¶
GetProviderConfigReference of this Stream.
func (*Stream) GetProviderReference ¶
GetProviderReference of this Stream. Deprecated: Use GetProviderConfigReference.
func (*Stream) GetPublishConnectionDetailsTo ¶
func (mg *Stream) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Stream.
func (*Stream) GetWriteConnectionSecretToReference ¶
func (mg *Stream) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Stream.
func (*Stream) SetConditions ¶
SetConditions of this Stream.
func (*Stream) SetDeletionPolicy ¶
func (mg *Stream) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Stream.
func (*Stream) SetProviderConfigReference ¶
SetProviderConfigReference of this Stream.
func (*Stream) SetProviderReference ¶
SetProviderReference of this Stream. Deprecated: Use SetProviderConfigReference.
func (*Stream) SetPublishConnectionDetailsTo ¶
func (mg *Stream) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Stream.
func (*Stream) SetWriteConnectionSecretToReference ¶
func (mg *Stream) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Stream.
type StreamList ¶
type StreamList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Stream `json:"items"` }
StreamList contains a list of Stream
func (*StreamList) DeepCopy ¶
func (in *StreamList) DeepCopy() *StreamList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamList.
func (*StreamList) DeepCopyInto ¶
func (in *StreamList) DeepCopyInto(out *StreamList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StreamList) DeepCopyObject ¶
func (in *StreamList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*StreamList) GetItems ¶
func (l *StreamList) GetItems() []resource.Managed
GetItems of this StreamList.
type StreamObservation ¶
type StreamObservation struct { // Domain is the Jetstream domain in which the stream is created. Domain string `json:"domain,omitempty"` // State is the current state of the stream State stream.StreamObservationState `json:"state,omitempty"` // ClusterInfo shows information about the underlying set of servers that make up the stream. ClusterInfo stream.StreamObservationClusterInfo `json:"clusterInfo,omitempty"` // Connection shows information about the connection to the stream. Connection stream.StreamObservationConnection `json:"connection,omitempty"` }
StreamObservation are the observable fields of a Stream.
func (*StreamObservation) DeepCopy ¶
func (in *StreamObservation) DeepCopy() *StreamObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamObservation.
func (*StreamObservation) DeepCopyInto ¶
func (in *StreamObservation) DeepCopyInto(out *StreamObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StreamParameters ¶
type StreamParameters struct { // Domain is the Jetstream domain in which the stream is created. // +kubebuilder:validation:Optional Domain string `json:"domain,omitempty"` // Config is the stream configuration. Config stream.StreamConfig `json:"config"` }
StreamParameters are the configurable fields of a Stream.
func (*StreamParameters) DeepCopy ¶
func (in *StreamParameters) DeepCopy() *StreamParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamParameters.
func (*StreamParameters) DeepCopyInto ¶
func (in *StreamParameters) DeepCopyInto(out *StreamParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StreamSpec ¶
type StreamSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider StreamParameters `json:"forProvider"` }
A StreamSpec defines the desired state of a Stream.
func (*StreamSpec) DeepCopy ¶
func (in *StreamSpec) DeepCopy() *StreamSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamSpec.
func (*StreamSpec) DeepCopyInto ¶
func (in *StreamSpec) DeepCopyInto(out *StreamSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StreamStatus ¶
type StreamStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider StreamObservation `json:"atProvider,omitempty"` }
A StreamStatus represents the observed state of a Stream.
func (*StreamStatus) DeepCopy ¶
func (in *StreamStatus) DeepCopy() *StreamStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StreamStatus.
func (*StreamStatus) DeepCopyInto ¶
func (in *StreamStatus) DeepCopyInto(out *StreamStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.