client

package
v0.0.0-...-a9e7626 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShortlinkClientAuth

type ShortlinkClientAuth struct {
	// contains filtered or unexported fields
}

func NewAuthenticatedShortlinkClient

func NewAuthenticatedShortlinkClient(log *logr.Logger, tracer trace.Tracer, client *shortlinkClient.ShortlinkClient) *ShortlinkClientAuth

func (*ShortlinkClientAuth) Create

func (c *ShortlinkClientAuth) Create(ct context.Context, username string, shortLink *v1alpha1.ShortLink) error

func (*ShortlinkClientAuth) Delete

func (c *ShortlinkClientAuth) Delete(ct context.Context, username string, shortLink *v1alpha1.ShortLink) error

func (*ShortlinkClientAuth) Get

func (c *ShortlinkClientAuth) Get(ct context.Context, username string, name string) (*v1alpha1.ShortLink, error)

func (*ShortlinkClientAuth) List

func (*ShortlinkClientAuth) Update

func (c *ShortlinkClientAuth) Update(ct context.Context, username string, shortLink *v1alpha1.ShortLink) error

Jump to

Keyboard shortcuts

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