enterpriseprojects

package
v0.0.0-...-d823fe1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListOpts

type ListOpts struct {
	Name   string `q:"name"`
	ID     string `q:"id"`
	Status int    `q:"status"`
}

func (ListOpts) ToEnterpriseProjectListQuery

func (opts ListOpts) ToEnterpriseProjectListQuery() (string, error)

type ListOptsBuilder

type ListOptsBuilder interface {
	ToEnterpriseProjectListQuery() (string, error)
}

type ListResult

type ListResult struct {
	golangsdk.Result
}

func List

func (ListResult) Extract

func (r ListResult) Extract() ([]Project, error)

type Project

type Project struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Status      int    `json:"status"`
	CreatedAt   string `json:"created_at"`
	UpdatedAt   string `json:"updated_at"`
	Type        string `json:"type"`
}

type Projects

type Projects struct {
	EnterpriseProjects []Project `json:"enterprise_projects"`
	TotalCount         int       `json:"total_count"`
}

Jump to

Keyboard shortcuts

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