Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder will initiantiate the scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme will add the scheme to the scheme builder AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{ Group: alert.GroupName, Version: "v1", }
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Alert ¶
type Alert struct {
meta_v1.TypeMeta `json:",inline"`
meta_v1.ObjectMeta `json:"metadata,omitempty"`
Spec AlertSpec `json:"spec"`
Status AlertStatus `json:"status,omitempty"`
}
Alert is a specification for a Alert resource
func (*Alert) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Alert.
func (*Alert) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Alert) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertList ¶
type AlertList struct {
meta_v1.TypeMeta `json:",inline"`
meta_v1.ListMeta `json:"metadata"`
Items []Alert `json:"items"`
}
AlertList is a list of Alert resources
func (*AlertList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertList.
func (*AlertList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AlertList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AlertSpec ¶
type AlertSpec struct {
Namespace string `json:"namespace,omitempty"`
Version string `json:"version,omitempty"`
ExposeService string `json:"exposeService"`
StandAlone *bool `json:"standAlone"`
Port *int32 `json:"port"`
EncryptionPassword string `json:"EncryptionPassword"`
EncryptionGlobalSalt string `json:"EncryptionGlobalSalt"`
Environs []string `json:"environs,omitempty"`
PersistentStorage bool `json:"persistentStorage"`
PVCName string `json:"pvcName"`
PVCStorageClass string `json:"pvcStorageClass"`
// SecurityContexts map[string]api.SecurityContext `json:"securityContexts,omitempty"`
Certificate string `json:"certificate,omitempty"`
CertificateKey string `json:"certificateKey,omitempty"`
JavaKeyStore string `json:"javaKeyStore,omitempty"`
// Should be passed like: e.g "1300Mi"
PVCSize string `json:"pvcSize"`
AlertMemory string `json:"alertMemory,omitempty"`
CfsslMemory string `json:"cfsslMemory,omitempty"`
DesiredState string `json:"desiredState,omitempty"`
ImageRegistries []string `json:"imageRegistries,omitempty"`
RegistryConfiguration *api.RegistryConfiguration `json:"registryConfiguration,omitempty"`
}
AlertSpec is the spec for a Alert resource
func (*AlertSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertSpec.
func (*AlertSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertStatus ¶
AlertStatus is the status for a Alert resource
func (*AlertStatus) DeepCopy ¶
func (in *AlertStatus) DeepCopy() *AlertStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertStatus.
func (*AlertStatus) DeepCopyInto ¶
func (in *AlertStatus) DeepCopyInto(out *AlertStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.