Documentation ¶
Overview ¶
Package v1alpha1 implements a Kubernetes CRD, and controller for LogicMonitor chartmgrs. +k8s:deepcopy-gen=package +groupName=chartmanagers.logicmonitor.com
Index ¶
- Constants
- Variables
- func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFuncdeprecated
- func Resource(resource string) schema.GroupResource
- type ChartManager
- type ChartManagerList
- type ChartMgrChart
- type ChartMgrChartRepository
- type ChartMgrOptions
- type ChartMgrRelease
- type ChartMgrSpec
- type ChartMgrState
- type ChartMgrStatus
- type ChartMgrValuePair
Constants ¶
const GroupName = "logicmonitor.com"
GroupName is the group name used in this package.
Variables ¶
var ( // SchemeBuilder is a SchemeBuilder. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is the SchemeBuilder AddToScheme function. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is the group version used to register these objects.
Functions ¶
func GetGeneratedDeepCopyFuncs
deprecated
func GetGeneratedDeepCopyFuncs() []conversion.GeneratedDeepCopyFunc
GetGeneratedDeepCopyFuncs returns the generated funcs, since we aren't registering them.
Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
Types ¶
type ChartManager ¶
type ChartManager struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` Spec ChartMgrSpec `json:"spec,omitempty"` Status ChartMgrStatus `json:"status,omitempty"` }
ChartManager represents the chartmgr in Kubernetes. +genclient +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ChartManager) DeepCopy ¶
func (in *ChartManager) DeepCopy() *ChartManager
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartManager.
func (*ChartManager) DeepCopyInto ¶
func (in *ChartManager) DeepCopyInto(out *ChartManager)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChartManager) DeepCopyObject ¶
func (in *ChartManager) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChartManagerList ¶
type ChartManagerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ChartManager `json:"items"` }
ChartManagerList represents a list of chartmgrs. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*ChartManagerList) DeepCopy ¶
func (in *ChartManagerList) DeepCopy() *ChartManagerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartManagerList.
func (*ChartManagerList) DeepCopyInto ¶
func (in *ChartManagerList) DeepCopyInto(out *ChartManagerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ChartManagerList) DeepCopyObject ¶
func (in *ChartManagerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ChartMgrChart ¶
type ChartMgrChart struct { Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` Repository *ChartMgrChartRepository `json:"repository,omitempty"` }
ChartMgrChart represents the chartmgr controller's chart definition
func (*ChartMgrChart) DeepCopy ¶
func (in *ChartMgrChart) DeepCopy() *ChartMgrChart
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMgrChart.
func (*ChartMgrChart) DeepCopyInto ¶
func (in *ChartMgrChart) DeepCopyInto(out *ChartMgrChart)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartMgrChartRepository ¶
type ChartMgrChartRepository struct { Name string `json:"name,omitempty"` URL string `json:"url,omitempty"` }
ChartMgrChartRepository represents the chartmgr controller's chart repository definition
func (*ChartMgrChartRepository) DeepCopy ¶
func (in *ChartMgrChartRepository) DeepCopy() *ChartMgrChartRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMgrChartRepository.
func (*ChartMgrChartRepository) DeepCopyInto ¶
func (in *ChartMgrChartRepository) DeepCopyInto(out *ChartMgrChartRepository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartMgrOptions ¶
type ChartMgrOptions struct {
CreateOnly bool `json:"createOnly,omitempty"`
}
ChartMgrOptions represents the chartmgr configuration options
func (*ChartMgrOptions) DeepCopy ¶
func (in *ChartMgrOptions) DeepCopy() *ChartMgrOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMgrOptions.
func (*ChartMgrOptions) DeepCopyInto ¶
func (in *ChartMgrOptions) DeepCopyInto(out *ChartMgrOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartMgrRelease ¶
type ChartMgrRelease struct {
Name string `json:"name,omitempty"`
}
ChartMgrRelease represents the chartmgr controller's helm release definition
func (*ChartMgrRelease) DeepCopy ¶
func (in *ChartMgrRelease) DeepCopy() *ChartMgrRelease
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMgrRelease.
func (*ChartMgrRelease) DeepCopyInto ¶
func (in *ChartMgrRelease) DeepCopyInto(out *ChartMgrRelease)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartMgrSpec ¶
type ChartMgrSpec struct { Chart *ChartMgrChart `json:"chart,omitempty"` Options *ChartMgrOptions `json:"options,omitempty"` Release *ChartMgrRelease `json:"release,omitempty"` Values []*ChartMgrValuePair `json:"values,omitempty"` }
ChartMgrSpec represents the chartmgr controller's spec.
func (*ChartMgrSpec) DeepCopy ¶
func (in *ChartMgrSpec) DeepCopy() *ChartMgrSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMgrSpec.
func (*ChartMgrSpec) DeepCopyInto ¶
func (in *ChartMgrSpec) DeepCopyInto(out *ChartMgrSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartMgrState ¶
type ChartMgrState string
ChartMgrState is the ChartMgr controller's state string.
const ( // ChartMgrResourcePlural is the plural for the CRD. ChartMgrResourcePlural = "chartmanagers" // ChartMgrResourceShortNameSingular is the short name for the CRD. ChartMgrResourceShortNameSingular = "chartmgr" // ChartMgrResourceShortNamePlural is the short name for multiple CRDs. ChartMgrResourceShortNamePlural = "chartmgrs" // ChartMgrStateUnknown indicates that a release is in an uncertain state. ChartMgrStateUnknown ChartMgrState = "Unknown" // ChartMgrStateDeployed indicates that the release has been pushed to Kubernetes. ChartMgrStateDeployed ChartMgrState = "Deployed" // ChartMgrStateDeleted indicates that a release has been deleted from Kubermetes. ChartMgrStateDeleted ChartMgrState = "Deleted" // ChartMgrStateSuperseded indicates that this release object is outdated and a newer one exists. ChartMgrStateSuperseded ChartMgrState = "Superseded" // ChartMgrStateFailed indicates that the release was not successfully deployed. ChartMgrStateFailed ChartMgrState = "Failed" // ChartMgrStateDeleting indicates that a delete operation is underway. ChartMgrStateDeleting ChartMgrState = "Deleting" // ChartMgrStatePendingInstall indicates that an install operation is underway. ChartMgrStatePendingInstall ChartMgrState = "PendingInstall" // ChartMgrStatePendingUpgrade indicates that an upgrade operation is underway. ChartMgrStatePendingUpgrade ChartMgrState = "PendingUpgrade" // ChartMgrStatePendingRollback indicates that an rollback operation is underway. ChartMgrStatePendingRollback ChartMgrState = "PendingRollback" )
type ChartMgrStatus ¶
type ChartMgrStatus struct { State ChartMgrState `json:"state,omitempty"` ReleaseName string `json:"release,omitempty"` Message string `json:"message,omitempty"` }
ChartMgrStatus is the ChartMgr controller's status.
func (*ChartMgrStatus) DeepCopy ¶
func (in *ChartMgrStatus) DeepCopy() *ChartMgrStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMgrStatus.
func (*ChartMgrStatus) DeepCopyInto ¶
func (in *ChartMgrStatus) DeepCopyInto(out *ChartMgrStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartMgrValuePair ¶
type ChartMgrValuePair struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` }
ChartMgrValuePair represents an chartmgr controller name/value pair
func (*ChartMgrValuePair) DeepCopy ¶
func (in *ChartMgrValuePair) DeepCopy() *ChartMgrValuePair
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartMgrValuePair.
func (*ChartMgrValuePair) DeepCopyInto ¶
func (in *ChartMgrValuePair) DeepCopyInto(out *ChartMgrValuePair)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.