Documentation
¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, arg *ngrok.SSHCertificateAuthorityCreate) (*ngrok.SSHCertificateAuthority, error)
- func (c *Client) Delete(ctx context.Context, id string) error
- func (c *Client) Get(ctx context.Context, id string) (*ngrok.SSHCertificateAuthority, error)
- func (c *Client) List(paging *ngrok.Paging) ngrok.Iter[*ngrok.SSHCertificateAuthority]
- func (c *Client) Update(ctx context.Context, arg *ngrok.SSHCertificateAuthorityUpdate) (*ngrok.SSHCertificateAuthority, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(cfg *ngrok.ClientConfig) *Client
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, arg *ngrok.SSHCertificateAuthorityCreate) (*ngrok.SSHCertificateAuthority, error)
Create a new SSH Certificate Authority
https://ngrok.com/docs/api#api-ssh-certificate-authorities-create
func (*Client) Delete ¶
Delete an SSH Certificate Authority
https://ngrok.com/docs/api#api-ssh-certificate-authorities-delete
func (*Client) Get ¶
Get detailed information about an SSH Certificate Authority
https://ngrok.com/docs/api#api-ssh-certificate-authorities-get
func (*Client) List ¶
List all SSH Certificate Authorities on this account
https://ngrok.com/docs/api#api-ssh-certificate-authorities-list
func (*Client) Update ¶
func (c *Client) Update(ctx context.Context, arg *ngrok.SSHCertificateAuthorityUpdate) (*ngrok.SSHCertificateAuthority, error)
Update an SSH Certificate Authority
https://ngrok.com/docs/api#api-ssh-certificate-authorities-update
Click to show internal directories.
Click to hide internal directories.