api

package
v3.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Actions

type Actions struct {
	*base.Base
	Info *info.Actions
}

func (*Actions) Get added in v3.0.1

func (t *Actions) Get() *Actions

func (*Actions) New

func (t *Actions) New(property *base.Property) *Actions

func (*Actions) Set added in v3.0.1

func (t *Actions) Set(enable bool) *Actions

type Archived

type Archived struct {
	*base.Base
	Info info.Archived
}

func (*Archived) Get added in v3.0.1

func (t *Archived) Get() *Archived

func (*Archived) New

func (t *Archived) New(property *base.Property) *Archived

func (*Archived) Set added in v3.0.1

func (t *Archived) Set(enable bool) *Archived

type Description

type Description struct {
	*base.Base
	Info info.Description
}

Github repository description structure

func (*Description) Get added in v3.0.1

func (t *Description) Get() *Description

func (*Description) New

func (t *Description) New(property *base.Property) *Description

func (*Description) Set added in v3.0.1

func (t *Description) Set(description string) *Description

type Discussions

type Discussions struct {
	*base.Base
	Info info.Discussions
}

Github repository Discussions structure

func (*Discussions) Get added in v3.0.1

func (t *Discussions) Get() *Discussions

func (*Discussions) New

func (t *Discussions) New(property *base.Property) *Discussions

func (*Discussions) Set added in v3.0.1

func (t *Discussions) Set(enable bool) *Discussions

type EncryptedPair

type EncryptedPair struct {
	*base.Base
	Info info.EncryptedPair
	// contains filtered or unexported fields
}

Github repository action secret structure Do() handles public key

func (*EncryptedPair) Do added in v3.0.5

func (t *EncryptedPair) Do() *base.Base

Do() handles public key

func (*EncryptedPair) New

func (t *EncryptedPair) New(property *base.Property) *EncryptedPair

func (*EncryptedPair) Set added in v3.0.1

func (t *EncryptedPair) Set(name, value string) *EncryptedPair

type IApi

type IApi interface {
	Do() *base.Base
	Err() *string
	Name() string
	Ok() bool
	Output() *string
	Repo() *string
}

gitapi interface

type Info

type Info struct {
	*base.Base
}

Github repository(creation) info structure

func (*Info) Get added in v3.0.1

func (t *Info) Get() *Info

func (*Info) New

func (t *Info) New(property *base.Property) *Info

type InfoList added in v3.0.1

type InfoList struct {
	*base.Base
	Info info.InfoList
}

Github repository(creation) info structure

func (*InfoList) Get added in v3.0.1

func (t *InfoList) Get() *InfoList

func (*InfoList) New added in v3.0.1

func (t *InfoList) New(property *base.Property, page int) *InfoList

type Private

type Private struct {
	*base.Base
	Info info.Private
}

Github repository private structure

func (*Private) Get added in v3.0.1

func (t *Private) Get() *Private

func (*Private) New

func (t *Private) New(property *base.Property) *Private

func (*Private) Set added in v3.0.1

func (t *Private) Set(enable bool) *Private

type Projects

type Projects struct {
	*base.Base
	Info info.Projects
}

Github repository has_projects structure

func (*Projects) Get added in v3.0.1

func (t *Projects) Get() *Projects

func (*Projects) New

func (t *Projects) New(property *base.Property) *Projects

func (*Projects) Set added in v3.0.1

func (t *Projects) Set(enable bool) *Projects

type PublicKey

type PublicKey struct {
	*base.Base
	Info info.PublicKey
}

Github repository public key structure

func (*PublicKey) Get added in v3.0.1

func (t *PublicKey) Get() *PublicKey

func (*PublicKey) New

func (t *PublicKey) New(property *base.Property) *PublicKey

type Repo added in v3.0.1

type Repo struct {
	*base.Base
	Info info.Info
}

Github repository(creation) info structure

func (*Repo) Create added in v3.0.2

func (t *Repo) Create() *Repo

Set action: create

func (*Repo) Del added in v3.0.1

func (t *Repo) Del() *Repo

Set action: delete

func (*Repo) DelSecret added in v3.0.1

func (t *Repo) DelSecret(secret string) *Repo

func (*Repo) New added in v3.0.1

func (t *Repo) New(property *base.Property) *Repo

type Topics

type Topics struct {
	*base.Base
	Info info.Topics
}

Github repository topics structure

func (*Topics) Get added in v3.0.1

func (t *Topics) Get() *Topics

func (*Topics) New

func (t *Topics) New(property *base.Property) *Topics

func (*Topics) Set added in v3.0.1

func (t *Topics) Set() *Topics

type Visibility

type Visibility struct {
	*base.Base
	Info info.Visibility
}

Github repository visibility structure

func (*Visibility) Get added in v3.0.1

func (t *Visibility) Get() *Visibility

func (*Visibility) New

func (t *Visibility) New(property *base.Property) *Visibility

func (*Visibility) Set added in v3.0.1

func (t *Visibility) Set(enable bool) *Visibility

type Wiki

type Wiki struct {
	*base.Base
	Info info.Wiki
}

Github repository Wiki structure

func (*Wiki) Get added in v3.0.1

func (t *Wiki) Get() *Wiki

func (*Wiki) New

func (t *Wiki) New(property *base.Property) *Wiki

func (*Wiki) Set added in v3.0.1

func (t *Wiki) Set(enable bool) *Wiki

Jump to

Keyboard shortcuts

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