v1alpha1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.lightbend.com

Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.lightbend.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "app.lightbend.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

Types

type AkkaCluster

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

	Spec   apps.DeploymentSpec `json:"spec,omitempty"`
	Status *AkkaClusterStatus  `json:"status,omitempty"`
}

AkkaCluster is the Schema for the akkaclusters API +k8s:openapi-gen=true

func (*AkkaCluster) DeepCopy

func (in *AkkaCluster) DeepCopy() *AkkaCluster

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

func (*AkkaCluster) DeepCopyInto

func (in *AkkaCluster) DeepCopyInto(out *AkkaCluster)

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

func (*AkkaCluster) DeepCopyObject

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

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

type AkkaClusterList

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

AkkaClusterList contains a list of AkkaCluster

func (*AkkaClusterList) DeepCopy

func (in *AkkaClusterList) DeepCopy() *AkkaClusterList

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

func (*AkkaClusterList) DeepCopyInto

func (in *AkkaClusterList) DeepCopyInto(out *AkkaClusterList)

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

func (*AkkaClusterList) DeepCopyObject

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

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

type AkkaClusterManagementStatus

type AkkaClusterManagementStatus struct {
	Members       []AkkaClusterMemberStatus            `json:"members"`
	Unreachable   []AkkaClusterUnreachableMemberStatus `json:"unreachable"`
	Leader        string                               `json:"leader"`
	Oldest        string                               `json:"oldest"`
	OldestPerRole map[string]string                    `json:"oldestPerRole"`
}

AkkaClusterManagementStatus reflects the Akka Management endpoint

func (*AkkaClusterManagementStatus) DeepCopy

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

func (*AkkaClusterManagementStatus) DeepCopyInto

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

type AkkaClusterMemberStatus

type AkkaClusterMemberStatus struct {
	Node   string   `json:"node"`
	Status string   `json:"status"`
	Roles  []string `json:"roles"`
}

AkkaClusterMemberStatus corresponds to Akka Management members entries ref https://github.com/akka/akka-management/blob/master/cluster-http/src/main/scala/akka/management/cluster/ClusterHttpManagementProtocol.scala

func (*AkkaClusterMemberStatus) DeepCopy

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

func (*AkkaClusterMemberStatus) DeepCopyInto

func (in *AkkaClusterMemberStatus) DeepCopyInto(out *AkkaClusterMemberStatus)

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

type AkkaClusterSpec

type AkkaClusterSpec struct {
	apps.DeploymentSpec `json:",inline"`
}

AkkaClusterSpec defines the desired state of AkkaCluster +k8s:openapi-gen=true

func (*AkkaClusterSpec) DeepCopy

func (in *AkkaClusterSpec) DeepCopy() *AkkaClusterSpec

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

func (*AkkaClusterSpec) DeepCopyInto

func (in *AkkaClusterSpec) DeepCopyInto(out *AkkaClusterSpec)

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

type AkkaClusterStatus

type AkkaClusterStatus struct {
	ManagementHost string                      `json:"managementHost"`
	ManagementPort int32                       `json:"managementPort"`
	LastUpdate     metav1.Time                 `json:"lastUpdate"`
	Cluster        AkkaClusterManagementStatus `json:"cluster"`
}

AkkaClusterStatus defines the observed state of AkkaCluster +k8s:openapi-gen=true

func (*AkkaClusterStatus) DeepCopy

func (in *AkkaClusterStatus) DeepCopy() *AkkaClusterStatus

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

func (*AkkaClusterStatus) DeepCopyInto

func (in *AkkaClusterStatus) DeepCopyInto(out *AkkaClusterStatus)

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

type AkkaClusterUnreachableMemberStatus

type AkkaClusterUnreachableMemberStatus struct {
	Node       string   `json:"node"`
	ObservedBy []string `json:"observedBy"`
}

AkkaClusterUnreachableMemberStatus reports node(s) to node reachability problems

func (*AkkaClusterUnreachableMemberStatus) DeepCopy

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

func (*AkkaClusterUnreachableMemberStatus) DeepCopyInto

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