Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientService ¶
ClientService creates a Client using credential bytes
Types ¶
type Client ¶
type Client struct { Params ClientParams // contains filtered or unexported fields }
Client is a Tinkerbell Client
func (*Client) Hardware ¶
func (c *Client) Hardware() hardware.HardwareServiceClient
func (*Client) Template ¶
func (c *Client) Template() template.TemplateServiceClient
func (*Client) Workflow ¶
func (c *Client) Workflow() workflow.WorkflowServiceClient
type ClientParams ¶
type ClientParams struct { GRPCAuthority string `json:"grpc_authority"` CertificateURL string `json:"cert_url"` }
ClientParams specify how to connect to a Tinkerbell service
func (ClientParams) NewClient ¶
func (p ClientParams) NewClient() (*Client, error)
NewClient returns a Client using ClientParams
Click to show internal directories.
Click to hide internal directories.