Documentation ¶
Index ¶
- type ShortlinkClientAuth
- func (c *ShortlinkClientAuth) Create(ct context.Context, username string, shortLink *v1alpha1.ShortLink) error
- func (c *ShortlinkClientAuth) Delete(ct context.Context, username string, shortLink *v1alpha1.ShortLink) error
- func (c *ShortlinkClientAuth) Get(ct context.Context, username string, name string) (*v1alpha1.ShortLink, error)
- func (c *ShortlinkClientAuth) List(ct context.Context, username string) (*v1alpha1.ShortLinkList, error)
- func (c *ShortlinkClientAuth) Update(ct context.Context, username string, shortLink *v1alpha1.ShortLink) error
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) List ¶
func (c *ShortlinkClientAuth) List(ct context.Context, username string) (*v1alpha1.ShortLinkList, error)
Click to show internal directories.
Click to hide internal directories.