credentials

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Credential

type Credential interface {
	APIVersionString() string
	ToJSON(opts *CredentialOption) ([]byte, error)
}

type CredentialOption

type CredentialOption struct {
	ClientCertificateData string
	ClientKeyData         string
	Token                 string
}

type V1Alpha1

type V1Alpha1 struct{}

func (*V1Alpha1) APIVersionString

func (o *V1Alpha1) APIVersionString() string

func (*V1Alpha1) ToJSON

func (o *V1Alpha1) ToJSON(opts *CredentialOption) ([]byte, error)

type V1Beta1

type V1Beta1 struct{}

func (*V1Beta1) APIVersionString

func (o *V1Beta1) APIVersionString() string

func (*V1Beta1) ToJSON

func (o *V1Beta1) ToJSON(opts *CredentialOption) ([]byte, error)

Jump to

Keyboard shortcuts

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