info

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: 3 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 {
	Enabled bool `json:"enabled"`
	Has     bool `json:"has_actions"`
}

Gitea repository Actions structure

func (*Actions) Set added in v3.0.4

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

func (*Actions) String

func (t *Actions) String() string

func (*Actions) StringP

func (t *Actions) StringP() *string

type Archived

type Archived struct {
	Archived bool `json:"archived"`
}

func (*Archived) String

func (t *Archived) String() string

func (*Archived) StringP

func (t *Archived) StringP() *string

type Description

type Description struct {
	Description string `json:"description"`
}

Github repository description structure

func (*Description) String

func (t *Description) String() string

func (*Description) StringP

func (t *Description) StringP() *string

type Discussions

type Discussions struct {
	Has bool `json:"has_discussions"`
}

Github repository Discussions structure

func (*Discussions) String

func (t *Discussions) String() string

func (*Discussions) StringP

func (t *Discussions) StringP() *string

type EncryptedPair

type EncryptedPair struct {
	Encrypted_value string `json:"encrypted_value"` // Encrypted value
	Key_id          string `json:"key_id"`          // Public key id
}

Github repository action secret structure

func (*EncryptedPair) String

func (t *EncryptedPair) String() string

func (*EncryptedPair) StringP

func (t *EncryptedPair) StringP() *string

type IInfo

type IInfo restapi.IInfo

type Info

type Info struct {
	Name    string `json:"name"`
	Private bool   `json:"private"`
}

Github repository(creation) info structure

func (*Info) String

func (t *Info) String() string

func (*Info) StringP

func (t *Info) StringP() *string

type InfoList

type InfoList []Info

Github repository(creation) info array

func (*InfoList) String

func (t *InfoList) String() string

func (*InfoList) StringP

func (t *InfoList) StringP() *string

type Private

type Private struct {
	Private bool `json:"private"`
}

Github repository private structure

func (*Private) String

func (t *Private) String() string

func (*Private) StringP

func (t *Private) StringP() *string

type Projects

type Projects struct {
	Has bool `json:"has_projects"`
}

Github repository has_projects structure

func (*Projects) String

func (t *Projects) String() string

func (*Projects) StringP

func (t *Projects) StringP() *string

type PublicKey

type PublicKey struct {
	Key_id string `json:"key_id"`
	Key    string `json:"key"`
}

Github repository public key structure

func (*PublicKey) String

func (t *PublicKey) String() string

func (*PublicKey) StringP

func (t *PublicKey) StringP() *string

type Topics

type Topics struct {
	Topics *[]string `json:"topics"` // Github topics is "Topics"
	Names  *[]string `json:"names"`  // Gitea topics is "Names"
}

Github repository topics structure

func (*Topics) String

func (t *Topics) String() string

func (*Topics) StringP

func (t *Topics) StringP() *string

type Visibility

type Visibility struct {
	Visibility string `json:"visibility"`
}

Github repository visibility structure

func (*Visibility) String

func (t *Visibility) String() string

func (*Visibility) StringP

func (t *Visibility) StringP() *string

type Wiki

type Wiki struct {
	Has bool `json:"has_wiki"`
}

Github repository Wiki structure

func (*Wiki) String

func (t *Wiki) String() string

func (*Wiki) StringP

func (t *Wiki) StringP() *string

Jump to

Keyboard shortcuts

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