githubsync

package module
v0.0.0-...-1b828cf Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: MIT Imports: 7 Imported by: 0

README

APP Sync

github auto-sync with golang


Set config

This application requires...
still writing....


Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAPI

func CheckAPI(checker string, cluster *ArgoCDinfo)

CheckAPI; sync, create, delete 중 어떤 것인지 확인하고 해당하는 api call을 실행한다. 지금은 일단 sync만 해본다.

func GetApps

func GetApps(cluster *ArgoCDinfo)

GetApps; get all applications in argoCD cluster

func GetToken

func GetToken(cluster *ArgoCDinfo)

func SyncApp

func SyncApp(cluster *ArgoCDinfo, app string)

*********************** SyncApp ************************

Types

type ArgoCDinfo

type ArgoCDinfo struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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