Documentation
¶
Index ¶
- type Metric
- type RemoteClusterConfig
- func (m *RemoteClusterConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (in *RemoteClusterConfig) DeepCopy() *RemoteClusterConfig
- func (in *RemoteClusterConfig) DeepCopyInto(out *RemoteClusterConfig)
- func (m *RemoteClusterConfig) MarshalBinary() ([]byte, error)
- func (m *RemoteClusterConfig) UnmarshalBinary(b []byte) error
- func (m *RemoteClusterConfig) Validate(formats strfmt.Registry) error
- type RemoteClusterSynced
- func (m *RemoteClusterSynced) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (in *RemoteClusterSynced) DeepCopy() *RemoteClusterSynced
- func (in *RemoteClusterSynced) DeepCopyInto(out *RemoteClusterSynced)
- func (m *RemoteClusterSynced) MarshalBinary() ([]byte, error)
- func (m *RemoteClusterSynced) UnmarshalBinary(b []byte) error
- func (m *RemoteClusterSynced) Validate(formats strfmt.Registry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metric ¶
type Metric struct {
// Labels of the metric
Labels map[string]string `json:"labels,omitempty"`
// Name of the metric
Name string `json:"name,omitempty"`
// Value of the metric
Value float64 `json:"value,omitempty"`
}
Metric Metric information
swagger:model metric
func (*Metric) ContextValidate ¶
ContextValidate validates this metric based on context it is used
func (*Metric) MarshalBinary ¶
MarshalBinary interface implementation
func (*Metric) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RemoteClusterConfig ¶ added in v1.16.0
type RemoteClusterConfig struct {
// The Cluster ID advertised by the remote cluster
ClusterID int64 `json:"cluster-id,omitempty"`
// Whether the remote cluster information is locally cached by kvstoremesh
Kvstoremesh bool `json:"kvstoremesh,omitempty"`
// Whether the configuration is required to be present
Required bool `json:"required,omitempty"`
// Whether the configuration has been correctly retrieved
Retrieved bool `json:"retrieved,omitempty"`
// Whether the remote cluster supports per-prefix "synced" canaries
SyncCanaries bool `json:"sync-canaries,omitempty"`
}
RemoteClusterConfig Cluster configuration exposed by the remote cluster
+k8s:deepcopy-gen=true
swagger:model remoteClusterConfig
func (*RemoteClusterConfig) ContextValidate ¶ added in v1.16.0
ContextValidate validates this remote cluster config based on context it is used
func (*RemoteClusterConfig) DeepCopy ¶ added in v1.16.0
func (in *RemoteClusterConfig) DeepCopy() *RemoteClusterConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteClusterConfig.
func (*RemoteClusterConfig) DeepCopyInto ¶ added in v1.16.0
func (in *RemoteClusterConfig) DeepCopyInto(out *RemoteClusterConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteClusterConfig) MarshalBinary ¶ added in v1.16.0
func (m *RemoteClusterConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoteClusterConfig) UnmarshalBinary ¶ added in v1.16.0
func (m *RemoteClusterConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RemoteClusterSynced ¶ added in v1.16.0
type RemoteClusterSynced struct {
// Endpoints synchronization status
Endpoints bool `json:"endpoints,omitempty"`
// Identities synchronization status
Identities bool `json:"identities,omitempty"`
// Nodes synchronization status
Nodes bool `json:"nodes,omitempty"`
// Services synchronization status
Services bool `json:"services,omitempty"`
}
RemoteClusterSynced Status of the synchronization with the remote cluster, about each resource type. A given resource is considered to be synchronized if the initial list of entries has been completely received from the remote cluster, and new events are currently being watched.
+k8s:deepcopy-gen=true
swagger:model remoteClusterSynced
func (*RemoteClusterSynced) ContextValidate ¶ added in v1.16.0
ContextValidate validates this remote cluster synced based on context it is used
func (*RemoteClusterSynced) DeepCopy ¶ added in v1.16.0
func (in *RemoteClusterSynced) DeepCopy() *RemoteClusterSynced
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteClusterSynced.
func (*RemoteClusterSynced) DeepCopyInto ¶ added in v1.16.0
func (in *RemoteClusterSynced) DeepCopyInto(out *RemoteClusterSynced)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RemoteClusterSynced) MarshalBinary ¶ added in v1.16.0
func (m *RemoteClusterSynced) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RemoteClusterSynced) UnmarshalBinary ¶ added in v1.16.0
func (m *RemoteClusterSynced) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation