Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the mesh v1 API group +kubebuilder:object:generate=true +groupName=storage.webmesh.io
Index ¶
- Constants
- Variables
- func GetCustomResourceDefintions() []*apiextensionsv1.CustomResourceDefinition
- type Group
- type GroupList
- type MeshEdge
- type MeshEdgeList
- type MeshState
- type MeshStateList
- type NetworkACL
- type NetworkACLList
- type Peer
- type PeerList
- type Role
- type RoleBinding
- type RoleBindingList
- type RoleList
- type Route
- type RouteList
- type StoragePeer
- type StoragePeerList
Constants ¶
const ( // FieldOwner is the field used to identify the owner of mesh data. FieldOwner = "storage.webmesh.io" // NodeIDLabel is the label used to store the node ID. NodeIDLabel = "webmesh.io/node-id" // PublicKeyLabel is the label used to store the hashed public key of a node. PublicKeyLabel = "webmesh.io/public-key" // NodeIPv4Label is the label used to store the IPv4 address of a node. NodeIPv4Label = "webmesh.io/node-ipv4" // NodeIPv6Label is the label used to store the IPv6 address of a node. NodeIPv6Label = "webmesh.io/node-ipv6" // EdgeSourceLabel is the label used to store the source node ID. EdgeSourceLabel = "webmesh.io/edge-source" // EdgeTargetLabel is the label used to store the target node ID. EdgeTargetLabel = "webmesh.io/edge-target" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "storage.webmesh.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 )
var CustomObjects = []client.Object{ &MeshState{}, &Peer{}, &MeshEdge{}, &NetworkACL{}, &Route{}, &Role{}, &RoleBinding{}, &Group{}, &StoragePeer{}, }
CustomObjects is a list of all custom objects used for storage.
var GroupTypeMeta = metav1.TypeMeta{ APIVersion: GroupVersion.String(), Kind: "Group", }
GroupTypeMeta is the type meta for a Group.
var MeshEdgeTypeMeta = metav1.TypeMeta{ APIVersion: GroupVersion.String(), Kind: "MeshEdge", }
MeshEdgeTypeMeta is the type meta for a MeshEdge.
var MeshStateTypeMeta = metav1.TypeMeta{ APIVersion: GroupVersion.String(), Kind: "MeshState", }
MeshStateTypeMeta is the type meta for a MeshState.
var NetworkACLTypeMeta = metav1.TypeMeta{ APIVersion: GroupVersion.String(), Kind: "NetworkACL", }
NetworkACLTypeMeta is the type meta for a NetworkACL.
var PeerTypeMeta = metav1.TypeMeta{ APIVersion: GroupVersion.String(), Kind: "Peer", }
PeerTypeMeta is the type meta for a Peer.
var RoleBindingTypeMeta = metav1.TypeMeta{ APIVersion: GroupVersion.String(), Kind: "RoleBinding", }
RoleBindingTypeMeta is the type meta for a RoleBinding.
var RoleTypeMeta = metav1.TypeMeta{ APIVersion: GroupVersion.String(), Kind: "Role", }
RoleTypeMeta is the type meta for a Role.
var RouteTypeMeta = metav1.TypeMeta{ APIVersion: GroupVersion.String(), Kind: "Route", }
RouteTypeMeta is the type meta for a Route.
var StoragePeerTypeMeta = metav1.TypeMeta{ APIVersion: GroupVersion.String(), Kind: "StoragePeer", }
StoragePeerTypeMeta is the type meta for a StoragePeer.
Functions ¶
func GetCustomResourceDefintions ¶
func GetCustomResourceDefintions() []*apiextensionsv1.CustomResourceDefinition
GetCustomResourceDefintions returns a list of all CRDs used for storage.
Types ¶
type Group ¶
type Group struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` types.Group `json:",inline"` }
Group is the Schema for the Groups API.
func (*Group) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Group.
func (*Group) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Group) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupList ¶
type GroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Group `json:"items"` }
GroupList contains a list of groups.
func (*GroupList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupList.
func (*GroupList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeshEdge ¶
type MeshEdge struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` types.MeshEdge `json:",inline"` }
MeshEdge is the Schema for the MeshEdges API.
func (*MeshEdge) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshEdge.
func (*MeshEdge) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeshEdge) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeshEdgeList ¶
type MeshEdgeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MeshEdge `json:"items"` }
MeshEdgeList contains a list of edges.
func (*MeshEdgeList) DeepCopy ¶
func (in *MeshEdgeList) DeepCopy() *MeshEdgeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshEdgeList.
func (*MeshEdgeList) DeepCopyInto ¶
func (in *MeshEdgeList) DeepCopyInto(out *MeshEdgeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeshEdgeList) DeepCopyObject ¶
func (in *MeshEdgeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeshState ¶
type MeshState struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` types.NetworkState `json:",inline"` }
MeshState is the Schema for the MeshState API.
func (*MeshState) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshState.
func (*MeshState) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeshState) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MeshStateList ¶
type MeshStateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MeshState `json:"items"` }
MeshStateList contains a list of meshstates.
func (*MeshStateList) DeepCopy ¶
func (in *MeshStateList) DeepCopy() *MeshStateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MeshStateList.
func (*MeshStateList) DeepCopyInto ¶
func (in *MeshStateList) DeepCopyInto(out *MeshStateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MeshStateList) DeepCopyObject ¶
func (in *MeshStateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkACL ¶
type NetworkACL struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` types.NetworkACL `json:",inline"` }
NetworkACL is the Schema for the NetworkACLs API.
func (*NetworkACL) DeepCopy ¶
func (in *NetworkACL) DeepCopy() *NetworkACL
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACL.
func (*NetworkACL) DeepCopyInto ¶
func (in *NetworkACL) DeepCopyInto(out *NetworkACL)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkACL) DeepCopyObject ¶
func (in *NetworkACL) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkACLList ¶
type NetworkACLList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NetworkACL `json:"items"` }
NetworkACLList contains a list of network acls.
func (*NetworkACLList) DeepCopy ¶
func (in *NetworkACLList) DeepCopy() *NetworkACLList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkACLList.
func (*NetworkACLList) DeepCopyInto ¶
func (in *NetworkACLList) DeepCopyInto(out *NetworkACLList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkACLList) DeepCopyObject ¶
func (in *NetworkACLList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Peer ¶
type Peer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` types.MeshNode `json:",inline"` }
Peer is the Schema for the peers API.
func (*Peer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peer.
func (*Peer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Peer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PeerList ¶
type PeerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Peer `json:"items"` }
PeerList contains a list of peers.
func (*PeerList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeerList.
func (*PeerList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PeerList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Role ¶
type Role struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` types.Role `json:",omitempty"` }
Role is the Schema for the roles API.
func (*Role) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (*Role) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Role) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleBinding ¶
type RoleBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` types.RoleBinding `json:",inline"` }
RoleBinding is the Schema for the rolebindings API.
func (*RoleBinding) DeepCopy ¶
func (in *RoleBinding) DeepCopy() *RoleBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding.
func (*RoleBinding) DeepCopyInto ¶
func (in *RoleBinding) DeepCopyInto(out *RoleBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleBinding) DeepCopyObject ¶
func (in *RoleBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleBindingList ¶
type RoleBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RoleBinding `json:"items"` }
RoleList contains a list of rolebindings.
func (*RoleBindingList) DeepCopy ¶
func (in *RoleBindingList) DeepCopy() *RoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList.
func (*RoleBindingList) DeepCopyInto ¶
func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleBindingList) DeepCopyObject ¶
func (in *RoleBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleList ¶
type RoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Role `json:"items"` }
RoleList contains a list of roles.
func (*RoleList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (*RoleList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Route ¶
type Route struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` types.Route `json:",inline"` }
Route is the Schema for the Routes API.
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Route) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteList ¶
type RouteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Route `json:"items"` }
RouteList contains a list of routes.
func (*RouteList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteList.
func (*RouteList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StoragePeer ¶ added in v0.0.3
type StoragePeer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` types.StoragePeer `json:",inline"` }
StoragePeer is the Schema for the StoragePeer API.
func (*StoragePeer) DeepCopy ¶ added in v0.0.3
func (in *StoragePeer) DeepCopy() *StoragePeer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePeer.
func (*StoragePeer) DeepCopyInto ¶ added in v0.0.3
func (in *StoragePeer) DeepCopyInto(out *StoragePeer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StoragePeer) DeepCopyObject ¶ added in v0.0.3
func (in *StoragePeer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StoragePeerList ¶ added in v0.0.3
type StoragePeerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []StoragePeer `json:"items"` }
StoragePeerList contains a list of storage peers.
func (*StoragePeerList) DeepCopy ¶ added in v0.0.3
func (in *StoragePeerList) DeepCopy() *StoragePeerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoragePeerList.
func (*StoragePeerList) DeepCopyInto ¶ added in v0.0.3
func (in *StoragePeerList) DeepCopyInto(out *StoragePeerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StoragePeerList) DeepCopyObject ¶ added in v0.0.3
func (in *StoragePeerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.