Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAddrMiss = Error{"customhttp: inetaddr miss"} ErrInvalidAddr = Error{"customhttp: invalid inetaddr"} )
Functions ¶
func GetDefaultConfig ¶
func NewClientSet ¶
func NewClientSet(addr string, config *Config) (*kubernetes.Clientset, error)
Types ¶
type InetRESTClient ¶
type InetRESTClient struct { *RESTClient // contains filtered or unexported fields }
func NewInetRESTClient ¶
func NewInetRESTClient(addr string, config *Config) (*InetRESTClient, error)
func (*InetRESTClient) Delete ¶
func (c *InetRESTClient) Delete() *Request
func (*InetRESTClient) Get ¶
func (c *InetRESTClient) Get() *Request
func (*InetRESTClient) Patch ¶
func (c *InetRESTClient) Patch(pt types.PatchType) *Request
func (*InetRESTClient) Post ¶
func (c *InetRESTClient) Post() *Request
func (*InetRESTClient) Put ¶
func (c *InetRESTClient) Put() *Request
func (*InetRESTClient) Verb ¶
func (c *InetRESTClient) Verb(verb string) *Request
Click to show internal directories.
Click to hide internal directories.