tinkerbell

package
v0.0.0-...-c12f3af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientService

func ClientService(secret []byte) (interface{}, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL