accesscode

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessCodeClient

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

func NewAccessCodeClient

func NewAccessCodeClient(hfClientset hfClientset.Interface, ctx context.Context) (*AccessCodeClient, error)

func (AccessCodeClient) GetAccessCode

func (acc AccessCodeClient) GetAccessCode(code string, expiredOk bool) (hfv1.AccessCode, error)

func (AccessCodeClient) GetAccessCodes

func (acc AccessCodeClient) GetAccessCodes(codes []string, expiredOk bool) ([]hfv1.AccessCode, error)

func (AccessCodeClient) GetClosestAccessCode added in v0.1.8

func (acc AccessCodeClient) GetClosestAccessCode(userID string, scenarioOrCourseId string) (string, error)

func (AccessCodeClient) GetCourseIds added in v0.1.8

func (acc AccessCodeClient) GetCourseIds(code string) ([]string, error)

func (AccessCodeClient) GetScenarioIds

func (acc AccessCodeClient) GetScenarioIds(code string) ([]string, error)

func (AccessCodeClient) GetSomething

func (acc AccessCodeClient) GetSomething(code string) error

Jump to

Keyboard shortcuts

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