Documentation
¶
Index ¶
- func ParseServiceFromYaml(yml string) (*v1.Service, error)
- type Client
- func (c *Client) CreateService(ctx context.Context, req *v1.Service) (*v1.Service, error)
- func (c *Client) DeleteService(ctx context.Context, req *meta.DeleteRequest) error
- func (c *Client) GetService(ctx context.Context, req *meta.GetRequest) (*v1.Service, error)
- func (c *Client) ListIngress(ctx context.Context, req *meta.ListRequest) (*v1.IngressList, error)
- func (c *Client) ListService(ctx context.Context, req *meta.ListRequest) (*v1.ServiceList, error)
- func (c *Client) Run(ctx context.Context, yml string) (*v1.Service, error)
- func (c *Client) UpdateService(ctx context.Context, req *v1.Service) (*v1.Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewNetwork ¶
func NewNetwork(cs *kubernetes.Clientset) *Client
func (*Client) CreateService ¶
func (*Client) DeleteService ¶
func (*Client) GetService ¶
func (*Client) ListIngress ¶
func (c *Client) ListIngress(ctx context.Context, req *meta.ListRequest) (*v1.IngressList, error)
func (*Client) ListService ¶
func (c *Client) ListService(ctx context.Context, req *meta.ListRequest) (*v1.ServiceList, error)
Click to show internal directories.
Click to hide internal directories.