accesskeys

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessKeyContent

type AccessKeyContent struct {
	Id             string                `json:"id,omitempty"`
	Expiry         int64                 `json:"expiry,omitempty"`
	ExistenceCheck ExistenceCheckContent `json:"existence_check,omitempty"`
	WhiteCidrs     []string              `json:"white_cidrs,omitempty"`
	BlackCidrs     []string              `json:"black_cidrs,omitempty"`
	ApiOnly        bool                  `json:"api_only"`
}

type AccessKeysService

type AccessKeysService struct {
	BintrayDetails auth.BintrayDetails
	// contains filtered or unexported fields
}

func NewService

func NewService(client *httpclient.HttpClient) *AccessKeysService

func (*AccessKeysService) Create

func (aks *AccessKeysService) Create(params *Params) error

func (*AccessKeysService) Delete

func (aks *AccessKeysService) Delete(org, id string) error

func (*AccessKeysService) Show

func (aks *AccessKeysService) Show(org, id string) error

func (*AccessKeysService) ShowAll

func (aks *AccessKeysService) ShowAll(org string) error

func (*AccessKeysService) Update

func (aks *AccessKeysService) Update(params *Params) error

type ExistenceCheckContent

type ExistenceCheckContent struct {
	Url            string `json:"url,omitempty"`
	Cache_for_secs int    `json:"cache_for_secs,omitempty"`
}

type Params

type Params struct {
	Id                  string
	Password            string
	Org                 string
	Expiry              int64
	ExistenceCheckUrl   string
	ExistenceCheckCache int
	WhiteCidrs          string
	BlackCidrs          string
	ApiOnly             bool
}

func NewAccessKeysParams

func NewAccessKeysParams() *Params

Jump to

Keyboard shortcuts

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