Documentation ¶
Index ¶
- Variables
- func ConfigureScheme(GroupName string, GroupVersion string)
- type KuberhealthyState
- type KuberhealthyStateClient
- func (c *KuberhealthyStateClient) Create(state *KuberhealthyState, resource string) (*KuberhealthyState, error)
- func (c *KuberhealthyStateClient) Delete(state *KuberhealthyState, resource string, name string) (*KuberhealthyState, error)
- func (c *KuberhealthyStateClient) Get(opts metav1.GetOptions, resource string, name string) (*KuberhealthyState, error)
- func (c *KuberhealthyStateClient) List(opts metav1.ListOptions, resource string) (*KuberhealthyStateList, error)
- func (c *KuberhealthyStateClient) Update(state *KuberhealthyState, resource string, name string) (*KuberhealthyState, error)
- type KuberhealthyStateList
Constants ¶
This section is empty.
Variables ¶
var SchemeGroupVersion schema.GroupVersion
Functions ¶
func ConfigureScheme ¶
ConfigureScheme configures the runtime scheme for use with CRD creation
Types ¶
type KuberhealthyState ¶
type KuberhealthyState struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec health.CheckDetails `json:"spec"` }
func NewKuberhealthyState ¶
func NewKuberhealthyState(name string, spec health.CheckDetails) KuberhealthyState
NewKuberhealthyState creates a KuberhealthyState struct which represents the data inside a KuberHealthyCheck resource
func (KuberhealthyState) DeepCopyInto ¶
func (h KuberhealthyState) DeepCopyInto(out *KuberhealthyState)
DeepCopyInto copies all properties of this object into another object of the same type that is provided as a pointer.
func (KuberhealthyState) DeepCopyObject ¶
func (h KuberhealthyState) DeepCopyObject() runtime.Object
DeepCopyObject returns a generically typed copy of an object
func (KuberhealthyState) String ¶
func (h KuberhealthyState) String() string
String satisfies the stringer interface for cleaner output when printing
type KuberhealthyStateClient ¶
type KuberhealthyStateClient struct {
// contains filtered or unexported fields
}
func Client ¶
func Client(GroupName string, GroupVersion string, kubeConfig string) (*KuberhealthyStateClient, error)
Client creates a rest client to use for interacting with CRDs
func (*KuberhealthyStateClient) Create ¶
func (c *KuberhealthyStateClient) Create(state *KuberhealthyState, resource string) (*KuberhealthyState, error)
func (*KuberhealthyStateClient) Delete ¶
func (c *KuberhealthyStateClient) Delete(state *KuberhealthyState, resource string, name string) (*KuberhealthyState, error)
func (*KuberhealthyStateClient) Get ¶
func (c *KuberhealthyStateClient) Get(opts metav1.GetOptions, resource string, name string) (*KuberhealthyState, error)
func (*KuberhealthyStateClient) List ¶
func (c *KuberhealthyStateClient) List(opts metav1.ListOptions, resource string) (*KuberhealthyStateList, error)
func (*KuberhealthyStateClient) Update ¶
func (c *KuberhealthyStateClient) Update(state *KuberhealthyState, resource string, name string) (*KuberhealthyState, error)
type KuberhealthyStateList ¶
type KuberhealthyStateList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Items []KuberhealthyState `json:"items"` }
func (*KuberhealthyStateList) DeepCopyInto ¶
func (h *KuberhealthyStateList) DeepCopyInto(out *KuberhealthyStateList)
DeepCopyInto copies all properties of this object into another object of the same type that is provided as a pointer.
func (*KuberhealthyStateList) DeepCopyObject ¶
func (h *KuberhealthyStateList) DeepCopyObject() runtime.Object
DeepCopyObject returns a generically typed copy of an object