Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resource ¶
type Resource struct {
URL string `json:"Url"`
Credentials credentials.GitCredential `json:"Credentials"`
DefaultBranch string `json:"DefaultBranch"`
BasePath string `json:"BasePath"`
}
Resource represents Platform Hub version control settings
func NewResource ¶
func NewResource(url string, creds credentials.GitCredential, defaultBranch string, basePath string) *Resource
NewResource creates a new Platform Hub version control settings resource
func (*Resource) UnmarshalJSON ¶
UnmarshalJSON sets the resource to its representation in JSON
Click to show internal directories.
Click to hide internal directories.