Documentation
¶
Overview ¶
Package resources provides the resources utilities for the client.
Package resources provides the resources utilities for the client.
Package resources provides the resources utilities for the client.
Package resources provides the resources utilities for the client.
Package resources provides the resources utilities for the client.
Index ¶
- Constants
- func ApplyCustomData(cmd *cobra.Command, s *general.Spec) error
- func ApplyCustomDataKind(cmd *cobra.Command, s *general.Spec) error
- func ApplyObject(cmd *cobra.Command, s *general.Spec) error
- func CreateCustomData(cmd *cobra.Command, s *general.Spec) error
- func CreateCustomDataKind(cmd *cobra.Command, s *general.Spec) error
- func CreateObject(cmd *cobra.Command, s *general.Spec) error
- func CustomData() *api.APIResource
- func CustomDataKind() *api.APIResource
- func DeleteCustomData(cmd *cobra.Command, cdk string, names []string, all bool) error
- func DeleteCustomDataKind(cmd *cobra.Command, names []string, all bool) error
- func DeleteMember(_ *cobra.Command, names []string) error
- func DeleteObject(cmd *cobra.Command, kind string, names []string, all bool) error
- func DescribeCustomData(cmd *cobra.Command, args *general.ArgInfo) error
- func DescribeCustomDataKind(cmd *cobra.Command, args *general.ArgInfo) error
- func DescribeMember(_ *cobra.Command, args *general.ArgInfo) error
- func DescribeObject(cmd *cobra.Command, args *general.ArgInfo, kind string) error
- func GetAllObject(cmd *cobra.Command) error
- func GetCustomData(cmd *cobra.Command, args *general.ArgInfo) error
- func GetCustomDataKind(cmd *cobra.Command, args *general.ArgInfo) error
- func GetMember(_ *cobra.Command, args *general.ArgInfo) (err error)
- func GetObject(cmd *cobra.Command, args *general.ArgInfo, kind string) error
- func GetResourceKind(arg string) (string, error)
- func Member() *api.APIResource
- func ObjectAPIResources() ([]*api.APIResource, error)
- type NodeStatus
- type ObjectStatus
Constants ¶
const MemberKind = "Member"
MemberKind is the kind of the member.
Variables ¶
This section is empty.
Functions ¶
func ApplyCustomData ¶
ApplyCustomData applies the custom data.
func ApplyCustomDataKind ¶
ApplyCustomDataKind applies the custom data kind.
func ApplyObject ¶
ApplyObject applies an object.
func CreateCustomData ¶
CreateCustomData creates the custom data.
func CreateCustomDataKind ¶
CreateCustomDataKind creates the custom data kind.
func CreateObject ¶
CreateObject creates an object.
func CustomDataKind ¶
func CustomDataKind() *api.APIResource
CustomDataKind is CustomDataKind resource.
func DeleteCustomData ¶
DeleteCustomData deletes the custom data.
func DeleteCustomDataKind ¶
DeleteCustomDataKind deletes the custom data kind.
func DeleteMember ¶
DeleteMember deletes the member.
func DeleteObject ¶
DeleteObject deletes an object.
func DescribeCustomData ¶
DescribeCustomData describes the custom data.
func DescribeCustomDataKind ¶
DescribeCustomDataKind describes the custom data kind.
func DescribeMember ¶
DescribeMember describes the member.
func DescribeObject ¶
DescribeObject describes an object.
func GetCustomData ¶
GetCustomData gets the custom data.
func GetCustomDataKind ¶
GetCustomDataKind returns the custom data kind.
func GetResourceKind ¶
GetResourceKind returns the kind of the resource.
func ObjectAPIResources ¶
func ObjectAPIResources() ([]*api.APIResource, error)
ObjectAPIResources returns the object api resources.
Types ¶
type NodeStatus ¶
NodeStatus is the status of a node.
type ObjectStatus ¶
type ObjectStatus struct {
Spec map[string]interface{} `json:"spec"`
Status map[string]interface{} `json:"status"`
}
ObjectStatus is the status of an object.