client

package
v0.0.0-...-13a3504 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Actor

type Actor struct {
	Guid string
	Type string
	Name string
}

type AuditEventModel

type AuditEventModel struct {
	Guid         string
	CreatedAt    string `json:"created_at"`
	UpdatedAt    string `json:"updated_at"`
	Type         string
	Actor        Actor
	Target       Target
	Data         json.RawMessage
	Space        Space
	Organization Organization
	Links        json.RawMessage
}

type AuditEventResponse

type AuditEventResponse struct {
	Pagination Pagination
	Resources  []AuditEventModel
}

type AuditServiceBindingCreateData

type AuditServiceBindingCreateData struct {
	Request AuditServiceBindingCreateDataRequest
}

type AuditServiceBindingCreateDataRelationship

type AuditServiceBindingCreateDataRelationship struct {
	Data RelationShipData
}

type AuditServiceBindingCreateDataRequest

type AuditServiceBindingCreateDataRequest struct {
	Data          string
	Name          string
	Relationships map[string]AuditServiceBindingCreateDataRelationship
}

type AuditServiceBindingDeleteData

type AuditServiceBindingDeleteData struct {
	Request AuditServiceBindingDeleteDataRequest
}

type AuditServiceBindingDeleteDataRequest

type AuditServiceBindingDeleteDataRequest struct {
	AppGuid             string `json:"app_guid"`
	ServiceInstanceGuid string `json:"service_instance_guid"`
}

type CloudFoundryClient

type CloudFoundryClient struct {
	CliConnection plugin.CliConnection
}

func (*CloudFoundryClient) ListAuditEvents

func (c *CloudFoundryClient) ListAuditEvents(request ListAuditEventsRequest) ([]AuditEventModel, error)

type ListAuditEventsRequest

type ListAuditEventsRequest struct {
	Types             []string
	TargetGuids       []string
	SpaceGuids        []string
	OrganizationGuids []string
	Page              int
	PerPage           int
	OrderBy           string
}

type Organization

type Organization struct {
	Organization string
}

type Pagination

type Pagination struct {
	TotalResults int `json:"total_results"`
	TotalPages   int `json:"total_pages"`
}

type RelationShipData

type RelationShipData struct {
	Guid string
}

type Space

type Space struct {
	Guid string
}

type Target

type Target struct {
	Guid string
	Type string
	Name string
}

Jump to

Keyboard shortcuts

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