Versions in this module Expand all Collapse all v0 v0.2.2 Dec 13, 2019 v0.2.2-rc2 Dec 13, 2019 v0.2.2-rc1 Dec 6, 2019 v0.2.1 Nov 13, 2019 v0.2.1-rc1 Nov 8, 2019 v0.2.0 Oct 8, 2019 Changes in this version + const CRDResourceKind + const CRDResourcePlural + const ClusterConditionReady + const ClusterConditionScalingDown + const ClusterConditionScalingUp + const ClusterConditionUpgrading + const ClusterPhaseCreating + const ClusterPhaseFailed + const ClusterPhaseNone + const ClusterPhaseRunning + const ServiceRoleCRDResourceKind + const ServiceRoleCRDResourcePlural + var AddToScheme = SchemeBuilder.AddToScheme + var CRDName = CRDResourcePlural + "." + groupName + var SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + var SchemeGroupVersion = schema.GroupVersion + var ServiceRoleCRDName = ServiceRoleCRDResourcePlural + "." + groupName + func RegisterDefaults(scheme *runtime.Scheme) error + func Resource(resource string) schema.GroupResource + type AuthConfig struct + ClientsAuthFile string + ClientsAuthSecret string + ClientsAuthTimeout int + EnableServiceAccounts bool + TLSVerifyAndMap bool + func (in *AuthConfig) DeepCopy() *AuthConfig + func (in *AuthConfig) DeepCopyInto(out *AuthConfig) + type ClusterCondition struct + Reason string + TransitionTime string + Type ClusterConditionType + func (in *ClusterCondition) DeepCopy() *ClusterCondition + func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition) + type ClusterConditionType string + type ClusterPhase string + type ClusterSpec struct + Auth *AuthConfig + ExtraRoutes []*ExtraRoute + GatewayConfig *GatewayConfig + LameDuckDurationSeconds *int64 + LeafNodeConfig *LeafNodeConfig + NoAdvertise bool + OperatorConfig *OperatorConfig + Paused bool + Pod *PodPolicy + PodTemplate *v1.PodTemplateSpec + ServerConfig *ServerConfig + ServerImage string + Size int + TLS *TLSConfig + Version string + func (c *ClusterSpec) Cleanup() + func (c *ClusterSpec) Validate() error + func (in *ClusterSpec) DeepCopy() *ClusterSpec + func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec) + type ClusterStatus struct + Conditions []ClusterCondition + ControlPaused bool + CurrentVersion string + Phase ClusterPhase + Reason string + Size int + func (cs *ClusterStatus) AppendScalingDownCondition(from, to int) + func (cs *ClusterStatus) AppendScalingUpCondition(from, to int) + func (cs *ClusterStatus) AppendUpgradingCondition(from, to string) + func (cs *ClusterStatus) Control() + func (cs *ClusterStatus) IsFailed() bool + func (cs *ClusterStatus) PauseControl() + func (cs *ClusterStatus) SetCurrentVersion(v string) + func (cs *ClusterStatus) SetPhase(p ClusterPhase) + func (cs *ClusterStatus) SetReadyCondition() + func (cs *ClusterStatus) SetReason(r string) + func (cs *ClusterStatus) SetSize(size int) + func (cs ClusterStatus) Copy() ClusterStatus + func (in *ClusterStatus) DeepCopy() *ClusterStatus + func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) + type ExtraRoute struct + Cluster string + Route string + func (in *ExtraRoute) DeepCopy() *ExtraRoute + func (in *ExtraRoute) DeepCopyInto(out *ExtraRoute) + type GatewayConfig struct + Gateways []*RemoteGatewayOpts + Name string + Port int + func (in *GatewayConfig) DeepCopy() *GatewayConfig + func (in *GatewayConfig) DeepCopyInto(out *GatewayConfig) + type LeafNodeConfig struct + Port int + func (in *LeafNodeConfig) DeepCopy() *LeafNodeConfig + func (in *LeafNodeConfig) DeepCopyInto(out *LeafNodeConfig) + type NatsCluster struct + Spec ClusterSpec + Status ClusterStatus + func (c *NatsCluster) AsOwner() metav1.OwnerReference + func (c *NatsCluster) GetClientAuthSecretResourceVersion() string + func (c *NatsCluster) GetGroupVersionKind() schema.GroupVersionKind + func (c *NatsCluster) GetNatsServiceRolesHash() string + func (c *NatsCluster) SetClientAuthSecretResourceVersion(v string) + func (c *NatsCluster) SetNatsServiceRolesHash(v string) + func (in *NatsCluster) DeepCopy() *NatsCluster + func (in *NatsCluster) DeepCopyInto(out *NatsCluster) + func (in *NatsCluster) DeepCopyObject() runtime.Object + type NatsClusterList struct + Items []NatsCluster + func (in *NatsClusterList) DeepCopy() *NatsClusterList + func (in *NatsClusterList) DeepCopyInto(out *NatsClusterList) + func (in *NatsClusterList) DeepCopyObject() runtime.Object + type NatsServiceRole struct + Spec ServiceRoleSpec + func (c *NatsServiceRole) AsOwner() metav1.OwnerReference + func (in *NatsServiceRole) DeepCopy() *NatsServiceRole + func (in *NatsServiceRole) DeepCopyInto(out *NatsServiceRole) + func (in *NatsServiceRole) DeepCopyObject() runtime.Object + type NatsServiceRoleList struct + Items []NatsServiceRole + func (in *NatsServiceRoleList) DeepCopy() *NatsServiceRoleList + func (in *NatsServiceRoleList) DeepCopyInto(out *NatsServiceRoleList) + func (in *NatsServiceRoleList) DeepCopyObject() runtime.Object + type OperatorConfig struct + Resolver string + Secret string + SystemAccount string + func (in *OperatorConfig) DeepCopy() *OperatorConfig + func (in *OperatorConfig) DeepCopyInto(out *OperatorConfig) + type Permissions struct + Publish []string + Subscribe []string + func (in *Permissions) DeepCopy() *Permissions + func (in *Permissions) DeepCopyInto(out *Permissions) + type PodPolicy struct + AdvertiseExternalIP bool + Annotations map[string]string + AntiAffinity bool + BootConfigContainerImage string + BootConfigContainerImageTag string + EnableClientsHostPort bool + EnableConfigReload bool + EnableMetrics bool + Labels map[string]string + MetricsImage string + MetricsImagePullPolicy string + MetricsImageTag string + NatsEnv []v1.EnvVar + NodeSelector map[string]string + ReloaderImage string + ReloaderImagePullPolicy string + ReloaderImageTag string + Resources v1.ResourceRequirements + Tolerations []v1.Toleration + VolumeMounts []v1.VolumeMount + func (in *PodPolicy) DeepCopy() *PodPolicy + func (in *PodPolicy) DeepCopyInto(out *PodPolicy) + type RemoteGatewayOpts struct + Name string + URL string + func (in *RemoteGatewayOpts) DeepCopy() *RemoteGatewayOpts + func (in *RemoteGatewayOpts) DeepCopyInto(out *RemoteGatewayOpts) + type ServerConfig struct + Debug bool + DisableLogtime bool + MaxConnections int + MaxControlLine int + MaxPayload int + MaxPending int + MaxSubscriptions int + Trace bool + WriteDeadline string + func (in *ServerConfig) DeepCopy() *ServerConfig + func (in *ServerConfig) DeepCopyInto(out *ServerConfig) + type ServiceRoleSpec struct + Permissions Permissions + func (in *ServiceRoleSpec) DeepCopy() *ServiceRoleSpec + func (in *ServiceRoleSpec) DeepCopyInto(out *ServiceRoleSpec) + type TLSConfig struct + ClientsTLSTimeout float64 + EnableHttps bool + GatewaySecret string + GatewaySecretCAFileName string + GatewaySecretCertFileName string + GatewaySecretKeyFileName string + GatewaysTLSTimeout float64 + LeafnodeSecret string + LeafnodeSecretCAFileName string + LeafnodeSecretCertFileName string + LeafnodeSecretKeyFileName string + LeafnodesTLSTimeout float64 + RoutesSecret string + RoutesSecretCAFileName string + RoutesSecretCertFileName string + RoutesSecretKeyFileName string + RoutesTLSTimeout float64 + ServerSecret string + ServerSecretCAFileName string + ServerSecretCertFileName string + ServerSecretKeyFileName string + Verify bool + func (in *TLSConfig) DeepCopy() *TLSConfig + func (in *TLSConfig) DeepCopyInto(out *TLSConfig) v0.2.0-m2 Aug 7, 2019 v0.2.0-m1 Jul 8, 2019 v0.2.0-beta Sep 12, 2019 v0.2.0-alpha Aug 29, 2019